That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
51 lines
1.5 KiB
Bash
51 lines
1.5 KiB
Bash
# Template file for 'handbrake'
|
|
only_for_archs="i686 x86_64"
|
|
|
|
pkgname=handbrake
|
|
version=0.10.1
|
|
revision=1
|
|
wrksrc="HandBrake-${version}"
|
|
hostmakedepends="automake libtool cmake pkg-config intltool
|
|
python yasm wget m4 gettext-devel"
|
|
makedepends="zlib-devel bzip2-devel libnotify-devel gtk+3-devel ncurses-devel
|
|
gst-plugins-base1-devel webkitgtk-devel libgudev-devel x264-devel
|
|
dbus-glib-devel fribidi-devel libass-devel fontconfig-devel libxml2-devel
|
|
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"
|
|
short_desc="Multithreaded video transcoder"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://handbrake.fr/"
|
|
distfiles="https://handbrake.fr/rotation.php?file=HandBrake-${version}.tar.bz2>HandBrake-${version}.tar.bz2"
|
|
checksum=7ea42031fd4d5efd04903a9aae79c952c50fd43b6f7bf08fd1a93f6b358a23f5
|
|
|
|
CFLAGS="-msse"
|
|
|
|
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() {
|
|
./configure --prefix=/usr --force --disable-gtk-update-checks
|
|
}
|
|
do_build() {
|
|
unset AS LD
|
|
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
|
|
}
|
|
}
|