[arch-commits] Commit in handbrake/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Jan 4 12:00:51 UTC 2020
Date: Saturday, January 4, 2020 @ 12:00:50
Author: foutrelis
Revision: 547877
archrelease: copy trunk to community-staging-x86_64
Added:
handbrake/repos/community-staging-x86_64/
handbrake/repos/community-staging-x86_64/PKGBUILD
(from rev 547876, handbrake/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: handbrake/repos/community-staging-x86_64/PKGBUILD (from rev 547876, handbrake/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-01-04 12:00:50 UTC (rev 547877)
@@ -0,0 +1,54 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Sebastien Piccand <sebcactus gmail com>
+
+pkgname=('handbrake' 'handbrake-cli')
+pkgver=1.3.0
+pkgrel=2
+arch=('x86_64')
+url="https://handbrake.fr/"
+license=('GPL')
+_commondeps=('libxml2' 'libass' 'libvorbis' 'opus' 'speex' 'libtheora' 'lame'
+ 'x264' 'jansson' 'libvpx' 'libva' 'numactl'
+ 'bzip2' 'gcc-libs' 'zlib' 'xz')
+_guideps=('gst-plugins-base' 'gtk3' 'librsvg' 'libgudev')
+makedepends=('intltool' 'python' 'nasm' 'wget' 'cmake' 'meson'
+ "${_commondeps[@]}" "${_guideps[@]}")
+source=(https://download.handbrake.fr/releases/$pkgver/HandBrake-$pkgver-source.tar.bz2{,.sig})
+sha256sums=('a9a82eb5ca04a793705b3d7d11cefa29946694eeb13b40161446aaca35b31d96'
+ 'SKIP')
+validpgpkeys+=('1629C061B3DDE7EB4AE34B81021DB8B44E4A8645') # HandBrake Team <developers at handbrake.fr>
+
+build() {
+ cd "$srcdir/HandBrake-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-qsv
+ make -C build
+}
+
+package_handbrake() {
+ pkgdesc="Multithreaded video transcoder"
+ depends=('desktop-file-utils' 'hicolor-icon-theme'
+ "${_commondeps[@]}" "${_guideps[@]}")
+ optdepends=('gst-plugins-good: for video previews'
+ 'gst-libav: for video previews'
+ 'libdvdcss: for decoding encrypted DVDs')
+
+ cd "$srcdir/HandBrake-$pkgver/build"
+
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir/usr/bin/HandBrakeCLI"
+}
+
+package_handbrake-cli() {
+ pkgdesc="Multithreaded video transcoder (CLI)"
+ depends=("${_commondeps[@]}")
+ optdepends=('libdvdcss: for decoding encrypted DVDs')
+
+ cd "$srcdir/HandBrake-$pkgver/build"
+ install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list