Diff sdl2-image-2.0.5_p20210328-r1 with a sdl2-image-2.6.3
/usr/portage/media-libs/sdl2-image/sdl2-image-2.6.3.ebuild 2023-10-09 14:52:31.712368406 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit multilib multilib-minimal toolchain-funcs |
7 | 7 | |
8 | 8 |
MY_P="SDL2_image-${PV}" |
9 |
MY_COMMIT="f36684864e82538da2d2cf57fa3db077a3be42c7" |
|
10 | 9 |
DESCRIPTION="Image file loading library" |
11 | 10 |
HOMEPAGE="https://www.libsdl.org/projects/SDL_image/" |
12 |
SRC_URI="https://github.com/libsdl-org/SDL_image/archive/${MY_COMMIT}.tar.gz -> ${MY_P}.tar.gz" |
|
11 |
SRC_URI="https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.3/${MY_P}.tar.gz" |
|
12 |
S="${WORKDIR}"/${MY_P} |
|
13 | 13 | |
14 | 14 |
LICENSE="ZLIB" |
15 | 15 |
SLOT="0" |
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" |
|
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86" |
|
17 | 17 |
IUSE="gif jpeg png static-libs tiff webp" |
18 | 18 | |
19 | 19 |
RDEPEND=" |
... | ... | |
22 | 22 |
png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] ) |
23 | 23 |
jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) |
24 | 24 |
tiff? ( >=media-libs/tiff-3.9.7-r1:=[${MULTILIB_USEDEP}] ) |
25 |
webp? ( >=media-libs/libwebp-0.3.0:=[${MULTILIB_USEDEP}] )" |
|
26 |
DEPEND=${RDEPEND} |
|
27 | ||
28 |
S=${WORKDIR}/SDL_image-${MY_COMMIT} |
|
25 |
webp? ( >=media-libs/libwebp-0.3.0:=[${MULTILIB_USEDEP}] ) |
|
26 |
" |
|
27 |
DEPEND="${RDEPEND}" |
|
29 | 28 | |
30 | 29 |
multilib_src_configure() { |
31 | 30 |
local myeconfargs=( |
32 | 31 |
$(use_enable static-libs static) |
32 |
--disable-avif |
|
33 |
--disable-avif-shared |
|
33 | 34 |
--disable-sdltest |
35 |
--disable-stb-image |
|
34 | 36 |
--enable-bmp |
35 | 37 |
$(use_enable gif) |
36 | 38 |
$(use_enable jpeg jpg) |
37 | 39 |
--disable-jpg-shared |
40 |
--disable-jxl |
|
41 |
--disable-jxl-shared |
|
38 | 42 |
--enable-lbm |
39 | 43 |
--enable-pcx |
40 | 44 |
$(use_enable png) |
... | ... | |
43 | 47 |
--enable-tga |
44 | 48 |
$(use_enable tiff tif) |
45 | 49 |
--disable-tif-shared |
50 |
--disable-qoi |
|
46 | 51 |
--enable-xcf |
47 | 52 |
--enable-xpm |
48 | 53 |
--enable-xv |