Diff libjxl-0.8.1 with a libjxl-0.8.2

/usr/portage/media-libs/libjxl/libjxl-0.8.2.ebuild 2023-10-09 14:52:31.684368405 +0300
5 5

  
6 6
inherit cmake-multilib flag-o-matic
7 7

  
8
# This changes frequently.  Please check the testdata submodule when bumping.
9
TESTDATA_COMMIT="d6168ffb9e1cc24007e64b65dd84d822ad1fc759"
8 10
DESCRIPTION="JPEG XL image format reference implementation"
9 11
HOMEPAGE="https://github.com/libjxl/libjxl"
10
SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
12
SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
13
	test? ( https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz
14
		-> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz )"
11 15

  
12 16
LICENSE="BSD"
13 17
SLOT="0"
14
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
15
IUSE="openexr"
18
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
19
IUSE="openexr test"
20
RESTRICT="!test? ( test )"
16 21

  
17 22
DEPEND="app-arch/brotli:=[${MULTILIB_USEDEP}]
18 23
	>=dev-cpp/highway-1.0.0[${MULTILIB_USEDEP}]
......
22 27
	media-libs/libpng:=[${MULTILIB_USEDEP}]
23 28
	>=x11-misc/shared-mime-info-2.2
24 29
	openexr? ( media-libs/openexr:= )
30
	test? ( dev-cpp/gtest )
25 31
"
26 32
RDEPEND="${DEPEND}"
27 33

  
......
29 35
	filter-lto
30 36

  
31 37
	local mycmakeargs=(
32
		-DBUILD_TESTING=OFF
33 38
		-DJPEGXL_ENABLE_BENCHMARK=OFF
34 39
		-DJPEGXL_ENABLE_COVERAGE=OFF
35 40
		-DJPEGXL_ENABLE_FUZZERS=OFF
......
40 45
		-DJPEGXL_ENABLE_VIEWERS=OFF
41 46
		-DJPEGXL_ENABLE_PLUGINS=OFF
42 47
		-DJPEGXL_FORCE_SYSTEM_BROTLI=ON
48
		-DJPEGXL_FORCE_SYSTEM_GTEST=ON
43 49
		-DJPEGXL_FORCE_SYSTEM_HWY=ON
44 50
		-DJPEGXL_FORCE_SYSTEM_LCMS2=ON
45 51
		-DJPEGXL_ENABLE_DOXYGEN=OFF
......
54 60
		mycmakeargs+=(
55 61
			-DJPEGXL_ENABLE_TOOLS=ON
56 62
			-DJPEGXL_ENABLE_OPENEXR=$(usex openexr)
63
			-DBUILD_TESTING=$(usex test ON OFF)
57 64
		)
65
		use test &&
66
			mycmakeargs+=( -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" )
58 67
	else
59 68
		mycmakeargs+=(
60 69
			-DJPEGXL_ENABLE_TOOLS=OFF
61 70
			-DJPEGXL_ENABLE_OPENEXR=OFF
71
			-DBUILD_TESTING=OFF
62 72
		)
63 73
	fi
64 74

  
Thank you!