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/xfig/
Date: Sat, 10 Oct 2020 07:23:06
Message-Id: 1602314554.c76540d35e33b244bb00d4a36a226d7afefb05f8.juippis@gentoo
1 commit: c76540d35e33b244bb00d4a36a226d7afefb05f8
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Fri Oct 2 07:38:42 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 07:22:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76540d3
7
8 media-gfx/xfig: bump to 3.2.7b
9
10 Bug: https://bugs.gentoo.org/718806
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Closes: https://github.com/gentoo/gentoo/pull/17744
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 media-gfx/xfig/Manifest | 1 +
17 media-gfx/xfig/xfig-3.2.7b.ebuild | 49 +++++++++++++++++++++++++++++++++++++++
18 2 files changed, 50 insertions(+)
19
20 diff --git a/media-gfx/xfig/Manifest b/media-gfx/xfig/Manifest
21 index 106af3f0e1e..f8d167641cd 100644
22 --- a/media-gfx/xfig/Manifest
23 +++ b/media-gfx/xfig/Manifest
24 @@ -1 +1,2 @@
25 +DIST xfig-3.2.7b.tar.xz 5059984 BLAKE2B a22465e16019e9887e302ea308e250ad5d7ba0c49aec8f554a73d3b4489d803a05041cb7d267c543a7c0d3b78eac25077c628283f82767932afcc9d9750ce883 SHA512 f3396ebf8a5961909e58b05b60117fd7bbc8c24fabbd47f108eaea9586f4180af572faffe077b1a5dcbf669ebd69b1c2791f302c126dea62a44aa1592de66f73
26 DIST xfig-full-3.2.6a.tar.xz 5502944 BLAKE2B 3a83feeb5647ffa9586b9ce40116e9854a423c0cc90265ad78b27c0c82a15bbda9d9734475aba13f442c259cd0489a667242f319ac758ddbfea1a5b268e12550 SHA512 82e292e050213b6d22be5e174224308b446505e25208f29d4f4c5e760a87ff4104b9dcea0a332241c9bca358e1d44336bb38c316eb3f28130d7c8828c10a805f
27
28 diff --git a/media-gfx/xfig/xfig-3.2.7b.ebuild b/media-gfx/xfig/xfig-3.2.7b.ebuild
29 new file mode 100644
30 index 00000000000..f7c2b6a8e8c
31 --- /dev/null
32 +++ b/media-gfx/xfig/xfig-3.2.7b.ebuild
33 @@ -0,0 +1,49 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit xdg
40 +
41 +DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window"
42 +HOMEPAGE="http://mcj.sourceforge.net/"
43 +SRC_URI="https://kumisystems.dl.sourceforge.net/project/mcj/${P}.tar.xz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
48 +IUSE="jpeg nls postscript"
49 +
50 +RDEPEND="
51 + x11-libs/libXaw
52 + x11-libs/libXaw3d
53 + x11-libs/libXi
54 + x11-libs/libXt
55 + media-libs/libpng:0=
56 + media-fonts/font-misc-misc
57 + media-fonts/urw-fonts
58 + >=media-gfx/transfig-3.2.5-r1
59 + media-libs/netpbm
60 + jpeg? ( virtual/jpeg:0= )
61 + nls? ( x11-libs/libXaw3d[unicode] )
62 + postscript? ( app-text/ghostscript-gpl )
63 +"
64 +DEPEND="${RDEPEND}
65 + x11-base/xorg-proto
66 +"
67 +
68 +PATCHES=(
69 + "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch"
70 + "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
71 + "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch"
72 +)
73 +
74 +src_configure() {
75 + local myeconfargs=(
76 + $(use_enable nls i18n)
77 + $(use_enable jpeg)
78 + $(use_with postscript gs)
79 + --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir...
80 + )
81 + econf "${myeconfargs[@]}"
82 +}