summaryrefslogtreecommitdiff
path: root/flatpak/patches/libraw-pkgconfig.patch
blob: 7af6ae0ec6defd5f494a71341ea87431d9008c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -r -u foo/libraw.pc.in libraw-7/libraw.pc.in
--- foo/libraw.pc.in	2023-04-01 14:26:50.358780145 +0200
+++ libraw-7/libraw.pc.in	2023-01-05 07:49:26.000000000 +0100
@@ -5,8 +5,8 @@
 
 Name: libraw
 Description: Raw image decoder library (non-thread-safe)
-Requires: @PACKAGE_REQUIRES@
+Requires.private: @PACKAGE_REQUIRES@
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lraw -lstdc++@PC_OPENMP@
-Libs.private: @PACKAGE_LIBS_PRIVATE@
+Libs: -L${libdir} -lraw@PC_OPENMP@
+Libs.private: @PACKAGE_LIBS_PRIVATE@ -lstdc++
 Cflags: -I${includedir}/libraw -I${includedir}
diff -r -u foo/libraw_r.pc.in libraw-7/libraw_r.pc.in
--- foo/libraw_r.pc.in	2023-04-01 14:26:50.358780145 +0200
+++ libraw-7/libraw_r.pc.in	2023-01-05 07:49:26.000000000 +0100
@@ -5,8 +5,8 @@
 
 Name: libraw
 Description: Raw image decoder library (thread-safe)
-Requires: @PACKAGE_REQUIRES@
+Requires.private: @PACKAGE_REQUIRES@
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lraw_r -lstdc++@PC_OPENMP@
-Libs.private: @PACKAGE_LIBS_PRIVATE@
+Libs: -L${libdir} -lraw_r@PC_OPENMP@
+Libs.private: @PACKAGE_LIBS_PRIVATE@ -lstdc++
 Cflags: -I${includedir}/libraw -I${includedir}