[packages/libcaption] - fix for install lib directory
qboosh
qboosh at pld-linux.org
Sun Jun 21 08:36:14 CEST 2026
commit 5f20ebd92e4dfc7f491dad801eb5973a31157f1d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 21 08:36:36 2026 +0200
- fix for install lib directory
libcaption-libdir.patch | 11 +++++++++++
libcaption.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/libcaption.spec b/libcaption.spec
index 68f9f66..252a8bc 100644
--- a/libcaption.spec
+++ b/libcaption.spec
@@ -12,6 +12,7 @@ Group: Libraries
#Source0Download: https://github.com/szatmary/libcaption/releases
Source0: https://github.com/szatmary/libcaption/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 44e9f042653abf2333ae94f58bdc0a61
+Patch0: %{name}-libdir.patch
URL: https://github.com/szatmary/libcaption
BuildRequires: cmake >= 2.8
%{?with_apidocs:BuildRequires: doxygen}
@@ -60,6 +61,7 @@ Dokumentacja API biblioteki libcaption.
%prep
%setup -q
+%patch -P0 -p1
%build
install -d build
diff --git a/libcaption-libdir.patch b/libcaption-libdir.patch
new file mode 100644
index 0000000..796200b
--- /dev/null
+++ b/libcaption-libdir.patch
@@ -0,0 +1,11 @@
+--- libcaption-0.8/CMakeLists.txt.orig 2018-07-22 18:14:37.000000000 +0200
++++ libcaption-0.8/CMakeLists.txt 2026-06-21 08:33:23.971757186 +0200
+@@ -98,7 +98,7 @@ endif()
+ add_executable(test_wrap unit_tests/test_wrap.c )
+ target_link_libraries(test_wrap caption)
+
+-install (TARGETS caption DESTINATION lib EXPORT caption-targets)
++install (TARGETS caption DESTINATION lib${LIB_SUFFIX} EXPORT caption-targets)
+ install (FILES ${CAPTION_HEADERS} DESTINATION include/caption)
+
+ find_package(Doxygen)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcaption.git/commitdiff/5f20ebd92e4dfc7f491dad801eb5973a31157f1d
More information about the pld-cvs-commit
mailing list