summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-01-19 22:53:54 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-01-19 22:53:54 +0000
commit12ccfb3fed83f74864a31269dae80dea920477a8 (patch)
tree1f347bcc8abdbc0f1c47629bf8b222349902b240 /x11-misc/screengrab/screengrab-0.9.ebuild
parentmake mycmakeargs an array (diff)
downloadgentoo-2-12ccfb3fed83f74864a31269dae80dea920477a8.tar.gz
gentoo-2-12ccfb3fed83f74864a31269dae80dea920477a8.tar.bz2
gentoo-2-12ccfb3fed83f74864a31269dae80dea920477a8.zip
Version bump
(Portage version: 2.1.9.33/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/screengrab/screengrab-0.9.ebuild')
-rw-r--r--x11-misc/screengrab/screengrab-0.9.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-misc/screengrab/screengrab-0.9.ebuild b/x11-misc/screengrab/screengrab-0.9.ebuild
new file mode 100644
index 000000000000..fa8b8de2410f
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-0.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.9.ebuild,v 1.1 2011/01/19 22:53:54 hwoarang Exp $
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="Qt tool for geting screenshots"
+HOMEPAGE="http://code.google.com/p/screengrab-qt/"
+SRC_URI="http://screengrab-qt.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # do not install license
+ sed -i "/LICENSE.txt/d" CMakeLists.txt \
+ || die "failed to patch cmakelists"
+ # install docs in the right dir
+ sed -i "s#DESTINATION share/doc/screengrab#DESTINATION share/doc/${PF}#" \
+ CMakeLists.txt || die "failed to patch doc dir"
+ sed -i "s:screengrab%1html:${PF}%1html:" src/ui/mainwindow.cpp || die
+}