media-libs/libggimisc: EAPI7 revbump, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 5 Oct 2018 19:36:50 +0000 (21:36 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 7 Oct 2018 14:00:46 +0000 (16:00 +0200)
* Removes all *.la files
* Disables static build

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild [new file with mode: 0644]

diff --git a/media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild b/media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild
new file mode 100644 (file)
index 0000000..d163051
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Adds support for some special graphical target features"
+HOMEPAGE="https://ibiblio.org/ggicore/packages/libggimisc.html"
+SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fbcon svga"
+
+RDEPEND=">=media-libs/libggi-2.2.2
+       svga? ( media-libs/svgalib )"
+DEPEND="${RDEPEND}"
+
+DOCS=( ChangeLog README TODO doc/ggimisc.txt doc/libggimisc{,-functions,-libraries}.txt
+       doc/retrace.txt )
+
+src_configure() {
+       econf --disable-x --without-x \
+               $(use_enable svga svgalib) \
+               $(use_enable fbcon fbdev) \
+               --disable-static
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       elog "X extension for ${PN} has been temporarily disabled for this release."
+}