Date: Saturday, March 7, 2015 @ 21:23:47 Author: foutrelis Revision: 128868
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: handbrake/repos/community-staging-i686/ handbrake/repos/community-staging-i686/PKGBUILD (from rev 128867, handbrake/trunk/PKGBUILD) handbrake/repos/community-staging-i686/handbrake.install (from rev 128867, handbrake/trunk/handbrake.install) handbrake/repos/community-staging-x86_64/ handbrake/repos/community-staging-x86_64/PKGBUILD (from rev 128867, handbrake/trunk/PKGBUILD) handbrake/repos/community-staging-x86_64/handbrake.install (from rev 128867, handbrake/trunk/handbrake.install) --------------------------------------------+ community-staging-i686/PKGBUILD | 72 +++++++++++++++++++++++++++ community-staging-i686/handbrake.install | 14 +++++ community-staging-x86_64/PKGBUILD | 72 +++++++++++++++++++++++++++ community-staging-x86_64/handbrake.install | 14 +++++ 4 files changed, 172 insertions(+) Copied: handbrake/repos/community-staging-i686/PKGBUILD (from rev 128867, handbrake/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-03-07 20:23:47 UTC (rev 128868) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Sebastien Piccand <sebcactus gmail com> + +pkgname=('handbrake' 'handbrake-cli') +pkgver=0.10.0 +pkgrel=3 +arch=('i686' 'x86_64') +url="http://handbrake.fr/" +license=('GPL') +makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs' 'libnotify' + 'gst-plugins-base' 'gtk3' 'dbus-glib' 'fribidi' 'libass' 'lame' + 'fontconfig' 'freetype2' 'libxml2' 'libogg' 'libvorbis' 'cmake' + 'libtheora' 'libsamplerate' 'libbluray' 'x264' 'libx264' + 'libdvdnav' 'librsvg') +source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2) +sha256sums=('a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114') + +prepare() { + cd "$srcdir/HandBrake-$pkgver" + + # Use more system libs + # We had ffmpeg here as well but it broke PGS subtitle processing + # https://forum.handbrake.fr/viewtopic.php?f=13&t=27581 + sed -i \ + -e '/MODULES += contrib\/libbluray/d' \ + -e '/MODULES += contrib\/libdvdnav/d' \ + -e '/MODULES += contrib\/libdvdread/d' \ + make/include/main.defs +} + +build() { + cd "$srcdir/HandBrake-$pkgver" + + ./configure \ + --prefix=/usr \ + --force \ + --disable-gtk-update-checks + cd build + make +} + +package_handbrake() { + pkgdesc="Multithreaded video transcoder" + depends=('bzip2' 'gcc-libs' 'gst-plugins-base' 'libnotify' 'dbus-glib' + 'fribidi' 'libass' 'lame' 'gtk3' 'fontconfig' 'freetype2' 'libxml2' + 'libogg' 'libvorbis' 'libtheora' 'libsamplerate' 'libbluray' + 'libx264' 'libdvdnav' 'librsvg' 'desktop-file-utils' + 'hicolor-icon-theme') + depends+=('libx264.so') + optdepends=('gst-plugins-good: for video previews' + 'gst-libav: for video previews') + install=$pkgname.install + + cd "$srcdir/HandBrake-$pkgver/build" + + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/bin/HandBrakeCLI" +} + +package_handbrake-cli() { + pkgdesc="Multithreaded video transcoder (CLI)" + depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'lame' 'libxml2' + 'libtheora' 'libsamplerate' 'libbluray' 'libx264' 'libdvdnav') + depends+=('libx264.so') + + cd "$srcdir/HandBrake-$pkgver/build" + install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" +} + +# vim:set ts=2 sw=2 et: Copied: handbrake/repos/community-staging-i686/handbrake.install (from rev 128867, handbrake/trunk/handbrake.install) =================================================================== --- community-staging-i686/handbrake.install (rev 0) +++ community-staging-i686/handbrake.install 2015-03-07 20:23:47 UTC (rev 128868) @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: Copied: handbrake/repos/community-staging-x86_64/PKGBUILD (from rev 128867, handbrake/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-03-07 20:23:47 UTC (rev 128868) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Sebastien Piccand <sebcactus gmail com> + +pkgname=('handbrake' 'handbrake-cli') +pkgver=0.10.0 +pkgrel=3 +arch=('i686' 'x86_64') +url="http://handbrake.fr/" +license=('GPL') +makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs' 'libnotify' + 'gst-plugins-base' 'gtk3' 'dbus-glib' 'fribidi' 'libass' 'lame' + 'fontconfig' 'freetype2' 'libxml2' 'libogg' 'libvorbis' 'cmake' + 'libtheora' 'libsamplerate' 'libbluray' 'x264' 'libx264' + 'libdvdnav' 'librsvg') +source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2) +sha256sums=('a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114') + +prepare() { + cd "$srcdir/HandBrake-$pkgver" + + # Use more system libs + # We had ffmpeg here as well but it broke PGS subtitle processing + # https://forum.handbrake.fr/viewtopic.php?f=13&t=27581 + sed -i \ + -e '/MODULES += contrib\/libbluray/d' \ + -e '/MODULES += contrib\/libdvdnav/d' \ + -e '/MODULES += contrib\/libdvdread/d' \ + make/include/main.defs +} + +build() { + cd "$srcdir/HandBrake-$pkgver" + + ./configure \ + --prefix=/usr \ + --force \ + --disable-gtk-update-checks + cd build + make +} + +package_handbrake() { + pkgdesc="Multithreaded video transcoder" + depends=('bzip2' 'gcc-libs' 'gst-plugins-base' 'libnotify' 'dbus-glib' + 'fribidi' 'libass' 'lame' 'gtk3' 'fontconfig' 'freetype2' 'libxml2' + 'libogg' 'libvorbis' 'libtheora' 'libsamplerate' 'libbluray' + 'libx264' 'libdvdnav' 'librsvg' 'desktop-file-utils' + 'hicolor-icon-theme') + depends+=('libx264.so') + optdepends=('gst-plugins-good: for video previews' + 'gst-libav: for video previews') + install=$pkgname.install + + cd "$srcdir/HandBrake-$pkgver/build" + + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/bin/HandBrakeCLI" +} + +package_handbrake-cli() { + pkgdesc="Multithreaded video transcoder (CLI)" + depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'lame' 'libxml2' + 'libtheora' 'libsamplerate' 'libbluray' 'libx264' 'libdvdnav') + depends+=('libx264.so') + + cd "$srcdir/HandBrake-$pkgver/build" + install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" +} + +# vim:set ts=2 sw=2 et: Copied: handbrake/repos/community-staging-x86_64/handbrake.install (from rev 128867, handbrake/trunk/handbrake.install) =================================================================== --- community-staging-x86_64/handbrake.install (rev 0) +++ community-staging-x86_64/handbrake.install 2015-03-07 20:23:47 UTC (rev 128868) @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: