diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
commit | f265f17242b04ae036b4dc174fa95401d895dbc5 (patch) | |
tree | 8daa848087a673b8bf5dad576b0a08048d551da7 /media-libs/libfpx | |
parent | d08ea43e9ada434f42f4be8e115b67ab22ce38af (diff) |
gentoo auto-resync : 16:03:2024 - 18:48:51
Diffstat (limited to 'media-libs/libfpx')
-rw-r--r-- | media-libs/libfpx/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libfpx/Manifest b/media-libs/libfpx/Manifest index 1f309d213186..9dd6bf3eabb2 100644 --- a/media-libs/libfpx/Manifest +++ b/media-libs/libfpx/Manifest @@ -1,5 +1,6 @@ AUX libfpx-1.2.0.13-export-symbols.patch 347 BLAKE2B d0bc3b1fecba641554a549c0241e098f801f0dd1a471427127c99f56945836ca679b14c2bdff3a85c3be32d399bae871911742fa1ea0c74c8a2e50741ae70938 SHA512 a8e9793f78902317fa2aacc9fc61160579fd211f6e36ae817afc1d8963c60eeb930b0f4574bb855b75bfbfa1b678882773b581db91462289132cd44bb2b0be6e AUX libfpx-1.3.1_p10-musl-1.2.3-null.patch 1906 BLAKE2B 2dcccc22aa1f163ecc5d3f3de3981950844d89dce57599635eab749af8531b2e31e74dbdfba9c01895f530b15c054e1311a965c63e013c8b9115f91ab2b6c516 SHA512 d37d8315a8e3e1c6ee83e71cf38b1e0656ba59f6d6a9bd24ea9c03366b8d2c5f8a092ab2f39f1b10429eec2bb7aeba83dea94ebd8ea5dcb2146a2f7944f8cf2c DIST libfpx-1.3.1-10.tar.bz2 2358246 BLAKE2B d67b5a38e29d8916471ced46005983427ea1e77ff1fa682b67f80e8db71bd5460aafb59753bd901aa40e955cbeb453cf017109577b8d9357e86ac3e7d988d4b4 SHA512 afa96b240ead4d3c56e8e6c66db188d1f4441e7b4d08e12e0e96359cfa2cea9eae5625105d87df65ceacd97d84a386876c62dee5bc1916c420755d9bcc4655d4 +EBUILD libfpx-1.3.1_p10-r1.ebuild 1160 BLAKE2B 7583c3ee8e1ba114bdedb2b4230b9df0bca8d500d4dcf78d7a013c94ce3a2d1a91a289097f8dc1466e1df242b8e0781ae2bb161fbc5de032cfdcb805f6f23843 SHA512 f807f7a9807fc34844b9aaa404384d06a05e94a20bcc1b14d5244541d935f71f44468f7c78c71764d6fb279f37535d9a44d200181d47c2864912c1347fc7b651 EBUILD libfpx-1.3.1_p10.ebuild 1247 BLAKE2B 383cf7a7338a795123d7c60b6448f9f2e5660f17f7fc0773d793b099cfbec3cf17f0235a01cd370f9ec9349a0e8d5ecf07cc751680b6c9d6afc7d2eb74af0457 SHA512 769dc7f9257290d33695ca2457a894464da053055002b5c032d757c32dc485151788f6b428a02782054744ab48a9a3ff31ffc493f822546a65916d6fdbc42c47 MISC metadata.xml 334 BLAKE2B 5f2c903be8e07657f0b5ea2f60d1d51cd22c18582227ca2f3d7e86b1911b790e442aed299bd894217c99e106fbcb4a31c3c240eba69338f9de14cfb8ede765da SHA512 b4d167b6a8f3dadcde95c86990d0855862b84e465bf4538c7991d0d581cc0c91d42923435e66d381c91f657b150ac322f25fd7bc1bdb4870cf489534279f5859 diff --git a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild new file mode 100644 index 000000000000..9e479ef75f49 --- /dev/null +++ b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic libtool + +DESCRIPTION="Library for manipulating FlashPIX images" +HOMEPAGE="https://github.com/ImageMagick/libfpx" +SRC_URI="mirror://imagemagick/delegates/${P/_p/-}.tar.bz2" +S="${WORKDIR}/${P/_p/-}" + +LICENSE="Flashpix" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.0.13-export-symbols.patch + "${FILESDIR}"/${PN}-1.3.1_p10-musl-1.2.3-null.patch +) + +src_prepare() { + default + + # we're not windows, even though we don't define __unix by default + [[ ${CHOST} == *-darwin* ]] && append-flags -D__unix + + elibtoolize +} + +src_configure() { + append-ldflags -Wl,--no-undefined + econf \ + $(use_enable static-libs static) \ + LIBS="-lstdc++ -lm" +} + +src_install() { + default + + # bug 847412 + if ! use static-libs; then + find "${ED}" -type f -name '*.la' -delete || die + fi + + dodoc AUTHORS ChangeLog doc/*.txt + + docinto pdf + dodoc doc/*.pdf + docompress -x /usr/share/doc/${PF}/pdf +} |