2013-06-29 06:46:10 +00:00
|
|
|
# Template file for 'handbrake'
|
2014-06-06 08:35:10 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
|
|
|
|
2013-06-29 06:46:10 +00:00
|
|
|
pkgname=handbrake
|
|
|
|
version=0.9.9
|
2014-09-29 18:17:56 +00:00
|
|
|
revision=4
|
2013-06-29 06:46:10 +00:00
|
|
|
wrksrc="HandBrake-${version}"
|
|
|
|
hostmakedepends="pkg-config intltool automake libtool python yasm wget gettext-devel"
|
|
|
|
makedepends="zlib-devel bzip2-devel libnotify-devel gtk+3-devel ncurses-devel
|
2014-09-29 18:17:56 +00:00
|
|
|
gst-plugins-base-devel gst-plugins-good webkitgtk-devel x264-devel>=20140928
|
2013-06-29 06:46:10 +00:00
|
|
|
dbus-glib-devel fribidi-devel libass-devel fontconfig-devel libxml2-devel
|
2014-09-29 18:17:56 +00:00
|
|
|
libogg-devel libtheora-devel libsamplerate-devel libbluray-devel"
|
|
|
|
depends="gst-plugins-good desktop-file-utils hicolor-icon-theme"
|
2013-06-29 06:46:10 +00:00
|
|
|
short_desc="Multithreaded video transcoder"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-09-29 18:17:56 +00:00
|
|
|
license="GPL-2"
|
2013-06-29 06:46:10 +00:00
|
|
|
homepage="http://handbrake.fr/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/HandBrake-${version}.tar.bz2"
|
|
|
|
checksum=a71dd774104cda00cfb51a813550351d638253791f2f419d04a66f3158a835b3
|
|
|
|
|
|
|
|
do_configure() {
|
2014-09-29 18:17:56 +00:00
|
|
|
sed -e '/MODULES += contrib\/libbluray/d' \
|
2013-06-29 06:46:10 +00:00
|
|
|
-e '/MODULES += contrib\/x264/d' \
|
|
|
|
-i make/include/main.defs
|
|
|
|
|
|
|
|
cd gtk
|
|
|
|
sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
|
|
|
-e '/AM_PROG_CC_STDC/d' -i configure.ac
|
2014-09-29 18:17:56 +00:00
|
|
|
autoreconf -fi
|
2013-06-29 06:46:10 +00:00
|
|
|
|
|
|
|
cd ${wrksrc}
|
2014-06-06 08:35:10 +00:00
|
|
|
export CFLAGS+=" -msse"
|
2013-06-29 06:46:10 +00:00
|
|
|
./configure --prefix=/usr --force --disable-gtk-update-checks
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd build
|
2014-06-06 08:35:10 +00:00
|
|
|
export CFLAGS+=" -msse"
|
2013-06-29 06:46:10 +00:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
|
|
|
handbrake-cli_package() {
|
|
|
|
short_desc+=" - CLI utility"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/HandBrakeCLI
|
|
|
|
}
|
|
|
|
}
|