Package Details: handbrake-gtk-git r7649-1

Git Clone URL: https://aur.archlinux.org/handbrake-git.git (read-only)
Package Base: handbrake-git
Description: Multiplatform, multithreaded DVD to MPEG-4/H264/Theora converter (GUI version)
Upstream URL: http://handbrake.fr/
Licenses: GPL
Conflicts: handbrake, handbrake-gtk
Provides: handbrake, handbrake-gtk
Submitter: haawda
Maintainer: nicepack
Last Packager: ponsfoot
Votes: 95
Popularity: 1.082864
First Submitted: 2015-08-30 09:06
Last Updated: 2017-01-17 11:16

Latest Comments

jamincollins commented on 2017-02-05 17:26

This package fails to successfully build in a bare chroot.

Please consider testing new package versions with something like the following:

==8<==========================================================================
#!/bin/bash
BUILD_CHROOT=~/.local/build-chroot
test -d ${BUILD_CHROOT} || \
mkdir -p ${BUILD_CHROOT}
test -d ${BUILD_CHROOT}/root && \
arch-nspawn ${BUILD_CHROOT}/root pacman -Syu || \
mkarchroot ${BUILD_CHROOT}/root base-devel
makechrootpkg -c -n -T -u -r ${BUILD_CHROOT} -- --cleanbuild
==8<==========================================================================

I recommend the following changes:

==8<==========================================================================
diff --git a/PKGBUILD b/PKGBUILD
index df21f64..d5b1372 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,11 +13,30 @@ pkgdesc="Multiplatform, multithreaded DVD to MPEG-4/H264/Theora converter"
arch=('i686' 'x86_64')
url="http://handbrake.fr/"
license=('GPL')
-options=('!makeflags')
-md5sums=('SKIP')
-source=("git+https://github.com/HandBrake/HandBrake.git")
-makedepends=('git' 'cmake' 'intltool' 'python2' 'gettext' 'yasm' 'paxtest')
-md5sums=('SKIP')
+makedepends=('git' 'cmake' 'intltool' 'python2' 'gettext' 'yasm' 'paxtest' 'lame' 'opus' 'jansson' 'libvorbis' 'libx264' 'libass' 'gtk3' 'libnotify' 'dbus-glib' 'libsamplerate' 'libtheora')
+source=("git+https://github.com/HandBrake/HandBrake.git"
+ "https://download.handbrake.fr/handbrake/contrib/fdk-aac-0.1.4.tar.gz"
+ "https://download.handbrake.fr/handbrake/contrib/libav-12.tar.gz"
+ "https://download.handbrake.fr/handbrake/contrib/libdvdnav-5.0.1.tar.bz2"
+ "https://download.handbrake.fr/contrib/x265_2.1-1.tar.gz"
+ "https://download.handbrake.fr/handbrake/contrib/libdvdread-5.0.0-6-gcb1ae87.tar.gz"
+ "https://download.handbrake.fr/contrib/libvpx-1.5.0.tar.bz2"
+ )
+sha256sums=("SKIP"
+ "5910fe788677ca13532e3f47b7afaa01d72334d46a2d5e1d1f080f1173ff15ab"
+ "ca5cb22ba660f0bdc47817fdb9d99059a71f9eb0776c68cf8bef769a5ccc7534"
+ "72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9"
+ "88fcb9af4ba52c0757ac9c0d8cd5ec79951a22905ae886897e06954353d6a643"
+ "d2e4200c3c5d5f812892f9c14851c94e2f707d54e7328946c6397ac999f15f17"
+ "306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797"
+ )
+noextract=("fdk-aac-0.1.4.tar.gz"
+ "libav-12.tar.gz"
+ "libdvdnav-5.0.1.tar.bz2"
+ "x265_2.1-1.tar.gz"
+ "libdvdread-5.0.0-6-gcb1ae87.tar.gz"
+ "libvpx-1.5.0.tar.bz2"
+ )
_gitname="HandBrake"

