summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-04-11 13:26:55 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-04-11 13:26:55 +0000
commitf9b80dddeda26265f52568ba7585ccc764133203 (patch)
tree763dc6e839bbe61901dbce9f1c2c2602644f3b33 /x11-misc/screengrab
parentVersion bump for dev channel release. Experimental SELinux sandbox support (n... (diff)
downloadgentoo-2-f9b80dddeda26265f52568ba7585ccc764133203.tar.gz
gentoo-2-f9b80dddeda26265f52568ba7585ccc764133203.tar.bz2
gentoo-2-f9b80dddeda26265f52568ba7585ccc764133203.zip
version bump
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/screengrab')
-rw-r--r--x11-misc/screengrab/ChangeLog7
-rw-r--r--x11-misc/screengrab/screengrab-0.9.90.ebuild30
2 files changed, 36 insertions, 1 deletions
diff --git a/x11-misc/screengrab/ChangeLog b/x11-misc/screengrab/ChangeLog
index 267c79f9b613..73cf072c25ce 100644
--- a/x11-misc/screengrab/ChangeLog
+++ b/x11-misc/screengrab/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/screengrab
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.20 2012/04/06 12:32:04 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.21 2012/04/11 13:26:55 hwoarang Exp $
+
+*screengrab-0.9.90 (11 Apr 2012)
+
+ 11 Apr 2012; Markos Chandras <hwoarang@gentoo.org> +screengrab-0.9.90.ebuild:
+ version bump
06 Apr 2012; Davide Pesavento <pesa@gentoo.org> -screengrab-0.9.1.ebuild:
Remove old.
diff --git a/x11-misc/screengrab/screengrab-0.9.90.ebuild b/x11-misc/screengrab/screengrab-0.9.90.ebuild
new file mode 100644
index 000000000000..de838b42ab80
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-0.9.90.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.9.90.ebuild,v 1.1 2012/04/11 13:26:55 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 -e "s#DESTINATION share/doc/screengrab#DESTINATION share/doc/${PF}#" \
+ -e "s:-Wnon-virtual-dtor -Woverloaded-virtual:${CXXFLAGS}:" \
+ CMakeLists.txt || die "failed to patch doc dir"
+ sed -i "s:screengrab%1html:${PF}%1html:" src/ui/mainwindow.cpp || die
+}