Diff imageworsener-1.3.4 with a imageworsener-1.3.5
/usr/portage/media-gfx/imageworsener/imageworsener-1.3.5.ebuild 2024-07-02 13:51:46.409851519 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2024 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 |
MY_P=${PN}-src-${PV} |
7 | 7 |
MY_PN=imagew |
... | ... | |
12 | 12 | |
13 | 13 |
LICENSE="MIT" |
14 | 14 |
SLOT="0/3" # because of libimageworsener.so.3.*.* |
15 |
KEYWORDS="~amd64 ~x86" |
|
15 |
KEYWORDS="amd64 x86" |
|
16 | 16 |
IUSE="jpeg png static-libs test webp zlib" |
17 | 17 | |
18 | 18 |
DEPEND="png? ( media-libs/libpng:0 ) |
19 |
jpeg? ( virtual/jpeg:0 ) |
|
19 |
jpeg? ( media-libs/libjpeg-turbo ) |
|
20 | 20 |
webp? ( >=media-libs/libwebp-0.1.3 ) |
21 | 21 |
zlib? ( sys-libs/zlib )" |
22 | 22 |
RDEPEND="${DEPEND}" |
23 | 23 | |
24 | 24 |
REQUIRED_USE="test? ( jpeg png webp zlib )" |
25 |
RESTRICT="!test? ( test )" |
|
25 |
RESTRICT="test" |
|
26 | ||
27 |
PATCHES=( "${FILESDIR}/${PN}-1.3.5-runtest-exit-code.patch" ) |
|
26 | 28 | |
27 | 29 |
src_configure() { |
28 | 30 |
local switch='' |
... | ... | |
44 | 46 | |
45 | 47 |
src_test() { |
46 | 48 |
cd "${S}"/tests || die |
47 |
./runtest "${S}"/${MY_PN} |
|
49 |
./runtest "${S}"/${MY_PN} || die |
|
48 | 50 |
} |