Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/
Date: Thu, 01 Mar 2018 18:28:11
Message-Id: 1519928878.949a777a5debc9b7a939d87e7002168ed8d33086.pacho@gentoo
1 commit: 949a777a5debc9b7a939d87e7002168ed8d33086
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 18:17:36 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 18:27:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949a777a
7
8 media-gfx/xfig: x11-libs/libXp is not really needed
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-gfx/xfig/xfig-3.2.6a-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 46 insertions(+)
14
15 diff --git a/media-gfx/xfig/xfig-3.2.6a-r1.ebuild b/media-gfx/xfig/xfig-3.2.6a-r1.ebuild
16 new file mode 100644
17 index 00000000000..44de42d398d
18 --- /dev/null
19 +++ b/media-gfx/xfig/xfig-3.2.6a-r1.ebuild
20 @@ -0,0 +1,46 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window"
27 +HOMEPAGE="http://mcj.sourceforge.net/"
28 +SRC_URI="mirror://sourceforge/mcj/${PN}-full-${PV}.tar.xz"
29 +
30 +LICENSE="BSD"
31 +SLOT="0"
32 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
33 +IUSE="jpeg nls postscript"
34 +
35 +RDEPEND="
36 + x11-libs/libXaw
37 + x11-libs/libXaw3d
38 + x11-libs/libXi
39 + x11-libs/libXt
40 + media-libs/libpng:0=
41 + media-fonts/font-misc-misc
42 + media-fonts/urw-fonts
43 + >=media-gfx/transfig-3.2.5-r1
44 + media-libs/netpbm
45 + jpeg? ( virtual/jpeg:0= )
46 + nls? ( x11-libs/libXaw3d[unicode] )
47 + postscript? ( app-text/ghostscript-gpl )
48 +"
49 +DEPEND="${RDEPEND}
50 + x11-proto/xproto
51 + x11-proto/inputproto
52 +"
53 +
54 +PATCHES=(
55 + "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch"
56 + "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
57 + "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch"
58 +)
59 +
60 +src_configure() {
61 + econf \
62 + $(use_enable nls i18n) \
63 + $(use_enable jpeg) \
64 + $(use_with postscript gs) \
65 + --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir...
66 +}