Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xpaint/
Date: Sat, 10 Apr 2021 08:31:43
Message-Id: 1618043491.7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e.juippis@gentoo
1 commit: 7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 30 16:46:05 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 10 08:31:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed60d14
7
8 media-gfx/xpaint: remove dependency on `x11-misc/imake`
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/20165
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 media-gfx/xpaint/xpaint-3.1.3.ebuild | 13 +++----------
16 1 file changed, 3 insertions(+), 10 deletions(-)
17
18 diff --git a/media-gfx/xpaint/xpaint-3.1.3.ebuild b/media-gfx/xpaint/xpaint-3.1.3.ebuild
19 index df08e4c0d85..6c62608de44 100644
20 --- a/media-gfx/xpaint/xpaint-3.1.3.ebuild
21 +++ b/media-gfx/xpaint/xpaint-3.1.3.ebuild
22 @@ -41,7 +41,6 @@ BDEPEND="
23 sys-devel/bison
24 sys-devel/flex
25 virtual/pkgconfig
26 - x11-misc/imake
27 "
28
29 PATCHES=(
30 @@ -56,12 +55,6 @@ src_prepare() {
31 }
32
33 src_configure() {
34 - # regenerate resources in app-defaults
35 - # Local.xawdefs is missing and imake was complaining about it, so use it to redefine SHAREDIR
36 - echo "SHAREDIR = \"${EPREFIX}\"/usr/share/xpaint" > Local.xawdefs || die
37 - xmkmf || die
38 - mv Makefile Makefile.resources || die
39 -
40 econf \
41 $(use_enable tiff) \
42 --disable-libdvipgm \
43 @@ -77,6 +70,9 @@ src_compile() {
44 emake substads
45 emake xpaint.1
46
47 + # regenerate resources in app-defaults
48 + rm XPaint.ad || die
49 +
50 default
51 emake \
52 WITH_PGF="$(usex pgf "yes" "no")" \
53 @@ -84,9 +80,6 @@ src_compile() {
54 CXX="$(tc-getCXX)" \
55 includedir="${EPREFIX}"/usr/include \
56 -C util
57 -
58 - # regenerate resources in app-defaults
59 - (rm XPaint.ad && emake -f Makefile.resources XPaint.ad) || die
60 }
61
62 src_install() {