diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 05:50:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 05:50:43 +0000 |
commit | 3a60b38f14fa81df8e18aa67d1634fbffca17d14 (patch) | |
tree | 2db4eb443cdf196f01a18d0c053ff46d6bd5626d /media-libs | |
parent | ea8740cede74808fe1546789e18738612217bb97 (diff) |
gentoo auto-resync : 14:01:2023 - 05:50:42
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 68076 -> 68076 bytes | |||
-rw-r--r-- | media-libs/leptonica/Manifest | 2 | ||||
-rw-r--r-- | media-libs/leptonica/leptonica-1.83.0.ebuild | 77 | ||||
-rw-r--r-- | media-libs/libopenmpt/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libopenmpt/libopenmpt-0.6.7.ebuild | 61 | ||||
-rw-r--r-- | media-libs/libplacebo/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch | 1 |
7 files changed, 144 insertions, 1 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 5c68c71c9020..806484b737a5 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest index 8e22b22568e0..4e45298bdec0 100644 --- a/media-libs/leptonica/Manifest +++ b/media-libs/leptonica/Manifest @@ -1,3 +1,5 @@ DIST leptonica-1.82.0.tar.gz 14041481 BLAKE2B 2e60a7e14bf9120348460ac122fe0e9a1c696f17fd8f23cd3eb1b1316e13ae7fd25bbaef3fc8531df6e2572fa06e86d757138b11b29dcc24dda9576b9c00f3b0 SHA512 cb0484570bf3921307ab5c805b3f0e08d4aaa811adfb592f3956b563fc145f7a45173e2278fc5d8a9e37f729bb34dbf8068e030e2066d54547f82d26b56aa27d +DIST leptonica-1.83.0.tar.gz 14031018 BLAKE2B 42cc6be7448dda36b027a01c84e51d269c7c4928640585ae12c9b1e63d434d72314da7c072c7fc9073ae09ead0c9a1322edf409fec2bb50dc7cfb6f4f06a6faa SHA512 2d21972109776c3308438c0e2e93f4ae1fb89e233bebf9730324f8804dab90432ad5fe41cdf491cde36d78cf61cb481391545d51539bab0139e8375bc91a33e1 EBUILD leptonica-1.82.0-r1.ebuild 2066 BLAKE2B 5915d60328aa57c44be294cf3c390ffd7fb2fac6cbfbb5a2f87a6133c6f1a14a9ba0e3cf5ff23cd4ecf1d6f85413207f55c7ea5fc781006ddee59e12f0d230e6 SHA512 227edb1fb6aa0ed926584b2344c0903dc589582e1fb3d492390e0c4d30752e62ab31df88661eef7a8c08405a1b3033da0a360fa1051d030833c3984ea6a441b4 +EBUILD leptonica-1.83.0.ebuild 2072 BLAKE2B 8a6ac282deaba3eb3db05d2ec4b707543794d456211f1dc30dab5537df484e2ee709a539ef0390ce63e497c7707a17c1a279c7808abda9f9d4be4aedb4445c97 SHA512 1ab038065bc4a5c742c6f8ad58290337b798694c63a5bbc49db9dc8fbbb21f08e32f828f2042a965aae07b317285fc727c54c9ca09f1da60bd168f4fe918a720 MISC metadata.xml 606 BLAKE2B 45193dccfdf3394ba6217bb096036b61059b96be60a22381e039df561a66ef091df4fe0476e2c6a6af9f4ee1cced1019d284171e767c18c56ffef3a737794582 SHA512 6b193ead9003b5f54617f4c4852a0a0477c8cd246b4a5e688578d17ec3c03293b6a45e2f6082a16ca6f432fb2bd3f43efe59c5d0cc1c5f741e91116321a10860 diff --git a/media-libs/leptonica/leptonica-1.83.0.ebuild b/media-libs/leptonica/leptonica-1.83.0.ebuild new file mode 100644 index 000000000000..e93d52c14fe0 --- /dev/null +++ b/media-libs/leptonica/leptonica-1.83.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool multilib-minimal + +DESCRIPTION="C library for image processing and analysis" +HOMEPAGE="http://www.leptonica.org/" +SRC_URI="https://github.com/DanBloomberg/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib" +# N.B. Tests need some features enabled: +REQUIRED_USE="test? ( jpeg png tiff zlib )" +RESTRICT="!test? ( test )" + +RDEPEND=" + gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + jpeg2k? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] ) + png? ( + media-libs/libpng:0=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] + ) + tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( media-libs/tiff:0[jpeg,zlib] )" + +DOCS=( README version-notes ) + +src_prepare() { + default + elibtoolize + + # unhtmlize docs + local X + for X in ${DOCS[@]}; do + awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \ + "${X}.html" > "${X}" || die 'awk failed' + rm -f -- "${X}.html" + done +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --enable-shared \ + $(use_with gif giflib) \ + $(use_with jpeg) \ + $(use_with jpeg2k libopenjpeg) \ + $(use_with png libpng) \ + $(use_with tiff libtiff) \ + $(use_with webp libwebp) \ + $(use_with webp libwebpmux) \ + $(use_with zlib) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils programs) +} + +multilib_src_test() { + default + + # ${TMPDIR} is not respected. It used to be but it lead to issues + # and there have been long debates with upstream about it. :( + rm -rf /tmp/lept/ || die +} + +multilib_src_install_all() { + einstalldocs + + # libtool archives covered by pkg-config + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index 31f49f0566e0..0365b762c2ff 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -1,3 +1,5 @@ DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf +DIST libopenmpt-0.6.7+release.autotools.tar.gz 1556248 BLAKE2B ef1a30840416c77c3872fa3bf10db4b8a931074328f3cfd87ef368379bbac2a69b32ab41e43649fa40e44ff38662173f6dd50621d276d05d4560105bd8a96b4f SHA512 5b6a52491fee74cf3cddbf28edb5ced0e8115a5eb3fb53bf285a33fabfc1c8aa940c729a95f169c17163b4aedaa5a26614b3a85a22dba60bd10ad5d7cc94846e EBUILD libopenmpt-0.6.6.ebuild 1560 BLAKE2B 649dbcde7c2bc9aabf1b50f6d7e232e1173f6669e9b73afb34b9cf6273783f52193dda79aa52d54fc0e502fe3a978bbba79bf04c631d2141b91c8d456e8ec4ac SHA512 35cea07a2a46d8f316455e5115e6388b601bb5fe8218a4460e4b523e4401b8b771d2d1149fbb5f97462bd8361ea842034040d80a40ed91166056f24273288bb0 +EBUILD libopenmpt-0.6.7.ebuild 1565 BLAKE2B 692ceed70667185203b57598f150cf8d325248ea8c854d4bbb13df0e049725260c8de6f3a3334a71a9d063916f8884fc2e59b67889e8b5f89d8971ac9854a114 SHA512 05fd0d28c4ba605082f0e74e2ed7d80f2ae3f8cd1615f2cd9285bc8ec5d8f8837c6a25ec1ea76face7daaa16a65fb30940014e62ac479910af0ba79cb8d12a44 MISC metadata.xml 328 BLAKE2B 25f8b37a7e7885a50e5b7305c9090033c78b1154214e05060c3407f0d27ac436aa3f0da1dff3a5ba1685bef390f1fe99416893aaf59e002921cc3464ce0d2167 SHA512 6686c75dbfcd5a5f9d6ef4d667916f54388180045471f8eb585c7b0d6e03f5d56c3fc892c97851f7453318309a456bbfd877eb240cbf008b71984009d08a8181 diff --git a/media-libs/libopenmpt/libopenmpt-0.6.7.ebuild b/media-libs/libopenmpt/libopenmpt-0.6.7.ebuild new file mode 100644 index 000000000000..a2d41dfe03de --- /dev/null +++ b/media-libs/libopenmpt/libopenmpt-0.6.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +MY_P="libopenmpt-${PV}+release.autotools" +DESCRIPTION="Library to decode tracked music files (modules)" +HOMEPAGE="https://lib.openmpt.org/libopenmpt/" +SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="examples mp3 ogg static-libs test vorbis zlib" +RESTRICT="!test? ( test )" + +RDEPEND=" + mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] ) + ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] ) + vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" +ECONF_SOURCE="${S}" + +multilib_src_configure() { + # A lot of these optional dependencies relate to openmpt123, which + # we package separately, so we disable them here. + econf \ + $(use_enable static-libs static) \ + --disable-openmpt123 \ + --disable-examples \ + $(use_enable test tests) \ + --disable-doxygen-doc \ + $(use_with zlib) \ + $(use_with mp3 mpg123) \ + $(use_with ogg) \ + $(use_with vorbis) \ + $(use_with vorbis vorbisfile) \ + --without-pulseaudio \ + --without-portaudio \ + --without-portaudiocpp \ + --without-sdl2 \ + --without-sndfile \ + --without-flac +} + +multilib_src_install_all() { + rm -f \ + "${ED}"/usr/*/*.la \ + "${ED}"/usr/share/doc/${P}/LICENSE || die + + if ! use examples; then + rm -r "${ED}"/usr/share/doc/${P}/examples || die + fi +} diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest index f2a6796da2e4..285d373338f0 100644 --- a/media-libs/libplacebo/Manifest +++ b/media-libs/libplacebo/Manifest @@ -2,7 +2,7 @@ AUX libplacebo-2.72.2-fix-vulkan-undeclared.patch 963 BLAKE2B 3b6944af02eb6078dc AUX libplacebo-4.192.1-python-executable.patch 266 BLAKE2B 23146785355b86440974d5017f7a1f0766d65b937153755ddf4f6785ab835232f5b2f363279a8df332333c2ef9de9bfef8ff7acaf70cec892f54c87283a5b7df SHA512 ad3a07536731b2c454ad342c0db330e13fe12f61b5fce76b49be643d3bba3297bd53723d7bc34898346cbbc481d59437b1a65f56225790824eedca7ee81606c6 AUX libplacebo-5.229.1-llvm-libunwind.patch 418 BLAKE2B 0042bc6404de57fbbb814ebc91bb51ee5a6bb279a960af81bd2bc71b9eb092c0ee183e31614a892d26508516dd550837a6d5c8038512e8f8e899cddf1236f600 SHA512 b6a40675f0ea5b6e36fb47b56e08dc1ec7425ff8193dfd92aeccd3830da91b77410b9f5792b233b630bdd7422993d6d0f22b82761e29d17336357bb47c89bc48 AUX libplacebo-5.229.1-python-executable.patch 400 BLAKE2B 1de79b031d4aa7c55e058db788d2ba3ed6a66e58dac325a091b40be58b95e6cbacf852a0f1e84465d2834ecd07aa920390b90a81e03c3e21825eb0ed56c2b68f SHA512 5b8c1f5856b1e0cf67a306fc7b3fce552f26c4e8d785a2a0570b1ea983d487cd235fb9bed10f86747597f19d2b2d9a920b19a88acf3e48d44aeaa999849cff76 -AUX libplacebo-5.229.1-shared-glslang.patch 678 BLAKE2B ff1dff5e3009f165091cc17e1cfbd7fb3ed90763e96a437b791486c27b75b8d5c308ab9d9704777071fc0483c2b0f6e48cc9a91c22b6296a12a184f6f6e0e27c SHA512 ec345ac50603d1b77dcc939e87534eaec735bd3dae81579e92c90b8dafa20970b14a1afc2785fe8f7121398f6b81b34bfe0d4d5c1a1727a131e0442c4f9e2da1 +AUX libplacebo-5.229.1-shared-glslang.patch 737 BLAKE2B b2a17ad66de37414790a1a4a5360def84326867e5f63959156daeb4aa9ead676279f730912e6c98e40d6322637178408d68d9a08ad542a40b1fb6b02c242b9b7 SHA512 902feb8e0752a9ce5b50dd040015368a1ed3eb90fb78713093c43a66eb881b2f2c8872fab60d695e9cdd4821b84f6e75e5e5a3416c592d86e1a70ff5a2667b61 DIST libplacebo-glad-2.0.1.tar.gz 581028 BLAKE2B 9c1a6dfdec44b9d55af4f410172958d5630408cebbbc86d17e73d0aa042b2d9765b9be7875a21ec4870f5efde589b8112a8d9ed785b0e9847c38a7b85ff1b5c4 SHA512 c924728695d524090894a0eb81fa8aa531ffc8ba8b3f02069ad31432854becb849025fc4b800f4cef4e267b3123fa6e1b7bba38d6aea99e691578fb4432ff262 DIST libplacebo-v4.192.1.tar.gz 632762 BLAKE2B 19a3bee6f05632cde1739fe8c861c96035a7b1f5ed2af6bbc67776529551c88f5da63d49dede2d7ee2c8d96edd6faf733e0371714028b72eddcf4c4cf23b937f SHA512 780dff60a31a9c7fff47522385235077cc6b1a38be32bc0276c090d89ce25754dd0b910db5be631d0065337fe4700f68adabee06f48a4935d422f09f2e0e5525 DIST libplacebo-v5.229.1.tar.gz 673121 BLAKE2B 0a59e16b4565b10b222c5a5a8e607670bd4010a2be9b99ebdc15638827fcaf21bbf3c16a3cd2b902bcef43041dec56441494a0f618094e14db8f99a9d314c621 SHA512 45efb252d5d44e5429790f9024b1b2a153051d6d604b07fcf3e4de7d49a2e91d20457be76e08b3b9ab43248c4a2e7268c9f8dc69837783e572f9b8735c955334 diff --git a/media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch b/media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch index 14ce1f6972c0..84c83031e031 100644 --- a/media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch +++ b/media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch @@ -1,5 +1,6 @@ OSDependent and OGLCompiler are already included in the shared libglslang, and glslang-1.3.231 normally does not install these with shared builds. +https://code.videolan.org/videolan/libplacebo/-/issues/240 --- a/src/glsl/meson.build +++ b/src/glsl/meson.build @@ -21,5 +21,5 @@ |