summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-25 06:42:21 +0000
committerSam James <sam@gentoo.org>2023-11-25 06:46:38 +0000
commitc10c5092169e066869733e79104be2f3b07334e7 (patch)
treeb4730c3cdbaa2dcded73d81d067657dc68b764b2 /media-libs/x264/x264-9999.ebuild
parentdev-python/pip: Fix testing with NO_COLOR (diff)
downloadgentoo-c10c5092169e066869733e79104be2f3b07334e7.tar.gz
gentoo-c10c5092169e066869733e79104be2f3b07334e7.tar.bz2
gentoo-c10c5092169e066869733e79104be2f3b07334e7.zip
media-libs/x264: add 0.0.20231114
Closes: https://bugs.gentoo.org/917583 Closes: https://bugs.gentoo.org/918105 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/x264/x264-9999.ebuild')
-rw-r--r--media-libs/x264/x264-9999.ebuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild
index cef3a4d4053a..7317a87e9e6a 100644
--- a/media-libs/x264/x264-9999.ebuild
+++ b/media-libs/x264/x264-9999.ebuild
@@ -1,31 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit multilib-minimal toolchain-funcs flag-o-matic
-DESCRIPTION="A free library for encoding X264/AVC streams"
+DESCRIPTION="Free library for encoding X264/AVC streams"
HOMEPAGE="https://www.videolan.org/developers/x264.html"
+
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://code.videolan.org/videolan/x264.git"
else
- # Download https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2
- SRC_URI="https://dev.gentoo.org/~aballier/distfiles/${P}.tar.bz2"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
- S="${WORKDIR}/${PN}-master"
+ X264_COMMIT="c196240409e4d7c01b47448d93b1f9683aaa7cf7"
+ SRC_URI="https://code.videolan.org/videolan/x264/-/archive/${X264_COMMIT}/x264-${X264_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ S="${WORKDIR}/${PN}-${X264_COMMIT}"
fi
-SLOT="0/164" # SONAME
-
LICENSE="GPL-2"
+SLOT="0/164" # SONAME
IUSE="cpu_flags_ppc_altivec +interlaced opencl pic static-libs cpu_flags_x86_sse +threads"
ASM_DEP=">=dev-lang/nasm-2.13"
-DEPEND="abi_x86_32? ( ${ASM_DEP} )
+DEPEND="
+ abi_x86_32? ( ${ASM_DEP} )
abi_x86_64? ( ${ASM_DEP} )
- opencl? ( dev-lang/perl )"
+ opencl? ( dev-lang/perl )
+"
RDEPEND="opencl? ( >=virtual/opencl-0-r3[${MULTILIB_USEDEP}] )"
DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt )