aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild15
-rw-r--r--multimedia/HandBrake/HandBrake.info46
2 files changed, 35 insertions, 26 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index 87a3bd5707f0f..3278c708c7c6b 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -10,7 +10,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=HandBrake
-VERSION=${VERSION:-1.0.7}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,10 +62,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2
cd $PRGNAM-$VERSION
mkdir -p download
-cp -r $CWD/* download
+cp -r $CWD/*{gz,bz2} download
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,19 +73,22 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Autodetect onevpl support
+if pkg-config --exists vpl ; then qsv="--enable-qsv" ; else qsv="" ; fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--disable-gtk-update-checks \
--enable-fdk-aac \
- --disable-libav-aac \
+ --enable-nvenc \
+ --enable-vce \
--enable-x265 \
+ $qsv \
--arch=$ARCH
cd build
- # Fix underlinking by configuring the gtk module first, then sed:
- make gtk.configure
make
make install DESTDIR=$PKG
cd $TMP/$PRGNAM-$VERSION
diff --git a/multimedia/HandBrake/HandBrake.info b/multimedia/HandBrake/HandBrake.info
index 52166db079458..f02a4c62e54b1 100644
--- a/multimedia/HandBrake/HandBrake.info
+++ b/multimedia/HandBrake/HandBrake.info
@@ -1,26 +1,32 @@
PRGNAM="HandBrake"
-VERSION="1.0.7"
+VERSION="1.5.1"
HOMEPAGE="https://handbrake.fr/"
-DOWNLOAD="https://download.handbrake.fr/releases/1.0.7/HandBrake-1.0.7.tar.bz2 \
- https://download.handbrake.fr/contrib/libvpx-1.5.0.tar.bz2 \
- https://download.handbrake.fr/handbrake/contrib/libav-12.tar.gz \
- https://download.handbrake.fr/handbrake/contrib/fdk-aac-0.1.4.tar.gz \
- https://download.handbrake.fr/handbrake/contrib/libdvdread-5.0.0-6-gcb1ae87.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/libbluray-0.9.3.tar.bz2 \
- https://download.handbrake.fr/contrib/mfx_dispatch-9f4a84d7.tar.gz"
-MD5SUM="bf39fcc56a82ccca32a9faac8fa633f5 \
- 49e59dd184caa255886683facea56fca \
- a389fd293cf7b52d8fe194615e2547a8 \
- e274a7d7f6cd92c71ec5c78e4dc9f8b7 \
- 607a5dd41b0dd2f35433d6deac79b99e \
- 81e30fb57eaf9f61aa6513a7bd85bd74 \
- 2d9cb183d2675dfb325abdedd2424bfa \
- c51fd34f933431559371be30b59cff51 \
- 694058b83b43b39b7e5b5fc38dbe2b88"
+DOWNLOAD="https://github.com/HandBrake/HandBrake/releases/download/1.5.1/HandBrake-1.5.1-source.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/AMF-1.4.18.tar.gz \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/dav1d-0.9.2.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/fdk-aac-2.0.1.tar.gz \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/ffmpeg-4.4.1.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libbluray-1.3.0.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libdvdnav-6.1.1.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libdvdread-6.1.1.tar.bz2 \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/nv-codec-headers-11.0.10.1.tar.gz \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/oneVPL-2021.6.0.tar.gz \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/x265_3.5.tar.gz \
+ https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/zimg-3.0.3.tar.gz"
+MD5SUM="d7fa3057eb830d11d5a18a868bd3ff2d \
+ c1e8aae3434b8fe6109e47e88e5b4de4 \
+ 52415d8b51774e960598bc6d07e6a608 \
+ 5b85f858ee416a058574a1028a3e1b85 \
+ 9c2ca54e7f353a861e57525ff6da335b \
+ d185696bef5f10ac04154e2b22b55b67 \
+ 46c46cb0294fbd1fcb8a0181818dad15 \
+ 09c7423568fb679279fd2a2bc6b10b6e \
+ 3400a117b9d4291f36be00c522057578 \
+ 10e99ad6f862598f2f39a50d663bf4f3 \
+ deb5df5cb2ec17bdbae6ac6bbc3b1eef \
+ 43e157debdfebf737db3a709fc971869"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libass x264"
+REQUIRES="libass x264 numactl"
MAINTAINER="klaatu"
EMAIL="klaatu@member.fsf.org"