[packages/LCEVCdec] - updated to 4.0.5 (new soname, gstreamer-plugins-bad require patch or update to 1.28)
qboosh
qboosh at pld-linux.org
Fri Feb 27 19:36:40 CET 2026
commit 35acbf5173669e0d562a29f62a4a3508a67e02e3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Feb 27 19:36:34 2026 +0100
- updated to 4.0.5 (new soname, gstreamer-plugins-bad require patch or update to 1.28)
LCEVCdec-lib-utility.patch | 14 +++++-----
LCEVCdec-libdir.patch | 67 ----------------------------------------------
LCEVCdec-link.patch | 11 ++++++++
LCEVCdec.spec | 50 ++++++++++++++++++++--------------
4 files changed, 49 insertions(+), 93 deletions(-)
---
diff --git a/LCEVCdec.spec b/LCEVCdec.spec
index 7ad83cb..4f14013 100644
--- a/LCEVCdec.spec
+++ b/LCEVCdec.spec
@@ -6,15 +6,15 @@
Summary: LCEVC Decoder SDK library
Summary(pl.UTF-8): Biblioteka SDK dekodera LCEVC
Name: LCEVCdec
-Version: 3.3.8
+Version: 4.0.5
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/v-novaltd/LCEVCdec/releases
Source0: https://github.com/v-novaltd/LCEVCdec/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 83db8c568c6faf0401550f8d8e5d1e7e
+# Source0-md5: cceb6df703f1129173ec906a802c8945
Patch0: %{name}-lib-utility.patch
-Patch1: %{name}-libdir.patch
+Patch1: %{name}-link.patch
URL: https://github.com/v-novaltd/LCEVCdec
BuildRequires: CLI11-devel
BuildRequires: cmake >= 3.19.0
@@ -28,9 +28,9 @@ BuildRequires: doxygen
BuildRequires: java-plantuml
BuildRequires: jre
BuildRequires: python3-breathe >= 4.35.0
-BuildRequires: python3-sphinx_rtd_theme >= 1.2.0
-BuildRequires: python3-sphinxcontrib-plantuml >= 0.25
-BuildRequires: sphinx-pdg >= 6.2.1
+BuildRequires: python3-sphinx_rtd_theme >= 3.0.1
+BuildRequires: python3-sphinxcontrib-plantuml >= 0.30
+BuildRequires: sphinx-pdg >= 8.0.2
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -89,6 +89,7 @@ Dokumentacja API bibliotek dekodera LCEVC.
%prep
%setup -q
+# patch0 to get liblcevc_dec_utility.a
%patch -P0 -p1
%patch -P1 -p1
@@ -98,7 +99,7 @@ printf RELEASE > .gitlonghash
printf RELEASE > .gitbranch
printf %{version} > .gitversion
printf %{version} > .gitshortversion
-printf 2025-06-18 > .gitdate
+printf 2026-02-09 > .gitdate
%build
install -d build
@@ -116,12 +117,9 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
# not installed if tests/examples SDK not enabled
-cp -p build/lib/{liblcevc_dec_api_static,liblcevc_dec_core_static,liblcevc_dec_enhancement_cpu,liblcevc_dec_overlay_images}.a $RPM_BUILD_ROOT%{_libdir}
+cp -p build/lib/{liblcevc_dec_color_conversion,liblcevc_dec_overlay_images}.a $RPM_BUILD_ROOT%{_libdir}
-# examples/tests
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/src
# packaged as %doc
-%{__rm} $RPM_BUILD_ROOT%{_docdir}/README.md
%{__rm} $RPM_BUILD_ROOT%{_docdir}/licenses/{COPYING,LICENSE.md}
%clean
@@ -133,23 +131,35 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc COPYING LICENSE.md README.md
-%attr(755,root,root) %{_libdir}/liblcevc_dec_api.so
-%attr(755,root,root) %{_libdir}/liblcevc_dec_core.so
+%{_libdir}/liblcevc_dec_api.so.*.*.*
+%ghost %{_libdir}/liblcevc_dec_api.so.4
+%{_libdir}/liblcevc_dec_legacy.so.1
+%{_libdir}/liblcevc_dec_pipeline_cpu.so.1
+%{_libdir}/liblcevc_dec_pipeline_legacy.so.1
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/liblcevc_dec_api_utility.a
-%attr(755,root,root) %{_libdir}/liblcevc_dec_core_sequencing.a
-%attr(755,root,root) %{_libdir}/liblcevc_dec_enhancement_cpu.a
-%attr(755,root,root) %{_libdir}/liblcevc_dec_overlay_images.a
-%attr(755,root,root) %{_libdir}/liblcevc_dec_utility.a
+%{_libdir}/liblcevc_dec_api.so
+%{_libdir}/liblcevc_dec_legacy.so
+%{_libdir}/liblcevc_dec_pipeline_cpu.so
+%{_libdir}/liblcevc_dec_pipeline_legacy.so
+%{_libdir}/liblcevc_dec_color_conversion.a
+%{_libdir}/liblcevc_dec_extract.a
+%{_libdir}/liblcevc_dec_overlay_images.a
+%{_libdir}/liblcevc_dec_utility.a
%{_includedir}/LCEVC
%{_pkgconfigdir}/lcevc_dec.pc
+%{_pkgconfigdir}/lcevc_dec_extract.pc
+%{_pkgconfigdir}/lcevc_dec_utility.pc
%files static
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/liblcevc_dec_api_static.a
-%attr(755,root,root) %{_libdir}/liblcevc_dec_core_static.a
+%{_libdir}/liblcevc_dec_api_utility.a
+%{_libdir}/liblcevc_dec_common.a
+%{_libdir}/liblcevc_dec_enhancement.a
+%{_libdir}/liblcevc_dec_pipeline.a
+%{_libdir}/liblcevc_dec_pixel_processing.a
+%{_libdir}/liblcevc_dec_sequencer.a
%if %{with apidocs}
%files apidocs
diff --git a/LCEVCdec-lib-utility.patch b/LCEVCdec-lib-utility.patch
index 38d4304..988525e 100644
--- a/LCEVCdec-lib-utility.patch
+++ b/LCEVCdec-lib-utility.patch
@@ -1,12 +1,14 @@
---- LCEVCdec-3.3.8/CMakeLists.txt.orig 2025-06-13 11:10:55.000000000 +0200
-+++ LCEVCdec-3.3.8/CMakeLists.txt 2025-07-02 06:28:13.218350665 +0200
-@@ -94,9 +94,7 @@ if (VN_SDK_API_LAYER)
- endif ()
+--- LCEVCdec-4.0.5/CMakeLists.txt.orig 2026-02-04 13:09:57.000000000 +0100
++++ LCEVCdec-4.0.5/CMakeLists.txt 2026-02-26 20:47:03.863226363 +0100
+@@ -170,11 +170,9 @@ if (EMSCRIPTEN)
endif ()
+ # Utility
-if (VN_SDK_EXECUTABLES OR VN_SDK_UNIT_TESTS)
lcevc_add_subdirectory(src/utility)
+ lcevc_add_subdirectory_if(src/utility/test/unit VN_SDK_UNIT_TESTS)
+ lcevc_add_subdirectory_if(src/utility/test/utilities VN_SDK_UNIT_TESTS)
-endif ()
- # Core layer
- lcevc_add_subdirectory(src/core/decoder)
+ lcevc_add_subdirectory_if(docs/sphinx VN_SDK_DOCS)
+
diff --git a/LCEVCdec-libdir.patch b/LCEVCdec-libdir.patch
deleted file mode 100644
index bdc2fec..0000000
--- a/LCEVCdec-libdir.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- LCEVCdec-3.3.4/src/api_utility/CMakeLists.txt.orig 2025-03-17 12:21:58.000000000 +0100
-+++ LCEVCdec-3.3.4/src/api_utility/CMakeLists.txt 2025-03-22 11:48:56.943839159 +0100
-@@ -26,6 +26,6 @@ add_library(lcevc_dec::api_utility ALIAS
-
- include(GNUInstallDirs)
-
--install(TARGETS lcevc_dec_api_utility DESTINATION lib)
-+install(TARGETS lcevc_dec_api_utility DESTINATION lib${LIB_SUFFIX})
- install(FILES ${INTERFACES} DESTINATION include/LCEVC/api_utility)
- install(FILES ${SOURCES} ${HEADERS} DESTINATION ${CMAKE_INSTALL_DOCDIR}/src/api_utility)
---- LCEVCdec-3.3.7/src/core/sequencing/CMakeLists.txt.orig 2025-05-01 15:58:07.000000000 +0200
-+++ LCEVCdec-3.3.7/src/core/sequencing/CMakeLists.txt 2025-05-06 05:33:26.077115903 +0200
-@@ -28,4 +28,4 @@ target_include_directories(
- PRIVATE "${CMAKE_CURRENT_LIST_DIR}/src")
-
- install(FILES ${INTERFACES} DESTINATION "include/LCEVC/sequencing")
--install(TARGETS lcevc_dec_core_sequencing DESTINATION lib)
-+install(TARGETS lcevc_dec_core_sequencing DESTINATION lib${LIB_SUFFIX})
---- LCEVCdec-3.3.8/src/utility/test/utilities/CMakeLists.txt.orig 2025-06-13 11:10:55.000000000 +0200
-+++ LCEVCdec-3.3.8/src/utility/test/utilities/CMakeLists.txt 2025-07-01 21:38:27.772229240 +0200
-@@ -25,4 +25,4 @@ target_link_libraries(lcevc_dec_unit_tes
-
- add_library(lcevc_dec::unit_test_utilities ALIAS lcevc_dec_unit_test_utilities)
-
--install(TARGETS lcevc_dec_unit_test_utilities DESTINATION lib)
-+install(TARGETS lcevc_dec_unit_test_utilities DESTINATION lib${LIB_SUFFIX})
---- LCEVCdec-3.3.8/src/utility/CMakeLists.txt.orig 2025-07-01 21:38:41.835642631 +0200
-+++ LCEVCdec-3.3.8/src/utility/CMakeLists.txt 2025-07-01 21:38:44.775659367 +0200
-@@ -37,6 +37,6 @@ add_library(lcevc_dec::utility ALIAS lce
-
- include(GNUInstallDirs)
-
--install(TARGETS lcevc_dec_utility DESTINATION lib)
-+install(TARGETS lcevc_dec_utility DESTINATION lib${LIB_SUFFIX})
- install(FILES ${INTERFACES} DESTINATION include/LCEVC/utility)
- install(FILES ${SOURCES} ${HEADERS} DESTINATION ${CMAKE_INSTALL_DOCDIR}/src/utility)
---- LCEVCdec-3.3.8/src/overlay_images/CMakeLists.txt.orig 2025-06-13 11:10:55.000000000 +0200
-+++ LCEVCdec-3.3.8/src/overlay_images/CMakeLists.txt 2025-07-01 21:38:58.895739746 +0200
-@@ -24,5 +24,5 @@ target_link_libraries(lcevc_dec_overlay_
- add_library(lcevc_dec::overlay_images ALIAS lcevc_dec_overlay_images)
-
- if (NOT BUILD_SHARED_LIBS)
-- install(TARGETS lcevc_dec_overlay_images DESTINATION lib)
-+ install(TARGETS lcevc_dec_overlay_images DESTINATION lib${LIB_SUFFIX})
- endif ()
---- LCEVCdec-3.3.8/src/core/decoder/CMakeLists.txt.orig 2025-06-13 11:10:55.000000000 +0200
-+++ LCEVCdec-3.3.8/src/core/decoder/CMakeLists.txt 2025-07-01 21:39:20.952531972 +0200
-@@ -168,7 +168,7 @@ endif ()
-
- get_target_property(IS_APPLE_FRAMEWORK lcevc_dec_core FRAMEWORK)
- if (IS_APPLE_FRAMEWORK)
-- install(TARGETS lcevc_dec_core DESTINATION lib)
-+ install(TARGETS lcevc_dec_core DESTINATION lib${LIB_SUFFIX})
- else ()
- install(TARGETS lcevc_dec_core)
- endif ()
---- LCEVCdec-3.3.8/src/api/CMakeLists.txt.orig 2025-06-13 11:10:55.000000000 +0200
-+++ LCEVCdec-3.3.8/src/api/CMakeLists.txt 2025-07-01 21:39:52.819380041 +0200
-@@ -59,7 +59,7 @@ include(GNUInstallDirs)
-
- get_target_property(IS_APPLE_FRAMEWORK lcevc_dec_api FRAMEWORK)
- if (IS_APPLE_FRAMEWORK)
-- install(TARGETS lcevc_dec_api DESTINATION lib)
-+ install(TARGETS lcevc_dec_api DESTINATION lib${LIB_SUFFIX})
- else ()
- install(TARGETS lcevc_dec_api)
- endif ()
diff --git a/LCEVCdec-link.patch b/LCEVCdec-link.patch
new file mode 100644
index 0000000..85f510a
--- /dev/null
+++ b/LCEVCdec-link.patch
@@ -0,0 +1,11 @@
+--- LCEVCdec-4.0.5/src/legacy/decoder/CMakeLists.txt.orig 2026-02-04 13:09:57.000000000 +0100
++++ LCEVCdec-4.0.5/src/legacy/decoder/CMakeLists.txt 2026-02-27 17:46:18.440578730 +0100
+@@ -26,7 +26,7 @@ include("Sources.cmake")
+ # -------------------------------------------------------------------------------------------------
+
+ set(PUBLIC_LIBRARIES lcevc_dec::platform lcevc_dec::compiler)
+-set(PRIVATE_LIBRARIES lcevc_dec::core_version)
++set(PRIVATE_LIBRARIES lcevc_dec::core_version m)
+
+ # Explicit static library for legacy unit tests
+ # -------------------------------------------------------------------------------------------------
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/LCEVCdec.git/commitdiff/35acbf5173669e0d562a29f62a4a3508a67e02e3
More information about the pld-cvs-commit
mailing list