diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-01-08 14:05:59 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-01-08 14:05:59 +0100 |
commit | 878ec6185ae03924c8e74da3407ad215ee16bfd2 (patch) | |
tree | 44306193170404f339f0c1527c9b6831f6be20c0 /dev-libs/libzia | |
parent | dev-libs/libzia: drop 4.46, 4.49 (diff) | |
download | gentoo-878ec6185ae03924c8e74da3407ad215ee16bfd2.tar.gz gentoo-878ec6185ae03924c8e74da3407ad215ee16bfd2.tar.bz2 gentoo-878ec6185ae03924c8e74da3407ad215ee16bfd2.zip |
dev-libs/libzia: add 4.54
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/libzia')
-rw-r--r-- | dev-libs/libzia/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libzia/libzia-4.54.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest index 0a5f0930f8af..d3d964318765 100644 --- a/dev-libs/libzia/Manifest +++ b/dev-libs/libzia/Manifest @@ -1 +1,2 @@ DIST libzia-4.52.tar.gz 641867 BLAKE2B 106ec4ad8be1fd32dfc887b2bc57fcb506f3f4a4e25cd054228ddf2ebbd5c8d3df8f5e79f8e77fd8198c16acb55796c875dd3759bd1ec57c69ab51528bd9363a SHA512 d18b7a5ea168276f6f90429be271dd2807000fa7fef938d11cd55349475afe4343b54a7bcd0222606a4d51ea74e10aeede38dd9b80ec0c44fa5ce392ce79c59b +DIST libzia-4.54.tar.gz 646921 BLAKE2B 43a5575e673b24b9687bf744892dcc823c260760934d983d7b5e4480cad588283b1e830bbf0aac9ff46bc419ebf6f474b7fc7059c25214906756e678371baebe SHA512 818cd7219c7d742236cdbf8f1d7077b85e430c575ad76aea9724023eb7d72771ecf91e9c82f6a6b95bd1119ec46efd1fd7bb08c53b918b803e6051df82e47846 diff --git a/dev-libs/libzia/libzia-4.54.ebuild b/dev-libs/libzia/libzia-4.54.ebuild new file mode 100644 index 000000000000..0fe1254dbfda --- /dev/null +++ b/dev-libs/libzia/libzia-4.54.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Platform abstraction code for tucnak package" +HOMEPAGE="http://tucnak.nagano.cz" +SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ftdi" + +RDEPEND="dev-libs/glib:2 + x11-libs/gtk+:2 + media-libs/libsdl2 + media-libs/sdl2-ttf + media-libs/libpng:0 + ftdi? ( dev-embedded/libftdi:1 ) + elibc_musl? ( sys-libs/libunwind )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +MAKEOPTS+=" -j1" + +src_prepare() { + eapply_user + sed -i -e "s/docsdir/#docsdir/g" \ + -e "s/docs_/#docs_/g" Makefile.am || die + + # fix build for MUSL (bug #832235) + if use elibc_musl ; then + sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die + fi + eautoreconf +} + +src_configure() { + use elibc_musl && append-libs -lunwind + econf \ + $(use_with ftdi) --with-sdl \ + --with-png --without-bfd \ + --disable-static +} + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -type f -delete || die +} |