summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobbertson <qewbert@gmail.com>2016-02-20 23:10:08 -0600
committerPatrice Clement <monsieurp@gentoo.org>2016-03-13 15:20:49 +0000
commit234facb8935dd50a6dc6216e63ff98bc179edf41 (patch)
tree9e5b817cc6d8d943783cb95fe7d46dd7017cfb44 /media-gfx
parentapp-laptop/dispad: Remove old (diff)
downloadgentoo-234facb8935dd50a6dc6216e63ff98bc179edf41.tar.gz
gentoo-234facb8935dd50a6dc6216e63ff98bc179edf41.tar.bz2
gentoo-234facb8935dd50a6dc6216e63ff98bc179edf41.zip
media-gfx/scrot: revbump scrot-0.8_p13 scrot-0.8_p13-r1
Make scrot useful with imlib2 useflag Acked-by: Markus Meier <maekke@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/892
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/scrot/scrot-0.8_p13-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/scrot/scrot-0.8_p13-r1.ebuild b/media-gfx/scrot/scrot-0.8_p13-r1.ebuild
new file mode 100644
index 000000000000..617daf75bcbc
--- /dev/null
+++ b/media-gfx/scrot/scrot-0.8_p13-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PV=${PV/_p/-}
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="Screen capture utility using imlib2 library"
+HOMEPAGE="http://scrot.sourcearchive.com/"
+SRC_URI="http://${PN}.sourcearchive.com/downloads/${MY_PV}/${PN}_0.8.orig.tar.gz
+ http://${PN}.sourcearchive.com/downloads/${MY_PV}/${PN}_${MY_PV}.debian.tar.gz"
+
+LICENSE="feh LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=media-libs/imlib2-1.0.3
+ >=media-libs/giblib-1.2.3
+ || ( media-libs/imlib2[gif] media-libs/imlib2[jpeg] media-libs/imlib2[png] )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-0.8
+
+src_prepare() {
+ local d=${WORKDIR}/debian/patches
+ EPATCH_SOURCE=${d} epatch $(<"${d}"/series)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ rm -r "${D}"/usr/doc
+ dodoc AUTHORS ChangeLog
+
+ newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}
+}