Diff zimg-3.0.4-r1 with a zimg-9999
| /usr/portage/media-libs/zimg/zimg-9999.ebuild 2024-12-25 14:59:49.747270106 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 8 | 8 |
inherit git-r3 |
| 9 | 9 |
else |
| 10 | 10 |
SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
| 11 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86" |
|
| 11 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
| 12 | 12 |
S="${WORKDIR}/${PN}-release-${PV}/"
|
| 13 | 13 |
fi |
| 14 | 14 |
inherit autotools multilib-minimal |
| ... | ... | |
| 18 | 18 | |
| 19 | 19 |
LICENSE="WTFPL-2" |
| 20 | 20 |
SLOT="0" |
| 21 |
IUSE="debug static-libs test" |
|
| 22 |
RESTRICT="!test? ( test )" |
|
| 23 |
DEPEND="test? ( dev-cpp/gtest )" |
|
| 24 | ||
| 25 |
PATCHES=( |
|
| 26 |
"${FILESDIR}/system-gtest.patch"
|
|
| 27 |
"${FILESDIR}/backport-e29571f-issue-175.patch"
|
|
| 28 |
) |
|
| 21 |
IUSE="debug static-libs" |
|
| 29 | 22 | |
| 30 | 23 |
src_prepare() {
|
| 31 | 24 |
default |
| ... | ... | |
| 35 | 28 |
multilib_src_configure() {
|
| 36 | 29 |
ECONF_SOURCE="${S}" econf \
|
| 37 | 30 |
$(use_enable debug) \ |
| 38 |
$(use_enable static-libs static) \ |
|
| 39 |
$(use_enable test unit-test) |
|
| 31 |
$(use_enable static-libs static) |
|
| 40 | 32 |
} |
| 41 | 33 | |
| 42 | 34 |
multilib_src_install_all() {
|