commit:     1be2c77cc426f3b0c436454a2ff0620e2e63c5aa
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Jan 16 19:41:01 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 12:13:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be2c77c

media-libs/libbsb: EAPI8 bump, fix bug #724744

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/724744
Closes: https://bugs.gentoo.org/899814
Closes: https://github.com/gentoo/gentoo/pull/34842
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-libs/libbsb/libbsb-0.0.7-r2.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/media-libs/libbsb/libbsb-0.0.7-r2.ebuild 
b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild
new file mode 100644
index 000000000000..be7212a192b1
--- /dev/null
+++ b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Portable C library for reading and writing BSB format image files"
+HOMEPAGE="https://libbsb.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libpng
+       media-libs/tiff:="
+RDEPEND="${DEPEND}"
+
+# "make check" in 0.0.7 fails with newer tiff versions (4.0.0) altough the
+# tools work perfectly, so restrict test until this is fixed upstream
+RESTRICT="test"
+
+src_prepare(){
+       sed -i -e "s|ar crv|$(tc-getAR) crv|" Makefile.am || die
+       default
+       eautoreconf
+}

Reply via email to