diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-29 15:41:51 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-29 15:41:51 +0200 |
commit | f6ea9854a6359dc1db191f183ee192df8e53ddef (patch) | |
tree | 2d4ae11d2607810e76462571ccf8fa9a7ad500a7 /dev-libs/libzia | |
parent | media-sound/picard: Stabilize 2.12 amd64, #936877 (diff) | |
download | gentoo-f6ea9854a6359dc1db191f183ee192df8e53ddef.tar.gz gentoo-f6ea9854a6359dc1db191f183ee192df8e53ddef.tar.bz2 gentoo-f6ea9854a6359dc1db191f183ee192df8e53ddef.zip |
dev-libs/libzia: add 4.61
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.61.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest index 2ef03f67555e..3c80e62a8009 100644 --- a/dev-libs/libzia/Manifest +++ b/dev-libs/libzia/Manifest @@ -1,2 +1,3 @@ DIST libzia-4.59.tar.gz 647238 BLAKE2B 5e7d5eef5a316d3580789f4054652c533301d5737b01a125eb5387d6b444f2e3c3e1097f2f9738c7271dd569728e6eb3eb4d4d9bbd39c612991a72dddf6a58f3 SHA512 b9204d51d9901938b8f0e9a5ce1edb656ea90f3cb495d5885f2c5f3f440a9601ce77acb1ef7b44fe1dcf11b3251b7564bcc2c3987cb9b469c4aed2fe2f503bfd DIST libzia-4.60.tar.gz 649512 BLAKE2B 22b67d33c20c924185223ac623036854915e621642d66da40777615d0ab9d1f1732e51c9d28fbce950859818dcbdd8a6177675a6a1ef771a61c43f5bc996412d SHA512 992ab75cd43969438fc4c9effb1ca64408f074dd40ade0bf36d4d9e28779645d66e4a6ff6097e0bb6c4b3eae88f4c4071dfd856a4a3482265e0eb4e06a2e4593 +DIST libzia-4.61.tar.gz 649569 BLAKE2B 992f7d7a4f2a7497d490a32b04c2f67e45aef361d4f55bd24ab873b3a422f2bd2a23501c275d6771459b5ebe5d169fc28123a4fd328f0977a639fa92991ba62b SHA512 210104a16846b4bbae51e91cd88428cb8b6f487a6bc234a8a7351d03865ff968bf75d102dfe5657f9fc1c181e2071a4e4ab6be0e22da277188f3ab9752ea789d diff --git a/dev-libs/libzia/libzia-4.61.ebuild b/dev-libs/libzia/libzia-4.61.ebuild new file mode 100644 index 000000000000..7bc214eded10 --- /dev/null +++ b/dev-libs/libzia/libzia-4.61.ebuild @@ -0,0 +1,54 @@ +# 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+:3 + media-libs/libsdl2 + media-libs/sdl2-ttf + media-libs/libpng:= + net-libs/gnutls:= + 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 (bugs #832235, 935544) + if use elibc_musl ; then + sed -i -e "s/zstr.h>/zstr.h>\\n#include <libunwind.h>/" src/zbfd.c || die + 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 +} |