summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-31 14:44:46 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-03-31 14:45:11 +0200
commit85cc36eb4685f8b8ed374c02020139a7a95ba241 (patch)
tree0f42582a28ba5d60759c5185d3a2f4839364e7bf /media-video/handbrake
parentmedia-video/handbrake: Bump to version 0.10.5 (bug #573350). (diff)
downloadgentoo-85cc36eb4685f8b8ed374c02020139a7a95ba241.tar.gz
gentoo-85cc36eb4685f8b8ed374c02020139a7a95ba241.tar.bz2
gentoo-85cc36eb4685f8b8ed374c02020139a7a95ba241.zip
media-video/handbrake: Bump live ebuild to EAPI-6.
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-video/handbrake')
-rw-r--r--media-video/handbrake/handbrake-9999.ebuild33
1 files changed, 18 insertions, 15 deletions
diff --git a/media-video/handbrake/handbrake-9999.ebuild b/media-video/handbrake/handbrake-9999.ebuild
index adb5fc3076a9..8fb14e62356a 100644
--- a/media-video/handbrake/handbrake-9999.ebuild
+++ b/media-video/handbrake/handbrake-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=6
PYTHON_COMPAT=( python2_7 )
@@ -13,8 +13,9 @@ if [[ ${PV} = *9999* ]]; then
inherit git-r3
KEYWORDS=""
else
- SRC_URI="http://handbrake.fr/rotation.php?file=HandBrake-${PV}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/HandBrake-${PV}"
+ MY_P="HandBrake-${PV}"
+ SRC_URI="http://handbrake.fr/rotation.php?file=${MY_P}.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~x86"
fi
@@ -73,27 +74,29 @@ DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/automake"
+PATCHES=(
+ # Remove libdvdnav duplication and call it on the original instead.
+ # It may work this way; if not, we should try to mimic the duplication.
+ "${FILESDIR}/${PN}-9999-remove-dvdnav-dup.patch"
+
+ # Remove faac dependency; TODO: figure out if we need to do this at all.
+ "${FILESDIR}/${PN}-9999-remove-faac-dependency.patch"
+
+ # Fix missing x265 link flag
+ "${FILESDIR}/${PN}-9999-fix-missing-x265-link-flag.patch"
+)
+
pkg_setup() {
python-any-r1_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 \
|| die "Contrib removal failed."
- # Remove libdvdnav duplication and call it on the original instead.
- # It may work this way; if not, we should try to mimic the duplication.
- epatch "${FILESDIR}"/${PN}-9999-remove-dvdnav-dup.patch
-
- # 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
+ default
cd "${S}/gtk"
# Don't run autogen.sh.