pkgver() {
@@ -31,6 +50,11 @@ prepare() {
# python2 substitutions
sed -i -e '1c#! /usr/bin/python2' "gtk/src/makedeps.py"
sed -i -e '1c#! /usr/bin/python2' "make/configure.py"
+
+ [ -d download ] || mkdir download
+ for _tarball in ${noextract[@]}; do
+ cp ../${_tarball} download/
+ done
}

build() {
==8<==========================================================================

haawda commented on 2016-11-30 21:08

You are right. Fixed.

ad1217 commented on 2016-11-30 18:19

According to the wiki, makedepends cannot be overridden in a split package: https://wiki.archlinux.org/index.php/PKGBUILD#pkgbase

haawda commented on 2016-11-29 21:34

oops, in the word makedepends the "m" is missing.

ad1217 commented on 2016-11-29 00:59

Seems to also require intltool and paxtest:

**Error**: You must have `intltool' installed.
You can get it from:
ftp://ftp.gnome.org/pub/GNOME/
make: *** [../gtk/module.rules:15: gtk/.stamp.configure] Error 1

handbrake-git/PKGBUILD: line 46: /usr/lib/paxtest/execstack: No such file or directory

haawda commented on 2016-11-14 21:06

Correct observations, opus added.

jamincollins commented on 2016-11-14 14:22

If I'm not mistaken the latest version of this package fails to declare a dependency on "opus". Before installing "opus":

Build is finished!
You may now cd into build and examine the output.
make: Entering directory '/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build'
set -e; cd ./contrib/ffmpeg/libav-11.3/; CC=/bin/gcc CFLAGS="-I/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/include -std=gnu99 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2" CXX=/bin/g++ CXXFLAGS="-I/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2" CPPFLAGS="-I/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2" LDFLAGS="-L/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/lib -Wl,-O1,--sort-common,--as-needed,-z,relro" PKG_CONFIG_PATH="/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/lib/pkgconfig" PATH="/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/bin:/bin:/home/jamin/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" ./configure --prefix=/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/ --disable-shared --enable-static --enable-gpl --disable-doc --disable-bsfs --enable-bsf=aac_adtstoasc --disable-avconv --disable-avplay --disable-avprobe --disable-avdevice --disable-muxers --disable-network --disable-hwaccels --disable-encoders --enable-libmp3lame --enable-encoder=aac --enable-encoder=ac3 --enable-encoder=eac3 --enable-encoder=flac --enable-encoder=mpeg2video --enable-encoder=mpeg4 --enable-encoder=libmp3lame --enable-libopus --enable-encoder=libopus --enable-libvpx --enable-encoder=libvpx_vp8 --disable-decoder=libvpx_vp8 --enable-encoder=libvpx_vp9 --disable-decoder=libvpx_vp9 --enable-zlib --enable-bzlib --enable-pthreads --cc="/bin/gcc" --extra-ldflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2 -L/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/lib" --enable-nonfree --enable-libfdk-aac --enable-encoder=libfdk_aac --enable-muxer=matroska --enable-muxer=webm --enable-muxer=mov --enable-muxer=mp4 --enable-muxer=psp --enable-muxer=ipod --disable-debug --extra-cflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2 -I/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build/contrib/include -DNDEBUG"
ERROR: opus not found

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [../contrib/ffmpeg/module.rules:2: contrib/ffmpeg/.stamp.configure] Error 1
make: Leaving directory '/tmp/yaourt-tmp-jamin/aur-handbrake-cli-git/src/HandBrake/build'
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build handbrake-git.
==> Restart building handbrake-cli-git ? [y/N]
==> ------------------------------------------
==>

After installing "opus":

==> Leaving fakeroot environment.
==> Finished making: handbrake-git r7609-1 (Mon Nov 14 07:22:14 MST 2016)
==> Cleaning up...

==> Continue installing handbrake-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==>
loading packages...
warning: handbrake-gtk-git-r7609-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) handbrake-cli-git-r7609-1 handbrake-gtk-git-r7609-1

Total Installed Size: 41.54 MiB
Net Upgrade Size: 16.71 MiB

:: Proceed with installation? [Y/n]

haawda commented on 2016-05-19 20:46

Should be fixed now.

haawda commented on 2016-05-19 20:40

See https://github.com/mstorsjo/fdk-aac/commit/15b128dd826ba86ee962d86b0b06966a25ed9158

haawda commented on 2016-05-19 19:27

confirmed

All comments