[packages/mpeghdec/DEVEL-4] - updated to 4.0.1
qboosh
qboosh at pld-linux.org
Sun Nov 15 21:38:12 CET 2026
commit 9d91450ac9f60dd4d98ff77f3562c89ec0f23a48
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 15 21:38:03 2026 +0100
- updated to 4.0.1
mpeghdec-soname.patch | 10 +++++-----
mpeghdec-x32.patch | 8 ++++----
mpeghdec.spec | 9 +++++----
3 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/mpeghdec.spec b/mpeghdec.spec
index b0ba992..9528ddd 100644
--- a/mpeghdec.spec
+++ b/mpeghdec.spec
@@ -5,19 +5,20 @@
# ilo and mmtisobmff are upstream static-only helper libraries pulled in via
# CMake FetchContent (no network at build time in PLD), with no standalone
# shared library or other consumer - so they are vendored here as Source1/Source2
-# and linked statically into libmpeghdec.so rather than packaged separately.
+# and linked statically.
+# note: used only in demo, which is not built by default
%define ilover 2.0.2
%define mmtver 1.0.4
Summary: Fraunhofer MPEG-H 3D Audio decoder library
Summary(pl.UTF-8): Biblioteka dekodera dźwięku Fraunhofer MPEG-H 3D Audio
Name: mpeghdec
-Version: 3.0.3
+Version: 4.0.1
Release: 1
# Fraunhofer FDK MPEG-H Software License (source-redistributable; no patent grant)
License: distributable, patent license required in some countries
Group: Libraries
Source0: https://github.com/Fraunhofer-IIS/mpeghdec/archive/r%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: b7b51dedd99aeefb0d72eb5cc5e3ba7d
+# Source0-md5: bf1b46ee4f66cb18d97ce7cb7846f0e7
Source1: https://github.com/Fraunhofer-IIS/ilo/archive/r%{ilover}/ilo-%{ilover}.tar.gz
# Source1-md5: cbff75a47b407df6d469b4b682d0c906
Source2: https://github.com/Fraunhofer-IIS/mmtisobmff/archive/r%{mmtver}/mmtisobmff-%{mmtver}.tar.gz
@@ -103,7 +104,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS.md CHANGELOG.md LICENSE.txt README.md
%{_libdir}/libmpeghdec.so.*.*.*
-%ghost %{_libdir}/libmpeghdec.so.3
+%ghost %{_libdir}/libmpeghdec.so.4
%files devel
%defattr(644,root,root,755)
diff --git a/mpeghdec-soname.patch b/mpeghdec-soname.patch
index b38f0a2..a185a45 100644
--- a/mpeghdec-soname.patch
+++ b/mpeghdec-soname.patch
@@ -1,12 +1,12 @@
---- mpeghdec-r3.0.3/src/CMakeLists.txt.orig
-+++ mpeghdec-r3.0.3/src/CMakeLists.txt
-@@ -9,6 +9,9 @@
+--- mpeghdec-r4.0.1/src/CMakeLists.txt.orig 2026-07-24 12:25:09.000000000 +0200
++++ mpeghdec-r4.0.1/src/CMakeLists.txt 2026-11-15 21:09:48.006986974 +0100
+@@ -9,6 +9,9 @@ endfunction()
add_library(mpeghdec)
install(TARGETS mpeghdec)
+set_target_properties(mpeghdec PROPERTIES
+ VERSION ${PROJECT_VERSION}
+ SOVERSION ${PROJECT_VERSION_MAJOR})
- target_include_directories(mpeghdec PUBLIC "${PROJECT_SOURCE_DIR}/include")
- target_include_directories(mpeghdec PRIVATE "${PROJECT_SOURCE_DIR}/include/sys")
+ # ---------------------------------------------------------------------------
+ # Force-include the symbol-prefix header (see mpeghdec_SYMBOL_PREFIX in the root CMakeLists.txt file).
diff --git a/mpeghdec-x32.patch b/mpeghdec-x32.patch
index ae5bff6..ca29b9c 100644
--- a/mpeghdec-x32.patch
+++ b/mpeghdec-x32.patch
@@ -1,11 +1,11 @@
-Remove duplicate functions (SHORT is equal to FIXP_SNG)
---- mpeghdec-r3.0.3/src/libFDK/include/common_fix.h.orig 2026-03-30 13:28:00.000000000 +0200
-+++ mpeghdec-r3.0.3/src/libFDK/include/common_fix.h 2026-06-21 08:53:40.087126384 +0200
+Remove duplicate functions (SHORT is equal to FIXP_SGL)
+--- mpeghdec-r4.0.1/src/libFDK/include/common_fix.h.orig 2026-07-24 12:25:09.000000000 +0200
++++ mpeghdec-r4.0.1/src/libFDK/include/common_fix.h 2026-11-15 21:14:30.408790405 +0100
@@ -450,14 +450,6 @@ FDK_INLINE INT fMax(INT a, INT b) {
FDK_INLINE INT fMin(INT a, INT b) {
return fixmin_I(a, b);
}
--#if !defined(_MSC_VER) && defined(__x86_64__)
+-#if !defined(_MSC_VER) && !defined(__MINGW32__) && defined(__x86_64__)
-FDK_INLINE SHORT fMax(SHORT a, SHORT b) {
- return fixmax_S(a, b);
-}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mpeghdec.git/commitdiff/9d91450ac9f60dd4d98ff77f3562c89ec0f23a48
More information about the pld-cvs-commit
mailing list