summaryrefslogtreecommitdiff
path: root/media-libs/libjxl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-17 02:02:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-17 02:02:20 +0000
commit2f50f3ca1d346a1f74054f124adb11136068b2b1 (patch)
tree10b9920e8655629b9153b171f314ed189fce6578 /media-libs/libjxl
parente07c6f9648d478943b5ecd6f1c42cc91cae0f547 (diff)
gentoo auto-resync : 17:12:2024 - 02:02:19
Diffstat (limited to 'media-libs/libjxl')
-rw-r--r--media-libs/libjxl/Manifest4
-rw-r--r--media-libs/libjxl/libjxl-0.11.0.ebuild115
-rw-r--r--media-libs/libjxl/libjxl-0.11.1.ebuild2
3 files changed, 2 insertions, 119 deletions
diff --git a/media-libs/libjxl/Manifest b/media-libs/libjxl/Manifest
index 700e78f021e7..879610f67f90 100644
--- a/media-libs/libjxl/Manifest
+++ b/media-libs/libjxl/Manifest
@@ -1,7 +1,5 @@
-DIST libjxl-0.11.0.tar.gz 1873614 BLAKE2B 60f038c35f921e1d6cfaab62ec92c15fa8b0bb9369724bdbaf25fb72559670de6f2e86bf1fb7d37158e1d046d46d20610b574e2288f86d4bae52fdc2c51e3b76 SHA512 a3648a5f046cae36b3272c46525d002d490f781f44647d4d8318f0b773dd9b7902582ced5636af3489f1d6a44e3baf8ad2e5ab47d26869d16b01607d90e14053
DIST libjxl-0.11.1.tar.gz 1876134 BLAKE2B e2a96464fdcdff483de92e0f3301870a62f934976e6d78fd1efe30fe96f30ce6c3459843385712df7914ad53aeff3de1b84ac1a4d22294e909ed559d7c6c9db9 SHA512 0cfd81d9d3b783f96bd04f244d73ffbc12186c89993d46064a2751bef0a446a5e86be05add5c10f60d4482d39333d9bf3f9a866d6eb84f8fa0d4e8b5828fd74c
DIST libjxl-testdata-ff8d743aaba05b3014f17e5475e576242fa979fc.tar.gz 69105882 BLAKE2B a80fce437b810e7b99b4c7bd106ec7eba01a1eeddc90e1b82cb8d75f3ca194c357ef8e7b7e1e9da65aa39dc2cd11d32cb6de8558188c5258c7446d58787603ff SHA512 0d237e706fd8d001a9cb245b685e8e39085416daedec019c348ccc64cf15a34cecdb0c245f94f57507f5934e487ee5157f51f59bb6a000f5899862c582336384
-EBUILD libjxl-0.11.0.ebuild 2934 BLAKE2B 9588ef46515e1f5103be1bdc7c68fb985abd57a8b306ca1662e4d24dafcfd2b055318a74758047388d34b24ee9b0fbd09101900d425723901ef5ab6a935a2d0c SHA512 c20972786f697752c3d4cc414409e29c5d67169f3f10bc6b719a1614d8ff7323d3c52b9bb3297d3300ede30b98ce525fb5cab9c36fcce9fb0e717e780a1ecb24
-EBUILD libjxl-0.11.1.ebuild 2935 BLAKE2B 3535ed51e1c3f32f33c8cf2eed137dd0b5ef2dded423b678b02608141d1973b41a73cbb181fc9738ec2ce680f457f6e46260cce5e3256beef4cf295d1e491fc1 SHA512 08b63445e539d4c4db48b1a2be47f9db44769221cd7a6a95d25ecd4fab857fdcee069d264bbb492e0075071f242c831c42d8b65f0063779739861edbfa32942d
+EBUILD libjxl-0.11.1.ebuild 2934 BLAKE2B 9588ef46515e1f5103be1bdc7c68fb985abd57a8b306ca1662e4d24dafcfd2b055318a74758047388d34b24ee9b0fbd09101900d425723901ef5ab6a935a2d0c SHA512 c20972786f697752c3d4cc414409e29c5d67169f3f10bc6b719a1614d8ff7323d3c52b9bb3297d3300ede30b98ce525fb5cab9c36fcce9fb0e717e780a1ecb24
EBUILD libjxl-9999.ebuild 2608 BLAKE2B e4247be931c67d10fa9e200bc113731a940678547be3743a282087dc09b1afe1bee0063ec0d090f60c3860d4542d210f50fdc762263f2609f6fedcb10df058f3 SHA512 63b91932054fd351b091daa652b0f000ad7675e48cb489e4b52da4d99991066dc501d8814b02c2b005e5211f032fe7f6dee1b53944fc239b7bbadd46ee143339
MISC metadata.xml 1029 BLAKE2B 4c5ef3d7aca316b497d964b1afcee9f71b165545691182c3818ef4f9a8bc7f10fdbed36a8bd58b0051b1f9851018a11efa3e9f7b57c5ec935435e16bd26b6036 SHA512 a3129f77efc640e78a2f1fa481fb6363249be74e74aabccb51970ec101808db95a326deeecfa557b669cfb2bf26622fc7dbcbe7624a0315d770e697bc3734296
diff --git a/media-libs/libjxl/libjxl-0.11.0.ebuild b/media-libs/libjxl/libjxl-0.11.0.ebuild
deleted file mode 100644
index 28d788eb5bc6..000000000000
--- a/media-libs/libjxl/libjxl-0.11.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-# This changes frequently. Please check the testdata submodule when bumping.
-TESTDATA_COMMIT="ff8d743aaba05b3014f17e5475e576242fa979fc"
-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/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc64 ~riscv ~sparc x86"
-IUSE="+gdk-pixbuf gif jpeg openexr +png test"
-REQUIRED_USE="test? ( png )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- app-arch/brotli:=[${MULTILIB_USEDEP}]
- >=dev-cpp/highway-1.0.7[${MULTILIB_USEDEP}]
- >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}]
- gdk-pixbuf? (
- dev-libs/glib:2
- x11-libs/gdk-pixbuf:2
- )
- 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}] )
-"
-
-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_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=OFF
- -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
- -DJPEGXL_ENABLE_TCMALLOC=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DBUILD_TESTING=$(usex test ON OFF)
- )
-
- if use test; then
- mycmakeargs+=(
- -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}"
- )
- fi
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=ON
- -DJPEGXL_ENABLE_OPENEXR=$(usex openexr)
- -DJPEGXL_ENABLE_PLUGINS=ON
- -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf)
- -DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF
- -DJPEGXL_ENABLE_PLUGIN_MIME=OFF
- )
- else
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_OPENEXR=OFF
- -DJPEGXL_ENABLE_PLUGINS=OFF
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install() {
- cmake_src_install
-
- find "${ED}" -name '*.a' -delete || die
-}
-
-pkg_postinst() {
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
diff --git a/media-libs/libjxl/libjxl-0.11.1.ebuild b/media-libs/libjxl/libjxl-0.11.1.ebuild
index 12960282299b..28d788eb5bc6 100644
--- a/media-libs/libjxl/libjxl-0.11.1.ebuild
+++ b/media-libs/libjxl/libjxl-0.11.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc64 ~riscv ~sparc x86"
IUSE="+gdk-pixbuf gif jpeg openexr +png test"
REQUIRED_USE="test? ( png )"
RESTRICT="!test? ( test )"