From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 861F659CA3 for ; Sun, 13 Mar 2016 15:34:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3CA621C016; Sun, 13 Mar 2016 15:34:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CC0D21C016 for ; Sun, 13 Mar 2016 15:34:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8FDC3340B7F for ; Sun, 13 Mar 2016 15:34:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8263D848 for ; Sun, 13 Mar 2016 15:34:50 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1457882449.234facb8935dd50a6dc6216e63ff98bc179edf41.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/scrot/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/scrot/scrot-0.8_p13-r1.ebuild X-VCS-Directories: media-gfx/scrot/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 234facb8935dd50a6dc6216e63ff98bc179edf41 X-VCS-Branch: master Date: Sun, 13 Mar 2016 15:34:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cd429325-494a-44b8-b4d4-4439847f1647 X-Archives-Hash: d1d4a36dcf9cb5df49291513277c82a6 commit: 234facb8935dd50a6dc6216e63ff98bc179edf41 Author: bobbertson gmail com> AuthorDate: Sun Feb 21 05:10:08 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Mar 13 15:20:49 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234facb8 media-gfx/scrot: revbump scrot-0.8_p13 scrot-0.8_p13-r1 Make scrot useful with imlib2 useflag Acked-by: Markus Meier gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/892 media-gfx/scrot/scrot-0.8_p13-r1.ebuild | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 0000000..617daf7 --- /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} +}