mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
media-libs/libyuv: update 9999
Signed-off-by: NRK <nrk@disroot.org> Part-of: https://github.com/gentoo/gentoo/pull/41875 Closes: https://github.com/gentoo/gentoo/pull/41875 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -14,10 +14,8 @@ if [[ ${PV} == "9999" ]] ; then
|
||||
else
|
||||
# to diff against upstream (apparently not stable):
|
||||
# https://chromium.googlesource.com/libyuv/libyuv.git/+archive/${commit}.tar.gz
|
||||
MYTAG="0.0.1904.20250204"
|
||||
SRC_URI="https://salsa.debian.org/debian/libyuv/-/archive/upstream/${MYTAG}/libyuv-upstream-${MYTAG}.tar.bz2 -> ${P}.tar.bz2"
|
||||
S="${WORKDIR}/libyuv-upstream-${MYTAG}"
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/N-R-K/stable-tarball-host/releases/download/0/libyuv-${PV}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
@@ -34,11 +32,23 @@ DEPEND="${RDEPEND}"
|
||||
BDEPEND="test? ( dev-cpp/gtest )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-fix-install-dirs.patch"
|
||||
"${FILESDIR}/0001-fix-install-dirs-1909.patch"
|
||||
"${FILESDIR}/0002-disable-static-library.patch"
|
||||
"${FILESDIR}/0003-disable-test-tools.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
# S=${WORKDIR} is deprecated in cmake eclass
|
||||
mkdir "${P}" || die
|
||||
pushd "${P}" || die
|
||||
unpack ${A}
|
||||
popd || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUNIT_TEST=$(usex test)
|
||||
|
||||
Reference in New Issue
Block a user