From ea3596b1ab12209deb537a4cd0e4c04e1deb1104 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Fri, 5 Oct 2018 21:42:22 +0200 Subject: [PATCH] media-libs/libggiwmh: EAPI7 revbump, improve ebuild * Removes all *.la files * Disables static build Signed-off-by: Michael Mair-Keimberger Closes: https://bugs.gentoo.org/667848 Signed-off-by: Andreas Sturmlechner --- .../libggiwmh/libggiwmh-0.3.2-r1.ebuild | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild diff --git a/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild b/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild new file mode 100644 index 000000000000..67cd8c2664dc --- /dev/null +++ b/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Window manager hints extensions for libggi" +HOMEPAGE="https://ibiblio.org/ggicore/packages/libggiwmh.html" +SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="X" + +RDEPEND=">=media-libs/libggi-2.2.2 + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86dga + x11-libs/libXxf86vm + )" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog README doc/libggiwmh{,-functions,-libraries}.txt ) + +src_configure() { + econf \ + $(use_enable X x) \ + $(use_with X x) \ + --disable-static +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} -- 2.26.2