[packages/openHEVC] - added libdir patch
qboosh
qboosh at pld-linux.org
Tue Apr 16 18:42:35 CEST 2024
commit c264511b37b70d5f90f0c5d736573cc30bce255a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 16 18:16:52 2024 +0200
- added libdir patch
openHEVC-libdir.patch | 13 +++++++++++++
openHEVC.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/openHEVC.spec b/openHEVC.spec
index c68456e..581f4db 100644
--- a/openHEVC.spec
+++ b/openHEVC.spec
@@ -10,6 +10,7 @@ Source0: https://github.com/OpenHEVC/openHEVC/archive/openhevc-%{version}/%{name
# Source0-md5: efc4e49ef9b0ba87ff6eb60d2ea3e1d8
Patch0: %{name}-sysctl.patch
Patch1: %{name}-asm.patch
+Patch2: %{name}-libdir.patch
URL: https://github.com/OpenHEVC/openHEVC
BuildRequires: SDL2-devel >= 2.0
BuildRequires: cmake >= 2.8
@@ -40,6 +41,7 @@ Pliki nagłówkowe biblioteki openHEVC.
%setup -q -n %{name}-openhevc-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
install -d build
diff --git a/openHEVC-libdir.patch b/openHEVC-libdir.patch
new file mode 100644
index 0000000..4765651
--- /dev/null
+++ b/openHEVC-libdir.patch
@@ -0,0 +1,13 @@
+--- openHEVC-openhevc-2.0/CMakeLists.txt.orig 2017-10-04 15:08:10.000000000 +0200
++++ openHEVC-openhevc-2.0/CMakeLists.txt 2024-04-16 18:01:23.528358274 +0200
+@@ -579,8 +579,8 @@ install(FILES
+ install(
+ TARGETS LibOpenHevcWrapper
+ RUNTIME DESTINATION bin
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION lib${LIB_SUFFIX}
++ ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ )
+
+ configure_file(
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openHEVC.git/commitdiff/c264511b37b70d5f90f0c5d736573cc30bce255a
More information about the pld-cvs-commit
mailing list