diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-11-04 21:44:44 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-11-04 22:00:29 -0400 |
commit | d037eb068c98bd2ddbf76a7de3c442bf882ef3f0 (patch) | |
tree | 7a1e5985e7e7133c91666f8d4ba45a5d53e4c5be /media-libs/blib/blib-1.1.7-r3.ebuild | |
parent | games-action/geki2-KXL: fix build w/ upcoming clang16 (diff) | |
download | gentoo-d037eb068c98bd2ddbf76a7de3c442bf882ef3f0.tar.gz gentoo-d037eb068c98bd2ddbf76a7de3c442bf882ef3f0.tar.bz2 gentoo-d037eb068c98bd2ddbf76a7de3c442bf882ef3f0.zip |
media-libs/blib: EAPI6->8, fix aa+gtk automagic and build w/ clang16
This used `--disable-gtk2/aalib` when the options
actually are `--disable-gtk/aa`.
Also add several missing deps.
Closes: https://bugs.gentoo.org/874642
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/blib/blib-1.1.7-r3.ebuild')
-rw-r--r-- | media-libs/blib/blib-1.1.7-r3.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/blib/blib-1.1.7-r3.ebuild b/media-libs/blib/blib-1.1.7-r3.ebuild new file mode 100644 index 000000000000..fd6cbbc9415e --- /dev/null +++ b/media-libs/blib/blib-1.1.7-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Library full of useful things to hack the Blinkenlights" +HOMEPAGE="http://www.blinkenlights.de" +SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="aalib gtk" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + aalib? ( media-libs/aalib ) + gtk? ( + app-accessibility/at-spi2-core:2 + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/pango + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-deprecated.patch +) + +src_prepare() { + default + + # drop DEPRECATED flags, bug #391105 + sed -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ + -i {blib,gfx,{,test/}modules}/Makefile.{am,in} || die +} + +src_configure() { + local econfargs=( + $(use_enable aalib aa) + --disable-directfb + $(use_enable gtk) + ) + + econf "${econfargs[@]}" +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die +} |