diff options
author | Ian Whyman <thev00d00@gentoo.org> | 2015-08-09 13:30:22 +0100 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2015-08-09 14:43:25 +0100 |
commit | b8f141afeb0e183298fe227672ac9338e0e8e12c (patch) | |
tree | 9617f61f7c2ae695a9d9b292c729a4d37435b14b /media-video/handbrake/handbrake-9999.ebuild | |
parent | games-engines/openmw: rm old (diff) | |
download | gentoo-b8f141afeb0e183298fe227672ac9338e0e8e12c.tar.gz gentoo-b8f141afeb0e183298fe227672ac9338e0e8e12c.tar.bz2 gentoo-b8f141afeb0e183298fe227672ac9338e0e8e12c.zip |
media-video/handbrake: Version Bump to 0.10.2, enable x265, tidyup
- Version bump to 0.10.2
- Cleanup of old versions and patches
- Enable x265: thanks to Peter Foley <pefoley2@pefoley.com>
for the patch
Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
Package-Manager: portage-2.2.20
Diffstat (limited to 'media-video/handbrake/handbrake-9999.ebuild')
-rw-r--r-- | media-video/handbrake/handbrake-9999.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/media-video/handbrake/handbrake-9999.ebuild b/media-video/handbrake/handbrake-9999.ebuild index 6e2a245155ec..0653b7d16ef5 100644 --- a/media-video/handbrake/handbrake-9999.ebuild +++ b/media-video/handbrake/handbrake-9999.ebuild @@ -23,7 +23,7 @@ HOMEPAGE="http://handbrake.fr/" LICENSE="GPL-2" SLOT="0" -IUSE="+fdk gstreamer gtk libav libav-aac" +IUSE="+fdk gstreamer gtk libav libav-aac x265" REQUIRED_USE="^^ ( fdk libav-aac )" @@ -64,8 +64,8 @@ RDEPEND=" virtual/libgudev:= ) fdk? ( media-libs/fdk-aac ) + x265? ( =media-libs/x265-1.7 ) " - #x265? ( =media-libs/x265-1.4 ) DEPEND="${RDEPEND} ${PYTHON_DEPS} @@ -78,6 +78,8 @@ pkg_setup() { } src_prepare() { + epatch_user + # Get rid of leftover bundled library build definitions, sed -i 's:.*\(/contrib\|contrib/\).*::g' \ "${S}"/make/include/main.defs \ @@ -90,6 +92,9 @@ src_prepare() { # Remove faac dependency; TODO: figure out if we need to do this at all. epatch "${FILESDIR}"/${PN}-9999-remove-faac-dependency.patch + # Fix missing x265 link flag + epatch "${FILESDIR}"/${PN}-9999-fix-missing-x265-link-flag.patch + cd "${S}/gtk" # Don't run autogen.sh. sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" @@ -106,8 +111,7 @@ src_configure() { $(use_enable fdk fdk-aac) \ $(use_enable gtk) \ $(usex !gstreamer --disable-gst) \ - --disable-x265 || die "Configure failed." - # $(use_enable x265) \ + $(use_enable x265) || die "Configure failed." } src_compile() { |