aboutsummaryrefslogtreecommitdiffstats
path: root/testing/handbrake/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/handbrake/APKBUILD')
-rw-r--r--testing/handbrake/APKBUILD39
1 files changed, 16 insertions, 23 deletions
diff --git a/testing/handbrake/APKBUILD b/testing/handbrake/APKBUILD
index 6d1f3ad649..f1f7771856 100644
--- a/testing/handbrake/APKBUILD
+++ b/testing/handbrake/APKBUILD
@@ -2,37 +2,31 @@
pkgname=handbrake
_pkgname=HandBrake
pkgver=1.0.7
-pkgrel=0
+pkgrel=1
pkgdesc="Handbrake video transcoder"
url="https://handbrake.fr"
arch="x86_64 x86 armhf"
license="GPL2"
-install=""
-depends=""
makedepends="yasm autoconf libtool zlib-dev libbz2 libogg-dev libtheora-dev
- libvorbis-dev libsamplerate-dev fribidi-dev freetype-dev
- tinyxml-dev fontconfig-dev libass-dev intltool glib-dev dbus-glib-dev
- gtk+3.0-dev webkitgtk-dev libgudev-dev libnotify-dev libdvdread-dev
- gstreamer0.10-dev x264-dev lame-dev linux-headers cmake
- autoconf automake ffmpeg-dev coreutils libdvdnav-dev
- libbluray-dev x265-dev libvpx-dev fdk-aac-dev jansson-dev
- opus-dev"
+ libvorbis-dev libsamplerate-dev fribidi-dev freetype-dev
+ tinyxml-dev fontconfig-dev libass-dev intltool glib-dev dbus-glib-dev
+ gtk+3.0-dev webkitgtk-dev libgudev-dev libnotify-dev libdvdread-dev
+ gstreamer0.10-dev x264-dev lame-dev linux-headers cmake
+ autoconf automake ffmpeg-dev coreutils libdvdnav-dev
+ libbluray-dev x265-dev libvpx-dev fdk-aac-dev jansson-dev
+ opus-dev"
subpackages="$pkgname-lang $pkgname-gtk"
source="http://download.handbrake.fr/releases/$pkgver/HandBrake-$pkgver.tar.bz2
handbrake-9999-fix-missing-x265-link-flag.patch
handbrake-9999-remove-dvdnav-dup.patch
- handbrake-9999-remove-faac-dependency.patch"
-
-_builddir="$srcdir"/${_pkgname}-${pkgver}
+ handbrake-9999-remove-faac-dependency.patch
+ "
+options="!check"
+builddir="$srcdir"/${_pkgname}-${pkgver}
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
# build against external libs
sed -i 's:.*contrib/.*::g' \
make/include/main.defs \
@@ -40,7 +34,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--force \
--verbose \
@@ -52,11 +46,10 @@ build() {
}
package() {
- cd "$_builddir"/build
+ cd "$builddir"/build
make -j1 install DESTDIR="$pkgdir"
}
-
gtk() {
pkgdesc="HandBrake Video Transcoder - GUI"
install -d "$subpkgdir"/usr/bin