summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2024-10-26 11:38:44 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2024-10-26 11:39:55 +0200
commit6f9ea6f85c11e626a239368274238322fd5a97fd (patch)
treed7ce1215ebe41caefa9651981f9f82f1ad4ade50 /dev-libs
parentdev-python/quart: Stabilize 0.19.8 ALLARCHES, #942199 (diff)
downloadgentoo-6f9ea6f85c11e626a239368274238322fd5a97fd.tar.gz
gentoo-6f9ea6f85c11e626a239368274238322fd5a97fd.tar.bz2
gentoo-6f9ea6f85c11e626a239368274238322fd5a97fd.zip
dev-libs/libzia: add 4.64
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libzia/Manifest1
-rw-r--r--dev-libs/libzia/libzia-4.64.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest
index 9a95b829a418..5cd9d573ab4e 100644
--- a/dev-libs/libzia/Manifest
+++ b/dev-libs/libzia/Manifest
@@ -1 +1,2 @@
DIST libzia-4.61.tar.gz 649569 BLAKE2B 992f7d7a4f2a7497d490a32b04c2f67e45aef361d4f55bd24ab873b3a422f2bd2a23501c275d6771459b5ebe5d169fc28123a4fd328f0977a639fa92991ba62b SHA512 210104a16846b4bbae51e91cd88428cb8b6f487a6bc234a8a7351d03865ff968bf75d102dfe5657f9fc1c181e2071a4e4ab6be0e22da277188f3ab9752ea789d
+DIST libzia-4.64.tar.gz 655073 BLAKE2B 7ec3397565d441d7f820bda9b73e1051031e30bea6111e28cc2073cd1ea49be237c35c1eb358671b1930de74e0e2f3ff4beb476676ce9b9bef608a9f39da5ca3 SHA512 5e520fb1e1782e919c727e6056ae1e979c9774e9a994267c9eabe86f4a5b9c62d11639b59735e236cc36fa42e319418e4cbe12a2e41c47d5040ed6c1d7929192
diff --git a/dev-libs/libzia/libzia-4.64.ebuild b/dev-libs/libzia/libzia-4.64.ebuild
new file mode 100644
index 000000000000..7bc214eded10
--- /dev/null
+++ b/dev-libs/libzia/libzia-4.64.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
+}