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
|
2014-12-13 10:28:29 +00:00
|
|
|
version=0.10.0
|
|
|
|
revision=1
|
2013-06-29 06:46:10 +00:00
|
|
|
wrksrc="HandBrake-${version}"
|
2014-12-13 10:28:29 +00:00
|
|
|
hostmakedepends="automake libtool cmake pkg-config intltool
|
|
|
|
python yasm wget m4 gettext-devel"
|
2013-06-29 06:46:10 +00:00
|
|
|
makedepends="zlib-devel bzip2-devel libnotify-devel gtk+3-devel ncurses-devel
|
2014-12-13 10:28:29 +00:00
|
|
|
gst-plugins-base1-devel webkitgtk-devel libgudev-devel x264-devel>=20140928
|
2013-06-29 06:46:10 +00:00
|
|
|
dbus-glib-devel fribidi-devel libass-devel fontconfig-devel libxml2-devel
|
2014-12-13 10:28:29 +00:00
|
|
|
libogg-devel libdvdnav-devel libdvdread-devel libtheora-devel lame-devel
|
|
|
|
libsamplerate-devel libbluray-devel librsvg-devel"
|
|
|
|
depends="gst-plugins-good1 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"
|
2014-12-13 10:28:29 +00:00
|
|
|
checksum=a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114
|
2013-06-29 06:46:10 +00:00
|
|
|
|
2014-12-13 10:28:29 +00:00
|
|
|
CFLAGS="-msse"
|
2013-06-29 06:46:10 +00:00
|
|
|
|
2014-12-13 10:28:29 +00:00
|
|
|
pre_configure() {
|
|
|
|
# Use more system libs
|
|
|
|
sed -i \
|
|
|
|
-e '/MODULES += contrib\/libbluray/d' \
|
|
|
|
-e '/MODULES += contrib\/libdvdnav/d' \
|
|
|
|
-e '/MODULES += contrib\/libdvdread/d' \
|
|
|
|
make/include/main.defs
|
|
|
|
}
|
|
|
|
do_configure() {
|
2013-06-29 06:46:10 +00:00
|
|
|
./configure --prefix=/usr --force --disable-gtk-update-checks
|
|
|
|
}
|
|
|
|
do_build() {
|
2014-12-13 10:28:29 +00:00
|
|
|
unset AS LD
|
2013-06-29 06:46:10 +00:00
|
|
|
cd build
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
|
|
|
handbrake-cli_package() {
|
|
|
|
short_desc+=" - CLI utility"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/HandBrakeCLI
|
|
|
|
}
|
|
|
|
}
|