[packman] Packman: Handbrake dovi Support
Manfred Hollstein
manfred.h at gmx.net
Fri Dec 5 13:40:51 CET 2025
Looks like attachments don't work in the Packman mailing list, so I
quote it literally here:
<<<<<<<<<<<<<<<<<< --- BEGIN handbrake-dovi.diff --- >>>>>>>>>>>>>>>
Index: handbrake.changes
===================================================================
--- handbrake.changes (revision b58a5d4649df61b55a139e5ad3d8b49b)
+++ handbrake.changes (working copy)
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Fri Dec 5 11:44:49 UTC 2025 - Markus Ebner <info at ebner-markus.de>
+
+- Add support for Dolby Vision media by utilizing libdovi. As we
+ want to use the version from the distribution, the contrib/libdovi
+ directory gets removed.
+- Add fix-missing-libdovi-link-flag.patch to ensure the library
+ gets linked to the final executable.
+
-------------------------------------------------------------------
Sun Sep 7 12:36:48 UTC 2025 - Manfred Hollstein <manfred.h at gmx.net>
Index: handbrake.spec
===================================================================
--- handbrake.spec (revision b58a5d4649df61b55a139e5ad3d8b49b)
+++ handbrake.spec (working copy)
@@ -35,6 +35,7 @@
Source1: download.tar.bz2
Source2: pre_checkin.sh
Source3: version.txt
+Patch0: fix-missing-libdovi-link-flag.patch
License: GPL-2.0+
Group: Productivity/Multimedia/Video/Editors and Convertors
ExclusiveArch: aarch64 x86_64
@@ -63,6 +64,7 @@
BuildRequires: libmp3lame-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dovi)
BuildRequires: pkgconfig(dvdnav)
BuildRequires: pkgconfig(dvdread)
BuildRequires: pkgconfig(ffnvcodec)
@@ -136,7 +138,7 @@
# disable contrib parts, that we provide externally
# beware: avoid omitting libs, if ghb uses patched versions (ffmpeg)
# or does build them in specific ways (x265)
-for lib in libbluray libdvdnav libdvdread
+for lib in libbluray libdovi libdvdnav libdvdread
do
sed -i "/MODULES.*$lib/d" make/include/main.defs
rm -rf contrib/$lib
@@ -171,6 +173,7 @@
%endif
--enable-amf \
--enable-vce \
+ --enable-libdovi \
--debug=max \
--launch-jobs=$(nproc)
Index: fix-missing-libdovi-link-flag.patch
===================================================================
--- fix-missing-libdovi-link-flag.patch (revision 0)
+++ fix-missing-libdovi-link-flag.patch (revision 0)
@@ -0,0 +1,16 @@
+Patch-Source: https://github.com/void-linux/void-packages/blob/e7116617abefe5b09afceec30682bfe985f6a394/srcpkgs/handbrake/patches/fix-missing-x265-link-flag.patch
+
+diff --git a/test/module.defs b/test/module.defs
+index 8fc95e6..7f453af 100644
+--- a/test/module.defs
++++ b/test/module.defs
+@@ -69,6 +69,9 @@ else ifeq ($(HOST.system),linux)
+ ifeq (1, $(FEATURE.numa))
+ TEST.GCC.l += numa
+ endif
++ifeq (1, $(FEATURE.libdovi))
++ TEST.GCC.l += dovi
++endif
+ else ifeq ($(HOST.system),kfreebsd)
+ TEST.GCC.l += pthread dl m
+ else ifneq (,$(filter $(HOST.system),freebsd netbsd openbsd))
<<<<<<<<<<<<<<<<<<< --- END handbrake-dovi.diff --- >>>>>>>>>>>>>>>>
Test builds are still running...
Cheers.
l8er
manfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20251205/52128591/attachment-0001.sig>
More information about the Packman
mailing list