[crux-commits] ports/contrib (3.5): handbrake: initial commit, version 1.3.2

crux at crux.nu crux at crux.nu
Sun Jun 7 16:21:38 UTC 2020


commit 32950468dd1429d08037c47016595fa34d520189
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 7 14:31:22 2020 +0000

    handbrake: initial commit, version 1.3.2

diff --git a/handbrake/.footprint b/handbrake/.footprint
new file mode 100644
index 000000000..8438166a2
--- /dev/null
+++ b/handbrake/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/HandBrakeCLI
diff --git a/handbrake/.signature b/handbrake/.signature
new file mode 100644
index 000000000..a28e25a6b
--- /dev/null
+++ b/handbrake/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF385E83YniRcLr4tmEarfCp8GokaVOhL6NVynJTfiy2cmwnJHcTcHOKUHTN3y8EUJMrLMtCPDuAMnwKoKSNO5UA4=
+SHA256 (Pkgfile) = b2319f4a88916ce6bc4e8ac01b68e873dc219ca6de2aa2f6275e3ce941cc7c4c
+SHA256 (.footprint) = 43e26093297e4b7ba925c997597e7db68249b3bdcd0f0aec3bea2763c71e8fb8
+SHA256 (handbrake-1.3.2-source.tar.bz2) = ec6feba97f426d545ec56cf1472eae5795d768bc1aec56c23bb76fc6b2ecf270
diff --git a/handbrake/Pkgfile b/handbrake/Pkgfile
new file mode 100644
index 000000000..12cf247b9
--- /dev/null
+++ b/handbrake/Pkgfile
@@ -0,0 +1,27 @@
+# Description: open source video transcoder
+# URL: https://handbrake.fr/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: cmake faad2 jansson lame libass libdvdcss libsamplerate libtheora libva libvpx libxml2 numactl opus speex x264
+
+name=handbrake
+version=1.3.2
+release=1
+source=(https://github.com/HandBrake/HandBrake/releases/download/1.3.2/$name-$version-source.tar.bz2)
+
+build() {
+  [[ -e /usr/lib/pkgconfig/gdk-x11-3.0.pc ]] || PKGMK_HANDBRAKE+='--disable-gtk --disable-gtk-update-checks'
+
+  ./HandBrake-$version/configure $PKGMK_HANDBRAKE \
+    --launch \
+    --launch-jobs=$(nproc) \
+    --build=build \
+    --prefix=/usr \
+    --enable-fdk
+
+  mkdir -p $SRC/build/build_tmp
+
+  make -C build TMPDIR=$SRC/build/build_tmp
+  make -C build DESTDIR=$PKG install
+
+  rm -rf $PKG/usr/share/locale/
+}


More information about the crux-commits mailing list