summaryrefslogtreecommitdiff
path: root/libre/handbrake
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-09 14:11:17 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-09 14:18:16 +0200
commita602c0e3a308c31abbd9d666a07ce483ea19f223 (patch)
treecead252dfa6aa81d473f8bfcf190f0998eba8442 /libre/handbrake
parenta1ec9164fe41ad83be41310cb1c014be111087b8 (diff)
downloadabslibre-a602c0e3a308c31abbd9d666a07ce483ea19f223.tar.gz
abslibre-a602c0e3a308c31abbd9d666a07ce483ea19f223.tar.bz2
abslibre-a602c0e3a308c31abbd9d666a07ce483ea19f223.zip
libre: handbrake: update to 1.3.3 by syncing with community-x86_64
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/handbrake')
-rw-r--r--libre/handbrake/PKGBUILD53
1 files changed, 26 insertions, 27 deletions
diff --git a/libre/handbrake/PKGBUILD b/libre/handbrake/PKGBUILD
index bf6d64006..288ebb12c 100644
--- a/libre/handbrake/PKGBUILD
+++ b/libre/handbrake/PKGBUILD
@@ -5,31 +5,35 @@
# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
pkgname=('handbrake' 'handbrake-cli')
-pkgver=1.3.0
-pkgrel=2
-pkgrel+=.par3
+pkgver=1.3.3
+pkgrel=5
+pkgrel+=.par1
arch=('x86_64')
arch+=('i686' 'armv7h')
url="https://handbrake.fr/"
license=('GPL')
-makedepends=('intltool' 'python2' 'nasm' 'wget' 'cmake' 'bzip2' 'gcc-libs' 'xz'
- 'zlib' 'libnotify' 'gst-plugins-base' 'gtk3' 'dbus-glib' 'libass'
- 'lame' 'libxml2' 'opus' 'libvorbis' 'libtheora' 'libsamplerate'
- 'speex' 'x264' 'jansson' 'librsvg' 'libgudev')
-makedepends+=('dav1d' 'libbluray' 'numactl' 'meson' 'x265')
-makedepends+=('ffmpeg' 'libdvdnav')
-source=(https://download.handbrake.fr/releases/$pkgver/HandBrake-$pkgver-source.tar.bz2
- https://github.com/HandBrake/HandBrake/releases/download/$pkgver/HandBrake-$pkgver-source.tar.bz2.sig
- 0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
- 0002-Fix-linking-issue-when-disabling-internal-x265.patch)
-sha256sums=('a9a82eb5ca04a793705b3d7d11cefa29946694eeb13b40161446aaca35b31d96'
+_commondeps=('libxml2' 'libass' 'libvorbis' 'opus' 'speex' 'libtheora' 'lame'
+ 'x264' 'jansson' 'libvpx' 'libva' 'numactl' 'bzip2' 'gcc-libs'
+ 'zlib' 'xz')
+_commondeps+=('dav1d' 'libbluray' 'numactl' 'meson' 'x265')
+_commondeps+=('ffmpeg' 'libdvdnav')
+_guideps=('gst-plugins-base' 'gtk3' 'librsvg' 'libgudev')
+makedepends=('intltool' 'python' 'nasm' 'wget' 'cmake' 'meson'
+ "${_commondeps[@]}" "${_guideps[@]}")
+source=(https://github.com/HandBrake/HandBrake/releases/download/$pkgver/HandBrake-$pkgver-source.tar.bz2{,.sig}
+ handbrake-fix-close-button-in-about-dialog.patch::https://github.com/HandBrake/HandBrake/commit/d3eb4a11ac.patch)
+source+=(0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
+ 0002-Fix-linking-issue-when-disabling-internal-x265.patch)
+sha256sums=('218a37d95f48b5e7cf285363d3ab16c314d97627a7a710cab3758902ae877f85'
'SKIP'
- '8a2818c31815764227d52ea99f7291acacec16c62487f5ae7ea64fedd52546fd'
- 'a1181cba4d83a20ead3e1d92649f8f25add000ebc3293829b9604cfc6ed79326')
+ '628451adc1341abf0917da86dcae7922c42b6e61225ef4b55182e8dbe74cfa49')
+sha256sums+=('8a2818c31815764227d52ea99f7291acacec16c62487f5ae7ea64fedd52546fd'
+ 'a1181cba4d83a20ead3e1d92649f8f25add000ebc3293829b9604cfc6ed79326')
validpgpkeys+=('1629C061B3DDE7EB4AE34B81021DB8B44E4A8645') # HandBrake Team <developers@handbrake.fr>
prepare() {
cd "$srcdir/HandBrake-$pkgver"
+ patch -Np1 -i ../handbrake-fix-close-button-in-about-dialog.patch
# Prevent fetching and use system libraries instead
_libs="\
@@ -59,21 +63,18 @@ prepare() {
build() {
cd "$srcdir/HandBrake-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --prefix=/usr \
--disable-df-fetch \
--disable-gtk-update-checks \
- --disable-nvenc \
-
+ --disable-nvenc
make -C build
}
package_handbrake() {
pkgdesc="Multithreaded video transcoder"
- depends=('bzip2' 'gcc-libs' 'zlib' 'gst-plugins-base' 'libnotify' 'dbus-glib'
- 'gtk3' 'xz' 'libass' 'lame' 'libxml2' 'opus' 'libvorbis' 'libtheora'
- 'libsamplerate' 'speex' 'x264' 'jansson' 'librsvg' 'libgudev'
- 'desktop-file-utils' 'hicolor-icon-theme')
- depends+=('ffmpeg' 'libdvdnav')
+ 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')
@@ -86,9 +87,7 @@ package_handbrake() {
package_handbrake-cli() {
pkgdesc="Multithreaded video transcoder (CLI)"
- depends=('bzip2' 'gcc-libs' 'zlib' 'xz' 'libass' 'lame' 'libxml2' 'opus'
- 'libvorbis' 'libtheora' 'libsamplerate' 'speex' 'x264' 'jansson')
- depends+=('ffmpeg' 'libdvdnav')
+ depends=("${_commondeps[@]}")
optdepends=('libdvdcss: for decoding encrypted DVDs')
cd "$srcdir/HandBrake-$pkgver/build"