Diff libjxl-0.7.0_pre20220825 with a libjxl-0.8.0

/usr/portage/media-libs/libjxl/libjxl-0.8.0.ebuild 2023-10-09 14:52:31.684368405 +0300
1
# Copyright 2021-2022 Gentoo Authors
1
# Copyright 2021-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

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

  
8 8
DESCRIPTION="JPEG XL image format reference implementation"
9 9
HOMEPAGE="https://github.com/libjxl/libjxl"
10

  
11
COMMIT="4c31ef03e3fd5239d6b794771d4ae7daa7815b28"
12
SRC_URI="https://api.github.com/repos/libjxl/libjxl/tarball/${COMMIT} -> ${P}.tar.gz"
13
S="${WORKDIR}/libjxl-libjxl-${COMMIT:0:7}"
10
SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
14 11

  
15 12
LICENSE="BSD"
16 13
SLOT="0"
17
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
14
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
18 15
IUSE="openexr"
19 16

  
20 17
DEPEND="app-arch/brotli:=[${MULTILIB_USEDEP}]
21
	dev-cpp/gflags:=[${MULTILIB_USEDEP}]
22 18
	>=dev-cpp/highway-1.0.0[${MULTILIB_USEDEP}]
23 19
	media-libs/giflib:=[${MULTILIB_USEDEP}]
24
	>=media-libs/lcms-2.13:=[${MULTILIB_USEDEP}]
25
	media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
20
	>=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}]
21
	media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
26 22
	media-libs/libpng:=[${MULTILIB_USEDEP}]
27
	sys-libs/zlib[${MULTILIB_USEDEP}]
28 23
	>=x11-misc/shared-mime-info-2.2
29 24
	openexr? ( media-libs/openexr:= )
30 25
"
31 26
RDEPEND="${DEPEND}"
32 27

  
33 28
multilib_src_configure() {
29
	filter-lto
30

  
34 31
	local mycmakeargs=(
35 32
		-DBUILD_TESTING=OFF
36 33
		-DJPEGXL_ENABLE_BENCHMARK=OFF
......
48 45
		-DJPEGXL_ENABLE_DOXYGEN=OFF
49 46
		-DJPEGXL_ENABLE_MANPAGES=OFF
50 47
		-DJPEGXL_ENABLE_JNI=OFF
48
		-DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
51 49
		-DJPEGXL_ENABLE_TCMALLOC=OFF
52 50
		-DJPEGXL_ENABLE_EXAMPLES=OFF
53 51
	)
......
70 68
multilib_src_install() {
71 69
	cmake_src_install
72 70

  
73
	find "${D}" -name '*.a' -delete || die
71
	find "${ED}" -name '*.a' -delete || die
74 72
}
Thank you!