Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libdockapp/
Date: Sat, 30 May 2020 10:29:51
Message-Id: 1590834578.ce6dcfc30bb8b84de9f61e729894d05131294e73.voyageur@gentoo
1 commit: ce6dcfc30bb8b84de9f61e729894d05131294e73
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 30 10:29:25 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 10:29:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce6dcfc3
7
8 x11-libs/libdockapp: add USE=static-libs
9
10 Closes: https://bugs.gentoo.org/726144
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 x11-libs/libdockapp/libdockapp-0.7.2-r3.ebuild | 49 ++++++++++++++++++++++++++
15 1 file changed, 49 insertions(+)
16
17 diff --git a/x11-libs/libdockapp/libdockapp-0.7.2-r3.ebuild b/x11-libs/libdockapp/libdockapp-0.7.2-r3.ebuild
18 new file mode 100644
19 index 00000000000..d612e81a768
20 --- /dev/null
21 +++ b/x11-libs/libdockapp/libdockapp-0.7.2-r3.ebuild
22 @@ -0,0 +1,49 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +inherit autotools font
28 +
29 +DESCRIPTION="Window Maker Dock Applet Library"
30 +HOMEPAGE="https://www.dockapps.net/libdockapp"
31 +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
32 +
33 +LICENSE="MIT public-domain"
34 +SLOT="0/3"
35 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
36 +# X equired for font eclass
37 +IUSE="+X static-libs"
38 +REQUIRED_USE="X"
39 +
40 +RDEPEND="x11-libs/libX11
41 + x11-libs/libXt
42 + x11-libs/libXext
43 + x11-libs/libXpm"
44 +DEPEND="${RDEPEND}
45 + x11-base/xorg-proto"
46 +
47 +FONT_S=${S}/fonts
48 +FONT_SUFFIX="gz"
49 +DOCS="README ChangeLog NEWS AUTHORS"
50 +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
51 +
52 +src_prepare()
53 +{
54 + default
55 + eautoreconf
56 +}
57 +
58 +src_configure()
59 +{
60 + # Font installation handled by font eclass
61 + econf \
62 + $(use_enable static-libs static) \
63 + --without-font \
64 + --without-examples
65 +}
66 +
67 +src_install()
68 +{
69 + emake DESTDIR="${D}" install
70 + font_src_install
71 +}