summaryrefslogtreecommitdiff
path: root/flatpak/patches/libraw-pkgconfig.patch
blob: 8ef671aa71032371b08c7bd9af832fc18fc46756 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
From bf4b0b6a3ec1579916475295ac42a5f98559a04b Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <ebassi@gnome.org>
Date: Fri, 12 Feb 2016 18:29:35 +0000
Subject: [PATCH] Add pkg-config file to LibRaw

Taken from the Fedora package.
---
 libraw.pc.in   | 5 +++--
 libraw_r.pc.in | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/libraw.pc.in b/libraw.pc.in
index 0e530b2..0c635f0 100644
--- a/libraw.pc.in
+++ b/libraw.pc.in
@@ -5,7 +5,8 @@ includedir=@includedir@

 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: -L${libdir} -lraw@PC_OPENMP@
+Libs.private: -lstdc++
 Cflags: -I${includedir}/libraw
diff --git a/libraw_r.pc.in b/libraw_r.pc.in
index a7f4535..c4e6028 100644
--- a/libraw_r.pc.in
+++ b/libraw_r.pc.in
@@ -5,7 +5,8 @@ includedir=@includedir@

 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: -L${libdir} -lraw_r@PC_OPENMP@
+Libs.private: -lstdc++
 Cflags: -I${includedir}/libraw
--
2.5.0