diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
commit | bff543bb632933380da922cbfc07c67157d72d42 (patch) | |
tree | df2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /dev-libs/libzia | |
parent | 491d0101c89d81dec507f28215b3cb094800d600 (diff) |
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'dev-libs/libzia')
-rw-r--r-- | dev-libs/libzia/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libzia/libzia-4.60.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest index c1801aae0e71..5fb5fe521660 100644 --- a/dev-libs/libzia/Manifest +++ b/dev-libs/libzia/Manifest @@ -1,3 +1,5 @@ DIST libzia-4.59.tar.gz 647238 BLAKE2B 5e7d5eef5a316d3580789f4054652c533301d5737b01a125eb5387d6b444f2e3c3e1097f2f9738c7271dd569728e6eb3eb4d4d9bbd39c612991a72dddf6a58f3 SHA512 b9204d51d9901938b8f0e9a5ce1edb656ea90f3cb495d5885f2c5f3f440a9601ce77acb1ef7b44fe1dcf11b3251b7564bcc2c3987cb9b469c4aed2fe2f503bfd +DIST libzia-4.60.tar.gz 649512 BLAKE2B 22b67d33c20c924185223ac623036854915e621642d66da40777615d0ab9d1f1732e51c9d28fbce950859818dcbdd8a6177675a6a1ef771a61c43f5bc996412d SHA512 992ab75cd43969438fc4c9effb1ca64408f074dd40ade0bf36d4d9e28779645d66e4a6ff6097e0bb6c4b3eae88f4c4071dfd856a4a3482265e0eb4e06a2e4593 EBUILD libzia-4.59.ebuild 1088 BLAKE2B ba9cca163b5956b8fa19d56b4d37ed905348903099b64ec338aae4ccc84adf5cd65517efc62664b47e83b9eced520bcbad240e59b2befa283da780ef744bfb20 SHA512 5ac8c80fb9c7620c2495284f5bfdfdf144aba0280cccea09c7d6a0e61a1c2695722967520061dc95239d742f4140bd64df390d6c823ade00ec35a15e19ba173a +EBUILD libzia-4.60.ebuild 1090 BLAKE2B d16d96ece880bec45cc15b93dee88eff503487bd843f8dca5a821439758b4ae5aadf7f9312f8c16dce3de1b70d71bb3dacf748bcf19689e2d3979f77b9b33c47 SHA512 a8a8c71b25cfd990178f542aff43b5dfac168375de43246b4bae4cc90493d4ebb5aca9b41fe1ac3c3a4755406d50db51afa0b085f8deba369c4a2a9f41736a1f MISC metadata.xml 326 BLAKE2B 1b8ed6c9d40252f3371cf9a1ec295f593c8898dd8e45173ca05cededf987c7e44e2fafca613f8ad3022e9fbb6886d6aec2d183fd47c3064f35038784f361ebc4 SHA512 0c8a48b1101aa184dc596581feaf47463688801cb0f342177ecfb6fade1d63520ca1b9dcb278279470c181b560f555de332e4d2583e8856eec9057cde34df48f diff --git a/dev-libs/libzia/libzia-4.60.ebuild b/dev-libs/libzia/libzia-4.60.ebuild new file mode 100644 index 000000000000..0fe1254dbfda --- /dev/null +++ b/dev-libs/libzia/libzia-4.60.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 +} |