diff options
Diffstat (limited to 'media-libs')
25 files changed, 360 insertions, 113 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 846333978e26..745e2c2c4a19 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/aalib/Manifest b/media-libs/aalib/Manifest index 595a69fdbd48..fd8646aa7211 100644 --- a/media-libs/aalib/Manifest +++ b/media-libs/aalib/Manifest @@ -8,4 +8,4 @@ AUX aalib-1.4_rc5-more-protos.patch 1499 BLAKE2B abf425195f87f83dc019ded382c365f AUX aalib-1.4_rc5-tinfo.patch 709 BLAKE2B fb7dd0eb1e39046c66de0466b0411f97fa948d9da03719fcd759a7331c7da0a6cfcba92353ef5363cf651501d73ce4fd29a5baf94897f10f0518284ebb4db10c SHA512 2abab613af549f4c24f7d617cf65de773e7850ec8485dfa23de2405ed59cf14f7cb70c2f1b701e27ae541e5f75302f4d28c3f866303bfc901a96074c9d9d534b DIST aalib-1.4rc5.tar.gz 391028 BLAKE2B fd527716c0484d45fa3b75712a24301bd485fab8191ac1d5c6d35f8af093a00e11f0f8d2797ddcc32f4d87a39649fd50145dcc557e5ba98e67336cff2bb79002 SHA512 3e4506eccce3b81ccbbb79a4a1b90abd39e2259e6043fde90f70b9ca279bd4c37758a047167267b97c4ec92f64fb17c7c8f548114f0d0c6e78ddb9463b5f1299 EBUILD aalib-1.4_rc5-r10.ebuild 1996 BLAKE2B 86b6da78471851cc9d7573d75a3fe59437e6e525bb4f550fd28a1c58d7e38e5962105f2e29250f509a15c28d0f46262db8e31ab8dd896696dfd8a24d31b57faf SHA512 4ebb97ccb589b7a5b485e82409a658c523c7a9d87184aca0b3f763d5471a27ad09ab6a79a3666bb296a41825c9f79821ca22fcfde8ef8a2a65cb8134cfa28fb6 -MISC metadata.xml 410 BLAKE2B 2f08a7a6bcc149aafd7d9493ea4f87945b3c38fae8e79a80991fb8b23506b7c503d7a0f4c3acd815537a823b0f2f6f49d727d0d34d1476b988811acfa6e89905 SHA512 b35f23f666eb8225269db37aeadf96af19d464b3835933d8fbae839c574cff6ff71bc9553260e383a2a77ca798063eb2529452c99057c4fbd0a0c028ccf86cdd +MISC metadata.xml 304 BLAKE2B b65e1f76bcfc32ca5437f1b0d3125851047adcd4e3f0703c61b3d7fcf069349263dadb428a6bad946cd3e58ab9168340721f8b728b0204dddf6985aa8311f385 SHA512 c81ea7d8442a925944c7c1c84d2c04e3af7b068565140577e21725f058fae8e048971b017b989479a9b5e97378e489108483e16f6e9f6701ad7514a94ae02c7f diff --git a/media-libs/aalib/metadata.xml b/media-libs/aalib/metadata.xml index cc413d659809..2c0ad0577842 100644 --- a/media-libs/aalib/metadata.xml +++ b/media-libs/aalib/metadata.xml @@ -4,10 +4,6 @@ <maintainer type="project"> <email>media-video@gentoo.org</email> </maintainer> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> <upstream> <remote-id type="sourceforge">aa-project</remote-id> </upstream> diff --git a/media-libs/elles_icc_profiles/Manifest b/media-libs/elles_icc_profiles/Manifest index d3c76a21e424..88378a4d3749 100644 --- a/media-libs/elles_icc_profiles/Manifest +++ b/media-libs/elles_icc_profiles/Manifest @@ -1,3 +1,3 @@ DIST elles_icc_profiles-20160501.0932.tar.gz 334145 BLAKE2B c2aa9b8720a83d9296e87e0dc56c18e34536a395d80412589d29a5d39bb36ea8c83929afdc1c36b335f3bff4b6d19b5793fd25b8ec45ca49ad159008a70e1f2e SHA512 10a3df45aadf923b2d7ff9c8ee906b000e70ad7d17c1a5005f889b49c6d57849c8befb5c4ed92748908bd5506789b6877c0504666de43c1a8621f646ab665e2f EBUILD elles_icc_profiles-20160501.0932-r1.ebuild 566 BLAKE2B 244cd876b0bb0e9aeb1af6eb60d7822849f921df2b6796a617cc5afe58f4b4ea6f8fdc432f9d94fbaed699e920a3f880eb74f8ac6890f988e47fee73a207a865 SHA512 f56fcc232011c10ad57f468c9479578375c808e033390a5f05cfe5d48f19566ae467a6e6ae8d5ce0a96d9a0cf0cc050c2c21c0b80529ddfd5df35c65404e5e81 -MISC metadata.xml 1180 BLAKE2B a071ad5d9b4d0b99eef944a1809f1fa7d78dfe0fd1d89b148869e96a0ff242b137785a690efe71517bc3e3803b77ba51e17112427023d63cd375ce6da36ca96e SHA512 a470f06245232d344c30baed374a77118350ead2cb0dcd6bfa20115adaab733b672d7fdeff0dcec467efcbc126d133290ff031c351d3b21c9ff736ffd5d0f891 +MISC metadata.xml 1102 BLAKE2B 546e7c0625693d993edb8beb50c4505f259799165514b2844621852d5241f95bda86baa2bc0bc4a2f45389abd8edba6912329792e63ea3f6b35929831c142b1d SHA512 83c07e3a60deb136ecc908b73b8209290d169ed12321a72a8fb64589cc07a956641b6542a8f4720b3485e2b7ff76465888cf36fb136878d5d172cac68727a610 diff --git a/media-libs/elles_icc_profiles/metadata.xml b/media-libs/elles_icc_profiles/metadata.xml index 011f464ec752..e968f56724f4 100644 --- a/media-libs/elles_icc_profiles/metadata.xml +++ b/media-libs/elles_icc_profiles/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> + <!-- maintainer-needed --> <stabilize-allarches/> <longdescription lang="en"> Elle Stone has developed LCMS-based ICC profile-making code which diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 6a1e1486dce8..7583b8a4bb34 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -2,9 +2,11 @@ DIST harfbuzz-8.3.0.tar.xz 19002808 BLAKE2B 3749d2ff7955e135cf0d740bf6fe8b5c20a6 DIST harfbuzz-8.3.1.tar.xz 19228384 BLAKE2B 84a371284a281a19c3b1f6f9a47dd92060e6fe2b6f4d2469e45e5dbce58b0b151414fa70057bca352a626d8b852ac251168a9749ccac5436ee06280165d31821 SHA512 47bb8150faf215d317a434f78c3029261924aae5ff479fbd3a5d62dbbbfce159460fcbc6f53c3c8ec85b09fad5ae0c9d591d67a0ca70424f43ed5b7849eef4ea DIST harfbuzz-8.4.0.tar.xz 19241260 BLAKE2B 03d6bf0f70354d01ee85edb9fb80d48a91301f862f94f66fddc57ec808105dbeea013e595e2ee616d364773bb68bf5135d4cd44f31a5d3894952a1dced98855c SHA512 9d79ea86f7642f2f1a8726e12a48363eb395162c9b50524e7651b63ad3bb458a69fc82427dbcbfe2550231138f7e454b2c12097a51890f63c645fa3dc668f542 DIST harfbuzz-8.5.0.tar.xz 19468172 BLAKE2B f598d7de953834499d1ab36c0fc9d95099fd7e99b87f630e1527aaa39deb2d339b9f3caaea3643238c6c1b321557f794f273929950b54fe9de2faa430d77855a SHA512 d5762f77b0913792d34596e6f3adb98ab693e2ef928396f997ca2e647ca7cad13fdd204fa15b49e2f7c33320ff210d7f078215d5765c9365571458b919a4f10c +DIST harfbuzz-9.0.0.tar.xz 17895360 BLAKE2B fd35c41d25e77c96b1fc760b8ca0ffd1ac8f3382b51991bb28797d55c2171bf0700ac65266996bf5cab82b8e9c835c2fad9c8374d9c60d2a361c924d805afbf6 SHA512 2700b560727d9c4440ad9c74a170b857f20f9e553e5d98b0c4bcf086a25ba644149d7c89009a41d964af7a924efcc486da4dcbfa5cc4d47f9f10e9b6b8c689af EBUILD harfbuzz-8.3.0.ebuild 2658 BLAKE2B 34ffbc7643580e719a5322ea2eeade70283f8228b3df4b04f1415b7dbeb9fa1f616c719e724d47130635dd02c2eedc7e485172c8d43b9d8b53d32d1489a74bf9 SHA512 355605cea7c1769706c8446057209539dc1bdb320af6501095c09ec51677fd0f017aefd46d3463af9d2248f96ce0e65e000f8350bef4aa63960d657f68be4e43 EBUILD harfbuzz-8.3.1.ebuild 2666 BLAKE2B ce30bfc0d75c1f8c3ab878ba84b13a2f67b42aa99f2ff59fd4be558dc23ae7da0a08b90d0aa78e291c9d2edbfa8f199a1092793605feeb488aa42c0edec05940 SHA512 73edd912dd62c16c83cf9e05622d55e386aad1aa7bb942a6253608200b2fc067e969e0c029eef9166c9d6b049f9f9da58f863e29cb81a6a3639622cbdc85f0dd EBUILD harfbuzz-8.4.0.ebuild 2714 BLAKE2B 9384baff4e8f17ea5eed5d98c06154f8b0b9c44d91a2c9711f9be092d10801de9a0125ab9f27b8450b18e86b69a5d6f8a5fd0f277670c84d5bfc8b5f71053129 SHA512 3eee664d83089939d5b4b085d971518958445e1594403fae2f1bc19c58e0a4bdea62dc23a931b823ac373dfe2adedc1a2aa2a2709e86f087095300bc9970f8c1 EBUILD harfbuzz-8.5.0.ebuild 2722 BLAKE2B e46cb23de9dec781febd032783f135026709049c36a4bf8e936432d048a3acca07cc500b67c3023b5669e3002aa66cf62e9375177e1b35c502ed98ed726dbc5d SHA512 6c4da7c265bf31599f30b009b9b0a0c42b13e6df8736ac8cd862b1b469e141980c3a53be646b93f979d9d7655fdb301c3a33498dffbd7f547d21be5d0ae4db42 -EBUILD harfbuzz-9999.ebuild 2722 BLAKE2B e46cb23de9dec781febd032783f135026709049c36a4bf8e936432d048a3acca07cc500b67c3023b5669e3002aa66cf62e9375177e1b35c502ed98ed726dbc5d SHA512 6c4da7c265bf31599f30b009b9b0a0c42b13e6df8736ac8cd862b1b469e141980c3a53be646b93f979d9d7655fdb301c3a33498dffbd7f547d21be5d0ae4db42 +EBUILD harfbuzz-9.0.0.ebuild 2426 BLAKE2B 173e25f2d675f85245d22639e6ea4600923b824edc3d611a9eb27809c11cb2f17cec4bce92f1ffcf8a8f43fa5f4ff2c0806dce233eb52642d2cceab167d43349 SHA512 fb86b70e62f260f49f0429d4d3202a26be2a806eff44190bd280c13e1f7c02ff4cbc576f22ccefa4a8448757bdb54c5bc1c2a130a1df00c3f4e7dc0b6d6a26cc +EBUILD harfbuzz-9999.ebuild 2426 BLAKE2B 173e25f2d675f85245d22639e6ea4600923b824edc3d611a9eb27809c11cb2f17cec4bce92f1ffcf8a8f43fa5f4ff2c0806dce233eb52642d2cceab167d43349 SHA512 fb86b70e62f260f49f0429d4d3202a26be2a806eff44190bd280c13e1f7c02ff4cbc576f22ccefa4a8448757bdb54c5bc1c2a130a1df00c3f4e7dc0b6d6a26cc MISC metadata.xml 649 BLAKE2B a03eb9e2b09fab01af900957a9f5d0a43836a77ce770bc2327bc8da299139d1175b59cc413d0a02d74d4fc4169ff3c9180a5c1cf8d6ff570b054bbceb55e89ba SHA512 94c0c007157e240abc17056e2efe877770ee0267bf9d710fdbac796110f4507d2bc628c3b22f74652a9c568e7c60fa513e680aeeb8895831aafede268c14be70 diff --git a/media-libs/harfbuzz/harfbuzz-9.0.0.ebuild b/media-libs/harfbuzz/harfbuzz-9.0.0.ebuild new file mode 100644 index 000000000000..a5dd866908b4 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-9.0.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic meson-multilib python-any-r1 xdg-utils + +DESCRIPTION="An OpenType text shaping engine" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git" + inherit git-r3 +else + SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="Old-MIT ISC icu" +# 0.9.18 introduced the harfbuzz-icu split; bug #472416 +# 3.0.0 dropped some unstable APIs; bug #813705 +# 6.0.0 changed libharfbuzz-subset.so ABI +SLOT="0/6.0.0" + +IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype" +RESTRICT="!test? ( test )" +REQUIRED_USE="introspection? ( glib )" + +RDEPEND=" + cairo? ( x11-libs/cairo:=[${MULTILIB_USEDEP}] ) + glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) + introspection? ( dev-util/glib-utils ) +" + +src_prepare() { + default + + xdg_environment_reset + + # bug #790359 + filter-flags -fexceptions -fthreadsafe-statics + + if ! use debug ; then + append-cppflags -DHB_NDEBUG + fi +} + +multilib_src_configure() { + # harfbuzz-gobject only used for introspection, bug #535852 + local emesonargs=( + -Dcoretext=disabled + -Dchafa=disabled + -Dwasm=disabled + + $(meson_feature cairo) + $(meson_feature glib) + $(meson_feature graphite graphite2) + $(meson_feature icu) + $(meson_feature introspection gobject) + $(meson_feature test tests) + $(meson_feature truetype freetype) + + $(meson_native_use_feature doc docs) + $(meson_native_use_feature introspection) + # Breaks building tests.. + #$(meson_native_use_feature utilities) + + $(meson_use experimental experimental_api) + ) + + meson_src_configure +} + +multilib_src_test() { + # harfbuzz:src / check-static-inits times out on hppa + meson_src_test --timeout-multiplier 5 +} diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild index 3fd6ad53a21a..a5dd866908b4 100644 --- a/media-libs/harfbuzz/harfbuzz-9999.ebuild +++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild @@ -49,32 +49,17 @@ src_prepare() { xdg_environment_reset - # bug #726120 - sed -i \ - -e '/tests\/macos\.tests/d' \ - test/shape/data/in-house/Makefile.sources \ - || die - # bug #790359 filter-flags -fexceptions -fthreadsafe-statics if ! use debug ; then append-cppflags -DHB_NDEBUG fi - - # bug #762415 - local pyscript - for pyscript in $(find -type f -name "*.py") ; do - python_fix_shebang -q "${pyscript}" - done } multilib_src_configure() { # harfbuzz-gobject only used for introspection, bug #535852 local emesonargs=( - # ICU 75 needs C++17 (bug #931090) - -Dcpp_std=c++17 - -Dcoretext=disabled -Dchafa=disabled -Dwasm=disabled diff --git a/media-libs/libjxl/Manifest b/media-libs/libjxl/Manifest index 50399445e24a..a9b594813897 100644 --- a/media-libs/libjxl/Manifest +++ b/media-libs/libjxl/Manifest @@ -4,6 +4,7 @@ AUX libjxl-0.9.1-backport-pr3143.patch 1065 BLAKE2B acc6ab904994f42cffe192969665 DIST libjxl-0.10.2.tar.gz 1912303 BLAKE2B 9677d0d35d877ce269c9958accfbb5ee55d446dc0e8fa64df9323c1db3993613752803aae63a48c18eeb72ae91c2a044a1fab0a83ddf28fdf8395ddb67a72414 SHA512 1d19f30c0ae94e212326a15dc128612bce207e619c55c2a020401a27d01a933de71bb35e907521dc8fd853dd5578d74d74f7a5a282f0083fd22cf9cb07ccb96e DIST libjxl-0.10.3.tar.gz 1912351 BLAKE2B 4432ecf34ac03d9ce8fc814835c7ee31fcc1e516b95e347dcb201a6996e1ffaadbd2e78a6a235ee1c4ff5121af495b8bc621e6738e2d03a8eb1639fb397e5246 SHA512 5ece482f4c5f0312e87e020f921525622a6d3f1a3834f3cd8666638fc8d0fba8cd072ef58f7b153dc17ca19071ebae2fbad7b08e6d440c2669f4f1b35888a7d4 DIST libjxl-0.8.2.tar.gz 1612062 BLAKE2B 2b5e65cde6c85881c5f26f676afec825c974f6919c3cc3f056ca4a9679162e89f2de35ab7d0b2a60782d39eca1f4ddad779f8d25d3f520417f6d9dea71e854db SHA512 769f102c46755d11a705ce47ae9e2ef49627ae708f416693bf1293aeeb713934baf4466e45b9c70b04ec1fc8b4a00d5ca7688c8ca03f0a91c9a15252c522a887 +DIST libjxl-0.8.3.tar.gz 1612441 BLAKE2B d1c3b108c67d0a3a63ce50cdc7305b6853b182ec6c210d499e15120fbb858dada23997a4a0eb545f936e02230ed773506b066f24e19cce1f99aedaafd2bd7803 SHA512 f7fb4b2b0fd2459bec86918371369e80de59549c8dc24ff5c83546f564e54c81ea6a72720af151e3f9b64ef326f3ec8a5a6e0023b7fe2de14b056e501af579ef DIST libjxl-0.9.2.tar.gz 1873156 BLAKE2B 558d82dfaa2e5e4fdb07542b2daf4b80f661dec46986d412bdc2b1af0ac4b501f9e533eefd73e923b94a54f82695c4aed5cc531abc9e818ab4faf0aab0267b94 SHA512 97bc0ccd249fe0fa6d0f52c470a0d0bd181e3f00cd9820dda5ca437dff260e6c9e2c95dceec4bd9354c3adc4fc6724228cb027c537af6df7d3f90ab8ee61653f DIST libjxl-0.9.3.tar.gz 1873236 BLAKE2B eb3811ef4fc64bb5df2e06b6b86cbc1b5dbe6eb9728e5ad5a8b791be57359eb63442722cdf629b006be518bf575409b93758d7ec0376a596de4405fb7686b7f2 SHA512 8aace2d8c0ece9db64a1620a10581ddc5a450543db64d44f864eaa5d3b8b3f0466c501fed5d58abdbf6eb5f90af25f6370c33718847bd070e851a02b560f541e DIST libjxl-testdata-d6168ffb9e1cc24007e64b65dd84d822ad1fc759.tar.gz 67553075 BLAKE2B 779fee87386e617edd93bca7a523fa1ab223ae88114c3cc5484987a7c92cca2d0bb3d668fa3c8064b2a0255c17a06447c009f4fbf9ef379692ddfa37dee1be97 SHA512 a48d74a1ccff404eb7675225b59965e056dc3fc09930572785d83bae03fa1c38e105336dbf5ecfc3f0995e8b8bfb1097b451ae661f2933590b2b152192c8aa2f @@ -13,6 +14,7 @@ EBUILD libjxl-0.10.2.ebuild 2722 BLAKE2B 628d35e59657616b49b5ab54308c3d8600bc18c EBUILD libjxl-0.10.3.ebuild 2945 BLAKE2B 00773bbe7fe462c425558fc9456f5871ab70a9083a52746e5fd8f0a0bf939654d4528213a85aa0cff31ee9722891b2306e14b962c58953ed65ceaa4585c778e2 SHA512 1b3470cb66f1bad55f76c4bb1b24f01a85973be5199e9cddba758e40714dce21b90a28eaeb5693c9906784448492e049ab337ddb6f07e5cb8651d57b9b52fe86 EBUILD libjxl-0.8.2-r1.ebuild 2339 BLAKE2B 5e919bdd10fe20de0b45122a7ed2f037ef3e54c4c17a385bdc930288c8b9ccbabf0de82bedfe8510999ea8085d37981764243662fccd872f29ba19ac14d9c407 SHA512 f9227486972af086b08140bd81bd02cb3f303792f168fb05ef9dc5c743c6ad576da3f2a5616b31aeefdaa77d1c7fef6a04da0fdd36648ad7361aaaee2ce7f603 EBUILD libjxl-0.8.2-r2.ebuild 2571 BLAKE2B 3d66e80efb11dd03ab12446eba565a26b136cd75644c8d5dd976fb2bc47bb0129e9afdd091b2200b9e62076ec0586b72cdcb4eb3c919aebfde91b02b6acc78a9 SHA512 f1ba0c1652f21bcba6bf8825d925cc97e2c9340711afeade8d7aa76ca2588bb81f7949e84139fe44aebb150e560a11f301e580a1f5564073f789d91d35c261ff +EBUILD libjxl-0.8.3.ebuild 2571 BLAKE2B 3d66e80efb11dd03ab12446eba565a26b136cd75644c8d5dd976fb2bc47bb0129e9afdd091b2200b9e62076ec0586b72cdcb4eb3c919aebfde91b02b6acc78a9 SHA512 f1ba0c1652f21bcba6bf8825d925cc97e2c9340711afeade8d7aa76ca2588bb81f7949e84139fe44aebb150e560a11f301e580a1f5564073f789d91d35c261ff EBUILD libjxl-0.9.2-r1.ebuild 3007 BLAKE2B 6ded330ffaf6eb2daf3a402c91b4abd16769ff3e41b86d08f7717d27b76806a4e95a27a5f5a5b824b6068038616d863145e75458d1716ab0bcf9720acb38c6ea SHA512 1fcf2d77d03f317f07569d2124771abda3827043738e98c105961ae9ed1d9099aafa7972d7c57d154465fd7ae9f400390c3764287f7758663cf4f860cf25910a EBUILD libjxl-0.9.2.ebuild 2784 BLAKE2B bb08ef63e10bcc07381fac168baa3b596f93e91c3d648b89f2a7ec0296b1bb4713fa91459faab76a08f89fe77cb23051131f19b3dcf1d6be3843b41ad6f8f271 SHA512 aeeca7ebde32c21a18e07d0b8e3c54fbdaa13b53d1c9eb642f53d34a56fd7b206d519c8f617d78fc691ffcd69745282577c589df3bef8af0692e9ef3346c2c06 EBUILD libjxl-0.9.3.ebuild 3007 BLAKE2B 6ded330ffaf6eb2daf3a402c91b4abd16769ff3e41b86d08f7717d27b76806a4e95a27a5f5a5b824b6068038616d863145e75458d1716ab0bcf9720acb38c6ea SHA512 1fcf2d77d03f317f07569d2124771abda3827043738e98c105961ae9ed1d9099aafa7972d7c57d154465fd7ae9f400390c3764287f7758663cf4f860cf25910a diff --git a/media-libs/libjxl/libjxl-0.8.3.ebuild b/media-libs/libjxl/libjxl-0.8.3.ebuild new file mode 100644 index 000000000000..ff3f34b606fb --- /dev/null +++ b/media-libs/libjxl/libjxl-0.8.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +# This changes frequently. Please check the testdata submodule when bumping. +TESTDATA_COMMIT="d6168ffb9e1cc24007e64b65dd84d822ad1fc759" +DESCRIPTION="JPEG XL image format reference implementation" +HOMEPAGE="https://github.com/libjxl/libjxl" +SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz + -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="gif jpeg openexr +png test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/brotli:=[${MULTILIB_USEDEP}] + >=dev-cpp/highway-1.0.0[${MULTILIB_USEDEP}] + >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}] + gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + openexr? ( media-libs/openexr:= ) + png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + >=x11-misc/shared-mime-info-2.2 +" +DEPEND+=" + test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.2-backport-pr2596.patch" + "${FILESDIR}/${PN}-0.8.2-backport-pr2617.patch" +) + +multilib_src_configure() { + local mycmakeargs=( + -DJPEGXL_ENABLE_BENCHMARK=OFF + -DJPEGXL_ENABLE_COVERAGE=OFF + -DJPEGXL_ENABLE_FUZZERS=OFF + -DJPEGXL_ENABLE_SJPEG=OFF + -DJPEGXL_WARNINGS_AS_ERRORS=OFF + + -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif) + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) + -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) + + -DJPEGXL_ENABLE_SKCMS=OFF + -DJPEGXL_ENABLE_VIEWERS=OFF + -DJPEGXL_ENABLE_PLUGINS=OFF + -DJPEGXL_FORCE_SYSTEM_BROTLI=ON + -DJPEGXL_FORCE_SYSTEM_GTEST=ON + -DJPEGXL_FORCE_SYSTEM_HWY=ON + -DJPEGXL_FORCE_SYSTEM_LCMS2=ON + -DJPEGXL_ENABLE_DOXYGEN=OFF + -DJPEGXL_ENABLE_MANPAGES=OFF + -DJPEGXL_ENABLE_JNI=OFF + -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF + -DJPEGXL_ENABLE_TCMALLOC=OFF + -DJPEGXL_ENABLE_EXAMPLES=OFF + ) + + if multilib_is_native_abi; then + mycmakeargs+=( + -DJPEGXL_ENABLE_TOOLS=ON + -DJPEGXL_ENABLE_OPENEXR=$(usex openexr) + -DBUILD_TESTING=$(usex test ON OFF) + ) + use test && + mycmakeargs+=( -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" ) + else + mycmakeargs+=( + -DJPEGXL_ENABLE_TOOLS=OFF + -DJPEGXL_ENABLE_OPENEXR=OFF + -DBUILD_TESTING=OFF + ) + fi + + cmake_src_configure +} + +multilib_src_install() { + cmake_src_install + + find "${ED}" -name '*.a' -delete || die +} diff --git a/media-libs/libprojectm/Manifest b/media-libs/libprojectm/Manifest index 17b71cfd131c..d4e94acdab43 100644 --- a/media-libs/libprojectm/Manifest +++ b/media-libs/libprojectm/Manifest @@ -1,9 +1,8 @@ +AUX libprojectm-3.1.12-GL_SMOOTH.patch 555 BLAKE2B b282f0182a3844feaeda0ab9332cdc4ab234cd38410d7ab4715d0a0fc270b0bc82f233122211740c6afe95b12b703e47e139597c553956af1a94355fd04d6b2b SHA512 f0ceb5132987437c4293228ccf8ef4ffc4de84400b5bafbdedb52fe6d23a074cb0532e741bcb8a098529b07600ba2296e62312927f93f288144880040f201c5d AUX libprojectm-4.1.0-patch-include-dir.patch 352 BLAKE2B a5259cb92ab401f04fb24dcf615bf2ec04491c650b39db246fed2b6c889a5781a7ace32edaf58a2baf04e5724adc123c1bde45f95440ca489af20ae7937ba358 SHA512 37ee8f7662ab2cd5135159b071297c4c72bce602b4af9bbbff3769f6c22795a9421aa14270cbdfb7ba831d0b37456b0dc1b343f713aead6ae77e415374314164 DIST libprojectm-3.1.12.tar.gz 52831726 BLAKE2B f9a9ecf8fc55b49e664a61a5c0ca3eef745b00390d5dd3b1549d6d68985c246834d35adb96ab8595e2bf78997c4688096c7931a6be54ea9d867bfdbe5a427832 SHA512 6d265280f3e3e952686ebf77afd8b083669e9ab81d2d9d122168d47747c367ff3b17ab682cc041e4ac9cee9607b7393b5dcb067deac95fcbb97d63a9656912a5 -DIST libprojectm-4.1.0.tar.gz 47988290 BLAKE2B e593ddec881880fd767b0a89272e12fd383bf4695962243e2f9a968d0a09ee9522d5b60b783ec04b202fec53df4dfb006d940102bb2e548571275f525357e0fd SHA512 034b217e65ddea246c460ea72b69fdb5836b2e8e34cf9d72d705258e10dba01132265010902da0ac1baf2bb52f2453ce38bfb3934a4816f17304a01963829a42 DIST libprojectm-4.1.1.tar.gz 47988154 BLAKE2B 47fd71d857f307ea09c87d36102662423d1df4d62f36f23373fcba36760312bd4e4d11408a3f4820b5caedd2e31bfd0dfc1e551c1bf27eb0ba33149f8ea13ebe SHA512 af38913e56d46ed15118b2dccd2701f9bf043bb3103f58ad2ebbfaffc60c3ed4e1b0eb3d8f922bdffb0001acfa5e3d23633a4903250fd00ede0dede1e6e1ba47 -EBUILD libprojectm-3.1.12-r1.ebuild 1388 BLAKE2B 3bf676723ef85052920d596d1ce534f19e4fa8b6c80750063c0d0accca8f01f4048eb12389471c9edabf573b4820f83b8e310cb8ad75f16afe9c0595ac4784f0 SHA512 96439122ae71e39eb4338648d864417991c6cfddb36e0842996515c33e47e8ac9f1fa7a2fcd58d77fd2ceba981080fd1b0726266b3654b034ea25ffd59487dff -EBUILD libprojectm-4.1.0-r1.ebuild 1158 BLAKE2B ffb2b17b20b51753e35d4a0901de21f077e81110593a28328a4cd600712436a9b983f4b21581e2bc8408feec29af7d88609df112b501611842f4bbd29af39b78 SHA512 e88d72e162c5c1a93474e319cf542bd198d270f544075e89e67cea7c5d417ef7b59fb3604ada1a956b6e2406129fd60dc6d6b723891494ad6edb57860c8900b2 -EBUILD libprojectm-4.1.1-r1.ebuild 1088 BLAKE2B 138bf437496a54eddecf96cad58e689e5561d52e78682c1db20e313eff7a14976dde0ee46464d46725ab6a451a699eef1383e3ea84a7f77cafa7be81452997a1 SHA512 28d151be05c67e57955bacd24a2ff88a4d2d229ccfa2681bdfed24ee3544cc79464ffbcc7f7757933ddd583f0ec04fe609636d35f25b3edb0dd8cfc4af733c94 -EBUILD libprojectm-9999.ebuild 1088 BLAKE2B 138bf437496a54eddecf96cad58e689e5561d52e78682c1db20e313eff7a14976dde0ee46464d46725ab6a451a699eef1383e3ea84a7f77cafa7be81452997a1 SHA512 28d151be05c67e57955bacd24a2ff88a4d2d229ccfa2681bdfed24ee3544cc79464ffbcc7f7757933ddd583f0ec04fe609636d35f25b3edb0dd8cfc4af733c94 +EBUILD libprojectm-3.1.12-r2.ebuild 1430 BLAKE2B b258d36deab18db1cd795941e9f8314974d33504e0b7b8c2fb0caa3e892f1f475eefa85df17689c9b7404899170b4b250a0d01512351d91672690caac1e8c34e SHA512 2ccc4cc5912c88cbf6460f76d7beffa2f5c0cedb9fe2142a00d1e597bed23f94d2db03b8a7b7b6f89890789a3cfb7adc095a450c39c32e4ee152a6d34a24e400 +EBUILD libprojectm-4.1.1-r1.ebuild 1107 BLAKE2B 3becb7095e128e72ffefe14d186c9f6a3ea9ab4f3f0c6b4d7795811b39df15ab350be26968312f441ab2e56609889d6225570e34847510f757add590f4fe6442 SHA512 450fe7c191016c180f63b1b9c0b6dab2dc130599c47ae4c28b199123656c340ebca16118aa1e2f4ac9d6aa843d0babf931d17433faa407ac0c851c3bcdef2015 +EBUILD libprojectm-9999.ebuild 1107 BLAKE2B 3becb7095e128e72ffefe14d186c9f6a3ea9ab4f3f0c6b4d7795811b39df15ab350be26968312f441ab2e56609889d6225570e34847510f757add590f4fe6442 SHA512 450fe7c191016c180f63b1b9c0b6dab2dc130599c47ae4c28b199123656c340ebca16118aa1e2f4ac9d6aa843d0babf931d17433faa407ac0c851c3bcdef2015 MISC metadata.xml 537 BLAKE2B 10a5d33fab64136cfe13e98831827ac21db70fc50262f89b88c0e444981b951695788a939e902c57ed3ccb69a740d8743a3bdca465bc51be0c14f28adb107242 SHA512 648699f222528a76e343792d819e69ff933e3e2d96fe4b38148b4053ad38ac684c4917ce62636abaaee8b3093837af09448e1a7e65cfcd928606295bcc0a36b4 diff --git a/media-libs/libprojectm/files/libprojectm-3.1.12-GL_SMOOTH.patch b/media-libs/libprojectm/files/libprojectm-3.1.12-GL_SMOOTH.patch new file mode 100644 index 000000000000..874d22aab6d0 --- /dev/null +++ b/media-libs/libprojectm/files/libprojectm-3.1.12-GL_SMOOTH.patch @@ -0,0 +1,13 @@ +Unable to replicate error myself, but fix for https://bugs.gentoo.org/792204 +from https://github.com/projectM-visualizer/projectm/issues/449 +diff '--color=auto' -ru a/src/projectM-qt/qprojectmwidget.hpp b/src/projectM-qt/qprojectmwidget.hpp +--- a/src/projectM-qt/qprojectmwidget.hpp 2024-06-26 10:48:30.825008203 -0000 ++++ b/src/projectM-qt/qprojectmwidget.hpp 2024-06-26 10:49:03.265800570 -0000 +@@ -23,6 +23,7 @@ + #define QPROJECTM_WIDGET_HPP + + #include <iostream> ++#include <GL/gl.h> + #include "qprojectm.hpp" + #include <QGLWidget> + #include <QMutex> diff --git a/media-libs/libprojectm/libprojectm-3.1.12-r1.ebuild b/media-libs/libprojectm/libprojectm-3.1.12-r2.ebuild index c3d809e3beee..3a4f384196d3 100644 --- a/media-libs/libprojectm/libprojectm-3.1.12-r1.ebuild +++ b/media-libs/libprojectm/libprojectm-3.1.12-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit autotools +inherit autotools xdg DESCRIPTION="A graphical music visualization plugin similar to milkdrop" HOMEPAGE="https://github.com/projectM-visualizer/projectm" @@ -40,7 +40,7 @@ RDEPEND=" dev-qt/qtopengl:5 ) pulseaudio? ( - media-sound/pulseaudio + media-libs/libpulse ) sdl? ( >=media-libs/libsdl2-2.0.5 ) sys-libs/zlib" @@ -70,4 +70,5 @@ src_configure() { src_install() { default find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die } diff --git a/media-libs/libprojectm/libprojectm-4.1.0-r1.ebuild b/media-libs/libprojectm/libprojectm-4.1.0-r1.ebuild deleted file mode 100644 index 810bd4f46b26..000000000000 --- a/media-libs/libprojectm/libprojectm-4.1.0-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -DESCRIPTION="A graphical music visualization plugin similar to milkdrop" -HOMEPAGE="https://github.com/projectM-visualizer/projectm" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/projectM-visualizer/projectm.git" - inherit git-r3 -else - MY_PV="${PV/_/-}" - SRC_URI="https://github.com/projectM-visualizer/projectm/releases/download/v${MY_PV}/libprojectM-${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - S="${WORKDIR}/libprojectM-${MY_PV}" -fi - -LICENSE="LGPL-2" -SLOT="4" -IUSE="gles2-only static-libs" - -RDEPEND="media-libs/libglvnd[X(+)]" - -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/libprojectm-4.1.0-patch-include-dir.patch -) - -multilib_prc_prepare() { - cmake_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DENABLE_SDL_UI=OFF - -DENABLE_CXX_INTERFACE=OFF - -DENABLE_GLES=$(usex gles2-only) - -DENABLE_SYSTEM_GLM=ON - -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON) - ) - - cmake_src_configure -} - -multilib_src_install_all() { - default -} diff --git a/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild b/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild index 85e9805a42d7..404241093774 100644 --- a/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild +++ b/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild @@ -22,7 +22,10 @@ LICENSE="LGPL-2" SLOT="4" IUSE="gles2-only static-libs" -RDEPEND="media-libs/libglvnd[X(+)]" +RDEPEND=" + media-libs/glm + media-libs/libglvnd[X(+)] +" DEPEND="${RDEPEND}" diff --git a/media-libs/libprojectm/libprojectm-9999.ebuild b/media-libs/libprojectm/libprojectm-9999.ebuild index 85e9805a42d7..404241093774 100644 --- a/media-libs/libprojectm/libprojectm-9999.ebuild +++ b/media-libs/libprojectm/libprojectm-9999.ebuild @@ -22,7 +22,10 @@ LICENSE="LGPL-2" SLOT="4" IUSE="gles2-only static-libs" -RDEPEND="media-libs/libglvnd[X(+)]" +RDEPEND=" + media-libs/glm + media-libs/libglvnd[X(+)] +" DEPEND="${RDEPEND}" diff --git a/media-libs/oidn/Manifest b/media-libs/oidn/Manifest index 049d78f07762..a44a14da182e 100644 --- a/media-libs/oidn/Manifest +++ b/media-libs/oidn/Manifest @@ -4,8 +4,10 @@ DIST oidn-1.4.2.tar.gz 54221996 BLAKE2B bb6593e2e15877f65d9224fc93dac72aff6d567a DIST oidn-1.4.3.tar.gz 54222682 BLAKE2B f9b585c318258fd78e221a453b64e83965a3e5035a912baa49e4d5b48466441bf1d3c15291de2cd4d36e9da187ff7a643bb9d4af5282cdbb8b6bc99fb3cda0d0 SHA512 6fbdf347763c0734140195a523cf0878b1dbd91d4943c9ce4928f6991549f8b3d5ab4d57b90e20a8d04a87d00e3a1554ce73a3a3c1e64fcb016a3c1f8aa07982 DIST oidn-2.1.0.tar.gz 48977314 BLAKE2B 0fc32697df7fc6b8b367a78312a5b16ab68a5c88a2d19a8780e9de87c7e7096d7fe43dbd07928f2eba44c62fb4545338fc92f918dd4c33623259d0088a06a854 SHA512 508cb100f1a0a825774c2c01e0fc983e697341745fa0bfa48a99bfa70fc431f66fcdf17c3f170e40baefd7c3796a25d147f49cb17efbf1a1886556367c5c4566 DIST oidn-2.2.2.tar.gz 49006605 BLAKE2B e3d32cc2112ded280e642c5d69fb2ef14db59df4f5224bff79e82ede207899c9dbfa43dc663ad9ccc15a6497e363df0b91b43660729962c410b7ec75ac1b3465 SHA512 eca18e9e22a40bc1381e75985e5f5e79f48cc6d168a2a703e54540967646487d347db290459e9a612d8ab4924e8d3c83d84664fd5318cca4f17745da1e47cf50 +DIST oidn-2.3.0.tar.gz 75300547 BLAKE2B 88a5922b4db63c48ab69047dca8d1077205a6d7a2112971badb0cd35e0b770017f5cdcc95d2ef07016fe2e990e3e5806ac6a0800b67086b958948c542f0dff6f SHA512 4f68ce3b0da37e1861090d60d7cd823046f325c45a8e2c3f4098eb3b4f7ec676d2acbb9c138ff60a9f83188dd0dcbaba42106aad96beafc5e65045c77c00f2f8 EBUILD oidn-1.4.2.ebuild 707 BLAKE2B c8c98d1a61c78ae0524100200c9eb02c5d700e6afe043084d30910f822b1e5fb06c41d915ad4c85d213807484199d1d89ae72e86bc723a807015f9a76268f5b7 SHA512 06b247c86ffab4c4bb7ca0e9c9ebb6a20057a3eff294995eb9062c086b7d7e41f3d9e39e1e89c69924a76d5aaea41c5a8e1319a18f77e1a53b6d9bd9e58ea874 EBUILD oidn-1.4.3.ebuild 709 BLAKE2B 83d6551d7c82d920a8339ff43a7ec966e4cd0179b5c0077624b889b600e9123de4cbb690003fffceed311928c333059c22e8f5e397c20763bdfeac47a2f32843 SHA512 90bcc6567182303fc1d15aee57784538e784c5eaae4c80abbc6d0d195162ffb9dd0b0dcfdd05bacea5895df060cd3946d34de2d01ae3f76dfdcc6cc80476d5f3 -EBUILD oidn-2.1.0.ebuild 1541 BLAKE2B 4acca5cb50fb55ca815cf9223f4369222b7e52d0ffe2a32e9a8ae07d73590abc606e7d766d575c651e56995e54d29fcd7fe62fb4a3982148f29a49191a3cb2ff SHA512 4b0a917c7c4bcf58cbe2c2bfff6a45cdf57a2b5d4828ef4b8ee1ee74e145593a4b0418181483e36eb3bf83061643ba62fb2c19b40220e0dccc37356ae6de016a -EBUILD oidn-2.2.2.ebuild 1999 BLAKE2B a9622bdf44c181f3199e21b5fc79cc14b18169120b7d5fb0e317ea5262eb60c13971f34dd86b45bf4945b805c8ee5397ebcad86f2ebea45ea10b5e53d79a0677 SHA512 a4ccce38b7caf2e09a54bdcea667a81a5dc22439e3e953a484707d8d7dd0c126e7a4b806520af30d0a21eebb02d44bf8e078825c0b511a788ead4cd446ce8c25 -MISC metadata.xml 1002 BLAKE2B 09f5331ff0755f9d90597922ee23547ba27ba799bc75e7371bc43c9127e5d9b04954fb9741adb8df264b151afac78e1f51d157fdd2a917b3fd7bd4247fe0bf90 SHA512 8facceffdbe156e4216d70cce518d0bc4806b82fa58aa23f1a2feab7f29543d53cb79f91e525f67cd994e5d328a646cf47321fd054a4d37a2b2dcfb35aa2c318 +EBUILD oidn-2.1.0.ebuild 1745 BLAKE2B 623facc91063e88b56fdc80546e9b1b233a9b245f2441ba20277d11a11959d27a2d5277848530231b26b5b91cd583a43ac3c3a26bc9434678192510ece924ba5 SHA512 42ce153e58919b7addc88adacc11c30c8b7de2813b9f5d6a15dbdfa9b31b2ac39b097077a598bd2f7b2bc693892d64e8111e93e5de30cea39a712fdea1c87a17 +EBUILD oidn-2.2.2.ebuild 2191 BLAKE2B eb83d6bd78509557526685805f24fb64b3e422cd4b3e3fbc3011196a16a6a9386587f056bda509779a01d55e41b4bf5a497fb96cbdc078f98bd1b518aa3dbffe SHA512 3c81dab899bd07b05e2bd97764217e24eeb8e6644f47c9bc75f663c4d8b31f657af72b811bbec39b3024db49ea5ebc1108446b60431edcc9878ef736b8c6139a +EBUILD oidn-2.3.0.ebuild 2192 BLAKE2B 43a1e3fa26d2245721072dfc2471e2b5a767314d56a5806b1233f22d75434dadf7bb160f4faf2f46ed71eb844bbe569012c0cb072ac8d789ad1007a150bc7570 SHA512 b774dafdca5a616fd04127442d2e40cb7c0486fbe0aa6269ab13cfec1eb7ccd20536d806d115bbd20962b650ad7596c0a3122edff1bfccd070cfea701bef4fc1 +MISC metadata.xml 995 BLAKE2B e4acf06e236b5d7497d7e19f20ccc961ea25da8dc3180d51ff76decd6f92cf4c927d6dbf96876ed47cb02e2ad7a42aa2571aa98d65e6b90afbe8a8142a3f090b SHA512 7f3b6cce23de7b0aade535b1fe1cb5af8bf622347731837e87cebcf28471a782825a599be79bf96bb69cd1ce5d36c9a9531d51cde1267cfc86453f94beb70d34 diff --git a/media-libs/oidn/metadata.xml b/media-libs/oidn/metadata.xml index 228559585b99..eb65b09493a5 100644 --- a/media-libs/oidn/metadata.xml +++ b/media-libs/oidn/metadata.xml @@ -26,6 +26,6 @@ </flag> </use> <upstream> - <remote-id type="github">OpenImageDenoise/oidn</remote-id> + <remote-id type="github">RenderKit/oidn</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/oidn/oidn-2.1.0.ebuild b/media-libs/oidn/oidn-2.1.0.ebuild index f3b63b4ce34d..6f9b87d1f737 100644 --- a/media-libs/oidn/oidn-2.1.0.ebuild +++ b/media-libs/oidn/oidn-2.1.0.ebuild @@ -43,6 +43,16 @@ PATCHES=( "${FILESDIR}/${PN}-2.1.0-amdgpu-targets.patch" ) +src_prepare() { + if use hip; then + # https://bugs.gentoo.org/930391 + sed "/-Wno-unused-result/s:): --rocm-path=${EPREFIX}/usr/lib):" \ + -i devices/hip/CMakeLists.txt || die + fi + + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DOIDN_DEVICE_CUDA=$(usex cuda) diff --git a/media-libs/oidn/oidn-2.2.2.ebuild b/media-libs/oidn/oidn-2.2.2.ebuild index 224f56744910..1d059c48a8b6 100644 --- a/media-libs/oidn/oidn-2.2.2.ebuild +++ b/media-libs/oidn/oidn-2.2.2.ebuild @@ -50,6 +50,12 @@ src_prepare() { addpredict "/proc/self/task/" fi + if use hip; then + # https://bugs.gentoo.org/930391 + sed "/-Wno-unused-result/s:): --rocm-path=${EPREFIX}/usr/lib):" \ + -i devices/hip/CMakeLists.txt || die + fi + sed -e "/^install.*llvm_macros.cmake.*cmake/d" -i CMakeLists.txt || die cmake_src_prepare @@ -58,7 +64,6 @@ src_prepare() { src_configure() { local mycmakeargs=( -DOIDN_APPS="$(usex apps)" - -DOIDN_APPS_OPENIMAGEIO="$(usex apps "$(usex openimageio)")" -DOIDN_DEVICE_CPU="yes" -DOIDN_DEVICE_CUDA="$(usex cuda)" @@ -66,6 +71,10 @@ src_configure() { # -DOIDN_DEVICE_SYCL="$(usex sycl)" ) + if use apps; then + mycmakeargs+=( -DOIDN_APPS_OPENIMAGEIO="$(usex openimageio)" ) + fi + if use cuda; then export CUDAHOSTCXX="$(cuda_gccdir)" fi diff --git a/media-libs/oidn/oidn-2.3.0.ebuild b/media-libs/oidn/oidn-2.3.0.ebuild new file mode 100644 index 000000000000..0dd6f000d711 --- /dev/null +++ b/media-libs/oidn/oidn-2.3.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +LLVM_COMPAT=( {15..17} ) +ROCM_VERSION=5.7 + +inherit cmake cuda llvm-r1 python-any-r1 rocm + +DESCRIPTION="IntelĀ® Open Image Denoise library" +HOMEPAGE="https://www.openimagedenoise.org https://github.com/RenderKit/oidn" + +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/RenderKit/oidn.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI="https://github.com/RenderKit/${PN}/releases/download/v${PV}/${P}.src.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +REQUIRED_USE=" + test? ( apps ) +" +IUSE="apps cuda hip openimageio test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/tbb:= + dev-lang/ispc + cuda? ( dev-util/nvidia-cuda-toolkit ) + hip? ( dev-util/hip ) + openimageio? ( media-libs/openimageio:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.2-amdgpu-targets.patch" +) + +src_prepare() { + if use cuda; then + cuda_src_prepare + addpredict "/proc/self/task/" + fi + + if use hip; then + # https://bugs.gentoo.org/930391 + sed "/-Wno-unused-result/s:): --rocm-path=${EPREFIX}/usr/lib):" \ + -i devices/hip/CMakeLists.txt || die + fi + + sed -e "/^install.*llvm_macros.cmake.*cmake/d" -i CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DOIDN_APPS="$(usex apps)" + + -DOIDN_DEVICE_CPU="yes" + -DOIDN_DEVICE_CUDA="$(usex cuda)" + -DOIDN_DEVICE_HIP="$(usex hip)" + # -DOIDN_DEVICE_SYCL="$(usex sycl)" + ) + + if use apps; then + mycmakeargs+=( -DOIDN_APPS_OPENIMAGEIO="$(usex openimageio)" ) + fi + + if use cuda; then + export CUDAHOSTCXX="$(cuda_gccdir)" + fi + + if use hip; then + mycmakeargs+=( + -DROCM_PATH="${EPREFIX}/usr" + -DOIDN_DEVICE_HIP_COMPILER="$(get_llvm_prefix)/bin/clang++" # use HIPHOSTCOMPILER + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + ) + fi + + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/oidnTest || die "There were test faliures!" +} + +src_install() { + cmake_src_install + + if use hip || use cuda ; then + # remove garbage in /var/tmp left by subprojects + rm -rf "${ED}"/var || die + fi +} diff --git a/media-libs/phonon-vlc/Manifest b/media-libs/phonon-vlc/Manifest index 56f696988504..7f73c1253a5a 100644 --- a/media-libs/phonon-vlc/Manifest +++ b/media-libs/phonon-vlc/Manifest @@ -1,5 +1,5 @@ DIST phonon-backend-vlc-0.11.3.tar.xz 67196 BLAKE2B 597ead8300bfcd4dd1a94ee1733e77ea15436eea01924093ba6655d08de7b2334cd39c10e61655adcbf12e5ca1afb239c0ee0bd05fefe2e294cc1cb1ef5c7799 SHA512 11593d15874734d92922bcfd8e038a2a4f528d9145d525d6654aad7bb9d7edb911f31f564d83217341dff3be973c8cf00d91f03b66a90305f4f7ed97c2d57033 DIST phonon-backend-vlc-0.12.0.tar.xz 71664 BLAKE2B 9ace1020d8e9a9e97243706ff81703d3f22bf892f402e44451147a24547d09bcf12f5745377c01d65b4d1fb03cd975b323b2cab62f8136880d1d9c004cca7d7b SHA512 78f5ead829d5025c7cb9e01b33819514d795651d1d932c03bd8cc2ad5d427e5aaaeeb6016820d5a7bb9907f6df1142a0fbc097830d7c63b01f77d2167a0c9264 EBUILD phonon-vlc-0.11.3-r1.ebuild 736 BLAKE2B 68e053bf42c51ecbbad2f94e76cb8b1d982d706320cd4913aa9954cff08b7f4f6332d1f8739bf664c6dda930dbec3ec88177dd6a530c95a36caf6ec59467fa6a SHA512 f5c1296f63b6d71265c4d77b224b38bbc2ccc3b70349bd07db9432643796407f4661d3da97b8a75a556bc50e560a3290c47e4a264a3303c92d060e6fc1b4039e -EBUILD phonon-vlc-0.12.0-r1.ebuild 1750 BLAKE2B 71bb126b6e048818b49f0715ca77432bb1e22ca7724339de6e7f57026e135ba468e56f7f3a888102ae94eb69fa6828fd7602dfeef1088788a90e76dbf270a267 SHA512 ee9a1d4d727d779d4de663449f6d1ae24acc31da281b1b3d986ff349027f0b1b6c504772a0a4ff4539b6c6ed7f34bfbf501200eecc6bfeaceed2474eeac23392 +EBUILD phonon-vlc-0.12.0-r1.ebuild 1719 BLAKE2B 8620f2a9d060edc6f09db5cb15b951683b21d4b340a4c624203edaaad36e90c6ed8b8d24bf252f1073fcbba7e6a4cbceb4a45c24202d605744742536aaa65fa6 SHA512 3456b92382e9f7470f1b8352845e71fd54dd6b0e307a40894388d88ce4f730ee07ae8626dc41ef13bf5a2d236397ca28367fe8157992f9e3a6c339597296bc64 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild b/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild index b7a910e8c334..62f5f652f8ac 100644 --- a/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild +++ b/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://community.kde.org/Phonon" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/phonon/phonon-backend-vlc/${PV}/phonon-backend-vlc-${PV}.tar.xz" S="${WORKDIR}"/phonon-backend-vlc-${PV} - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" fi LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" @@ -32,15 +32,10 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND=" dev-libs/libpcre2:* + >=kde-frameworks/extra-cmake-modules-5.115.0:* virtual/pkgconfig - qt5? ( - dev-qt/linguist-tools:5 - >=kde-frameworks/extra-cmake-modules-5.115.0:* - ) - qt6? ( - dev-qt/qttools:6[linguist] - >=kde-frameworks/extra-cmake-modules-6.0.0:* - ) + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) " pkg_setup() { diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest index 61c55c1278d2..854f1e1958bf 100644 --- a/media-libs/phonon/Manifest +++ b/media-libs/phonon/Manifest @@ -2,5 +2,5 @@ AUX phonon-4.11.1-clang-16.patch 1356 BLAKE2B 2adbe00797db0efab8a065c455b8122bea DIST phonon-4.11.1.tar.xz 314732 BLAKE2B 9be341f8df643b352392a208c7f24d799edcc94146b71c73d93974a7ef02cc75b5baa1e2ddd037e7e2d3afeb52347d96caaa8b3a2319631802261735a3a751df SHA512 858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 DIST phonon-4.12.0.tar.xz 408996 BLAKE2B 568af4aec5247759e49db2137978b9f1828256f817bcb321f02e69d597d78e97c9ce437e89cd63b5a8b15c312f74ccee11b34270e74be2dc24c2af9ee97490f0 SHA512 0dbd88464985051f4c43e64a4d0b7e2d65e7f6b54fd2bae4ec1790fbdf9f79348aa91d4839c72a4f66297d5a9c7b379cc34923b99b97130a5443e5b2c0cc8a9a EBUILD phonon-4.11.1-r2.ebuild 1307 BLAKE2B 69c75e346c77710c52591a8debe93bb09c34217584a520622dbfcfb2b4442b3039f1705ee5550f4b35edef1fc65a33286517deb24373264adceef2d365679ebd SHA512 daae7f938573ea831c299c0ef584ae4526570e64e3cb0790cfc7dae34b364fb4bb72ac0f312d0733fb17de6bcc3f74e3dbd9a08247c5d43e2776bae5deb8ec3b -EBUILD phonon-4.12.0-r2.ebuild 2322 BLAKE2B 5596089f9dd41f60b1e1845acf473845b40b5b2aff418b35d9f25ec3f270889eeba58a03a197f1eedffcdc6546d002d3c45489bd38c8910facaa5f778658bd27 SHA512 a126d894e33a2c79faca51d612f8584ec01397eed7c3c090e5ad9fda31c30ac6fcf55cd1fae2c2989bfc4b3c61f26b1c85a2c9ec5959ec32167a0adb2d9c5d31 +EBUILD phonon-4.12.0-r2.ebuild 2291 BLAKE2B ea7522bf928f8818c440ec53e46cf4b7f96dce7ed8f29dd9846ebe9e474a3360812c29a9106a51b2b7881ed4dfaf317b97118d4956e2ad6189db2f0891ec1de4 SHA512 62179353c603a6e6d6250ef488547e064ac060c46ea72c6db28c1fc422862fef66c21708303cf5880677b83f4d819b67d6b014934dc9f585adf6f1ceeedc7f01 MISC metadata.xml 463 BLAKE2B 856a539bfa489dac4d6550f9fb4104b419dc6dd12a5d6ec67ac7d9f743fa31d96c3323937558704b7941a914c1ca342b5a6030e9f16b7d84f2339f93d2a1fb9f SHA512 c6aa1e0f8f11e813c228619f9c857bfa3e15d3278a1b5af3910f8f789a7d93f889a9adb9121f19b4b52abbfa0b4a67d89a037679ae0eab00b0db04ed5e16526e diff --git a/media-libs/phonon/phonon-4.12.0-r2.ebuild b/media-libs/phonon/phonon-4.12.0-r2.ebuild index 1030632caa20..4770b16093c7 100644 --- a/media-libs/phonon/phonon-4.12.0-r2.ebuild +++ b/media-libs/phonon/phonon-4.12.0-r2.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://community.kde.org/Phonon" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" fi LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" @@ -44,15 +44,10 @@ RDEPEND="${DEPEND} " BDEPEND=" dev-libs/libpcre2:* + >=kde-frameworks/extra-cmake-modules-5.115.0:* virtual/pkgconfig - qt5? ( - dev-qt/linguist-tools:5 - >=kde-frameworks/extra-cmake-modules-5.115.0:* - ) - qt6? ( - dev-qt/qttools:6[linguist] - >=kde-frameworks/extra-cmake-modules-6.0.0:* - ) + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) " PDEPEND=" vlc? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] ) |