Created
May 4, 2014 03:17
-
-
Save anonymous/11510204 to your computer and use it in GitHub Desktop.
Pkgfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: An open-source, GPL-licensed, multiplatform and multithreaded DVD to MPEG-4 converter | |
# URL: http://handbrake.fr/ | |
# Maintainer: Chris Farrell, timcowchip at gmail dot com | |
# Depends on: faac faad2 ffmpeg gudev intltool libdvdnav libmpeg2 libnotify libsamplerate | |
name=handbrake | |
version=0.9.9 | |
release=1 | |
source=(http://downloads.sourceforge.net/project/handbrake/$version/HandBrake-$version.tar.bz2) | |
build() { | |
cd HandBrake-$version | |
sed -i \ | |
-e '/MODULES += contrib\/libbluray/d' \ | |
-e '/MODULES += contrib\/x264/d' \ | |
make/include/main.defs | |
cd gtk | |
sed -i \ | |
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ | |
-e '/AM_PROG_CC_STDC/d' \ | |
-e 's/$pkg_gudev"/gmodule-2.0 $pkg_gudev"/' \ | |
configure.ac | |
autoreconf -vi | |
cd - | |
./configure \ | |
--prefix=/usr \ | |
--force \ | |
--disable-gtk-update-checks | |
cd build | |
make | |
make DESTDIR=$PKG install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment