handbrake: update to 0.10.0.

This commit is contained in:
Juan RP 2014-12-13 11:28:29 +01:00
parent a964381de5
commit cf3b85ef50
1 changed files with 20 additions and 21 deletions

View File

@ -2,43 +2,42 @@
only_for_archs="i686 x86_64"
pkgname=handbrake
version=0.9.9
revision=4
version=0.10.0
revision=1
wrksrc="HandBrake-${version}"
hostmakedepends="pkg-config intltool automake libtool python yasm wget gettext-devel"
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-base-devel gst-plugins-good webkitgtk-devel x264-devel>=20140928
gst-plugins-base1-devel webkitgtk-devel libgudev-devel x264-devel>=20140928
dbus-glib-devel fribidi-devel libass-devel fontconfig-devel libxml2-devel
libogg-devel libtheora-devel libsamplerate-devel libbluray-devel"
depends="gst-plugins-good desktop-file-utils hicolor-icon-theme"
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="${SOURCEFORGE_SITE}/${pkgname}/HandBrake-${version}.tar.bz2"
checksum=a71dd774104cda00cfb51a813550351d638253791f2f419d04a66f3158a835b3
checksum=a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114
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() {
sed -e '/MODULES += contrib\/libbluray/d' \
-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
autoreconf -fi
cd ${wrksrc}
export CFLAGS+=" -msse"
./configure --prefix=/usr --force --disable-gtk-update-checks
}
do_build() {
unset AS LD
cd build
export CFLAGS+=" -msse"
make ${makejobs}
}
do_install() {
cd build
make DESTDIR=${DESTDIR} install