Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/
Date: Fri, 30 Sep 2022 11:02:22
Message-Id: 1664534893.5bc3dd271aacdb716cedc94495a343f1aeffb8bd.ionen@gentoo
1 commit: 5bc3dd271aacdb716cedc94495a343f1aeffb8bd
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 09:31:46 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:48:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc3dd27
7
8 x11-misc/xsnap: EAPI7->8, update deps
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 ...nap-1.5.15-r2.ebuild => xsnap-1.5.15-r3.ebuild} | 26 +++++++++-------------
13 1 file changed, 11 insertions(+), 15 deletions(-)
14
15 diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
16 similarity index 83%
17 rename from x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
18 rename to x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
19 index e93eb8f85a7d..560e1574bb68 100644
20 --- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild
21 +++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
22 @@ -1,7 +1,8 @@
23 # Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=7
27 +EAPI=8
28 +
29 inherit toolchain-funcs
30
31 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
32 @@ -11,31 +12,25 @@ SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2"
33 LICENSE="GPL-3+"
34 SLOT="0"
35 KEYWORDS="amd64 ppc x86 ~amd64-linux"
36 -IUSE=""
37
38 COMMON_DEPEND="
39 - media-libs/libpng:0
40 - virtual/jpeg:0
41 + media-libs/libjpeg-turbo:=
42 + media-libs/libpng:=
43 + sys-libs/zlib:=
44 x11-libs/libX11
45 x11-libs/libXft
46 - x11-libs/libXpm
47 -"
48 + x11-libs/libXpm"
49 RDEPEND="
50 ${COMMON_DEPEND}
51 - media-fonts/font-misc-misc
52 -"
53 + media-fonts/font-misc-misc"
54 DEPEND="
55 ${COMMON_DEPEND}
56 - x11-base/xorg-proto
57 -"
58 + x11-base/xorg-proto"
59 BDEPEND="
60 app-text/rman
61 dev-lang/perl
62 sys-devel/gcc
63 - >=x11-misc/imake-1.0.8-r1
64 -"
65 -
66 -DOCS=( AUTHORS Changelog README )
67 + >=x11-misc/imake-1.0.8-r1"
68
69 PATCHES=(
70 "${FILESDIR}"/${P}-root_name.patch
71 @@ -70,5 +65,6 @@ src_compile() {
72
73 src_install() {
74 default
75 - find "${ED}" -name '*.1.gz' -exec gunzip {} \; || die
76 +
77 + find "${ED}" -type f -name '*.1.gz' -exec gunzip {} + || die
78 }