[packages/xevd] - updated to 0.8.0
qboosh
qboosh at pld-linux.org
Mon Oct 12 21:17:54 CEST 2026
commit 0033956d5232b143a4833bca12d0430101bdeec3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 12 21:18:22 2026 +0200
- updated to 0.8.0
xevd-link.patch | 20 --------------------
xevd-pc.patch | 52 ++++++++++++++++++++++++++++++----------------------
xevd-string.patch | 12 ++++++------
xevd.spec | 20 ++++++++++----------
4 files changed, 46 insertions(+), 58 deletions(-)
---
diff --git a/xevd.spec b/xevd.spec
index de82ea0..6f95c87 100644
--- a/xevd.spec
+++ b/xevd.spec
@@ -5,15 +5,14 @@
Summary: eXtra-fast Essential Video Decoder (MPEG-5 EVC)
Summary(pl.UTF-8): eXtra-fast Essential Video Decoder - szybki dekoder obrazu MPEG-5 EVC
Name: xevd
-Version: 0.5.0
+Version: 0.8.0
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/mpeg5/xevd/releases
Source0: https://github.com/mpeg5/xevd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: b900608dca5d683f06bac028d74c3976
+# Source0-md5: a4934c8349bbb31905bbf043b5929957
Patch0: %{name}-string.patch
-Patch1: %{name}-link.patch
Patch4: %{name}-pc.patch
URL: https://github.com/mpeg5/xevd
BuildRequires: cmake >= 3.5
@@ -128,7 +127,6 @@ Statyczna biblioteka XEVD (profil Baseline).
%prep
%setup -q
%patch -P0 -p1
-%patch -P1 -p1
%patch -P4 -p1
echo "v%{version}" > version.txt
@@ -154,10 +152,12 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build-main install \
DESTDIR=$RPM_BUILD_ROOT
+
%{__mv} $RPM_BUILD_ROOT%{_libdir}/xevd/lib*.a $RPM_BUILD_ROOT%{_libdir}
%{__make} -C build-base install \
DESTDIR=$RPM_BUILD_ROOT
+
%{__mv} $RPM_BUILD_ROOT%{_libdir}/xevdb/lib*.a $RPM_BUILD_ROOT%{_libdir}
%clean
@@ -173,12 +173,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc COPYING README.md
%attr(755,root,root) %{_bindir}/xevd_app
-%attr(755,root,root) %{_libdir}/libxevd.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxevd.so.0
+%{_libdir}/libxevd.so.*.*
+%ghost %{_libdir}/libxevd.so.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxevd.so
+%{_libdir}/libxevd.so
%{_includedir}/xevd
%{_pkgconfigdir}/xevd.pc
@@ -192,12 +192,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc COPYING README.md
%attr(755,root,root) %{_bindir}/xevdb_app
-%attr(755,root,root) %{_libdir}/libxevdb.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxevdb.so.0
+%{_libdir}/libxevdb.so.*.*
+%ghost %{_libdir}/libxevdb.so.0
%files base-devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxevdb.so
+%{_libdir}/libxevdb.so
%{_includedir}/xevdb
%{_pkgconfigdir}/xevdb.pc
diff --git a/xevd-link.patch b/xevd-link.patch
deleted file mode 100644
index eda58aa..0000000
--- a/xevd-link.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- xevd-0.5.0/src_main/CMakeLists.txt.orig 2025-03-20 18:07:52.094656996 +0100
-+++ xevd-0.5.0/src_main/CMakeLists.txt 2025-03-20 18:09:13.567572499 +0100
-@@ -109,6 +109,7 @@ elseif( UNIX OR MINGW )
- set_target_properties(${LIB_NAME}_dynamic PROPERTIES FOLDER lib LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
- target_compile_definitions( ${LIB_NAME} PUBLIC ANY LINUX )
- target_link_libraries(${LIB_NAME} m)
-+ target_link_libraries(${LIB_NAME}_dynamic m)
- endif()
-
- # Install rules
---- xevd-0.4.1-4e76654c/src_base/CMakeLists.txt.orig 2022-12-21 06:54:35.000000000 +0100
-+++ xevd-0.4.1-4e76654c/src_base/CMakeLists.txt 2024-04-13 19:47:49.867171203 +0200
-@@ -94,6 +94,7 @@ elseif( UNIX OR MINGW )
- LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
- target_compile_definitions( ${LIB_NAME_BASE} PUBLIC ANY LINUX )
- target_link_libraries(${LIB_NAME_BASE} m)
-+ target_link_libraries(${LIB_NAME_BASE}_dynamic m)
- endif()
-
- # Install rules
diff --git a/xevd-pc.patch b/xevd-pc.patch
index 8ff51c9..77f0342 100644
--- a/xevd-pc.patch
+++ b/xevd-pc.patch
@@ -1,28 +1,36 @@
---- xevd-0.4.1-4e76654c/pkgconfig/xevd.pc.in.orig 2022-12-21 06:54:35.000000000 +0100
-+++ xevd-0.4.1-4e76654c/pkgconfig/xevd.pc.in 2024-04-14 20:47:22.619746994 +0200
-@@ -1,8 +1,8 @@
+--- xevd-0.8.0/pkgconfig/xevd.pc.in.orig 2026-10-09 13:17:35.000000000 +0200
++++ xevd-0.8.0/pkgconfig/xevd.pc.in 2026-10-12 20:28:30.992788889 +0200
+@@ -1,6 +1,6 @@
# --- xevd.pc.in file ---
prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
--libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
--includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME@
-+exec_prefix=${prefix}
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME@
+-exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
++exec_prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME@
- Name: xevd
- Description: eXtra-fast Essential Video Decoder (XEVD) (MAIN profile)
---- xevd-0.4.1-4e76654c/pkgconfig/xevdb.pc.in.orig 2022-12-21 06:54:35.000000000 +0100
-+++ xevd-0.4.1-4e76654c/pkgconfig/xevdb.pc.in 2024-04-14 20:51:08.961854127 +0200
-@@ -1,8 +1,8 @@
+@@ -11,6 +11,6 @@ Version: @PROJECT_VERSION_MAJOR at .@PROJEC
+
+ Requires:
+ Libs: -L${libdir} -lxevd
+-Libs.private: -L${libdir}/@LIB_NAME@ -lm
++Libs.private: -lm
+
+ Cflags: -I${includedir}
+--- xevd-0.8.0/pkgconfig/xevdb.pc.in.orig 2026-10-09 13:17:35.000000000 +0200
++++ xevd-0.8.0/pkgconfig/xevdb.pc.in 2026-10-12 20:29:09.079249223 +0200
+@@ -1,6 +1,6 @@
# --- xevdb.pc.in file ---
prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
--libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
--includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME_BASE@
-+exec_prefix=${prefix}
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME_BASE@
+-exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
++exec_prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME_BASE@
+
+@@ -11,6 +11,6 @@ Version: @PROJECT_VERSION_MAJOR at .@PROJEC
+
+ Requires:
+ Libs: -L${libdir} -lxevdb
+-Libs.private: -L${libdir}/@LIB_NAME_BASE@ -lm
++Libs.private: -lm
- Name: xevdb
- Description: eXtra-fast Essential Video Decoder (XEVD) (BASE profile)
+ Cflags: -I${includedir}
diff --git a/xevd-string.patch b/xevd-string.patch
index 81f1e0d..d73daa3 100644
--- a/xevd-string.patch
+++ b/xevd-string.patch
@@ -1,11 +1,11 @@
---- xevd-0.4.1-4e76654c/CMakeLists.txt.orig 2024-04-13 17:49:01.992452880 +0200
-+++ xevd-0.4.1-4e76654c/CMakeLists.txt 2024-04-13 17:55:36.726981086 +0200
-@@ -106,7 +106,7 @@ elseif( UNIX OR MINGW )
+--- xevd-0.8.0/CMakeLists.txt.orig 2026-10-09 13:17:35.000000000 +0200
++++ xevd-0.8.0/CMakeLists.txt 2026-10-12 21:15:14.337601866 +0200
+@@ -136,7 +136,7 @@ elseif( UNIX OR MINGW )
endif()
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -${OPT_LV} ${OPT_DBG} -fomit-frame-pointer -Wall -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Werror -Wno-unknown-pragmas -Wno-stringop-overflow -std=c99")
-- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pointer-sign -pthread -Wno-pointer-to-int-cast -Wno-maybe-uninitialized")
-+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pointer-sign -pthread -Wno-pointer-to-int-cast -Wno-maybe-uninitialized -Wno-format-truncation")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -${OPT_LV} ${OPT_DBG} -fomit-frame-pointer -pthread -std=c99")
+- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Wno-unknown-pragmas -Wno-stringop-overflow")
++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Wno-unknown-pragmas -Wno-stringop-overflow -Wno-format-truncation")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lm")
endif()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xevd.git/commitdiff/0033956d5232b143a4833bca12d0430101bdeec3
More information about the pld-cvs-commit
mailing list