summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2016-05-22 12:27:56 +0100
committerIan Whyman <thev00d00@gentoo.org>2016-05-22 12:27:56 +0100
commit8ce9a8aceb76a1946e913562bda238124d01279a (patch)
tree956d85f8aeba017caa0a2f7bcfcffd22cba7ae6c /media-video/handbrake
parentmedia-video/handbrake: Fix dupe postinst, remove old #571142 (diff)
downloadgentoo-8ce9a8aceb76a1946e913562bda238124d01279a.tar.gz
gentoo-8ce9a8aceb76a1946e913562bda238124d01279a.tar.bz2
gentoo-8ce9a8aceb76a1946e913562bda238124d01279a.zip
media-video/handbrake: Reintroduce nolibav patch to both versions
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video/handbrake')
-rw-r--r--media-video/handbrake/handbrake-0.10.5.ebuild3
-rw-r--r--media-video/handbrake/handbrake-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/media-video/handbrake/handbrake-0.10.5.ebuild b/media-video/handbrake/handbrake-0.10.5.ebuild
index fb77b015a986..0dc275601a4d 100644
--- a/media-video/handbrake/handbrake-0.10.5.ebuild
+++ b/media-video/handbrake/handbrake-0.10.5.ebuild
@@ -98,6 +98,9 @@ src_prepare() {
default
+ # Get rid of libav specific code when using ffmpeg
+ use libav || eapply -R "${FILESDIR}/${PN}-0.10.3-nolibav.patch"
+
cd "${S}/gtk"
# Don't run autogen.sh.
sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed"
diff --git a/media-video/handbrake/handbrake-9999.ebuild b/media-video/handbrake/handbrake-9999.ebuild
index fb77b015a986..0dc275601a4d 100644
--- a/media-video/handbrake/handbrake-9999.ebuild
+++ b/media-video/handbrake/handbrake-9999.ebuild
@@ -98,6 +98,9 @@ src_prepare() {
default
+ # Get rid of libav specific code when using ffmpeg
+ use libav || eapply -R "${FILESDIR}/${PN}-0.10.3-nolibav.patch"
+
cd "${S}/gtk"
# Don't run autogen.sh.
sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed"