Commit b3cfc52b authored by Debarshi Ray's avatar Debarshi Ray

flatpak: Update LibRaw to 0.20.0

Use Kalev Lember's updated pkgconfig patch from Fedora.

!140
parent c351715f
Pipeline #207549 passed with stages
in 15 minutes and 28 seconds
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@
--- LibRaw-0.20-Beta1/libraw.pc.in~ 2020-05-13 14:22:12.656424311 +0200
+++ LibRaw-0.20-Beta1/libraw.pc.in 2020-05-13 14:22:27.481441569 +0200
@@ -5,7 +5,8 @@
Name: libraw
Description: Raw image decoder library (non-thread-safe)
......@@ -23,12 +10,10 @@ index 0e530b2..0c635f0 100644
-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@
Cflags: -I${includedir}/libraw -I${includedir}
--- LibRaw-0.20-Beta1/libraw_r.pc.in~ 2020-05-13 14:22:18.034430572 +0200
+++ LibRaw-0.20-Beta1/libraw_r.pc.in 2020-05-13 14:22:27.481441569 +0200
@@ -5,7 +5,8 @@
Name: libraw
Description: Raw image decoder library (thread-safe)
......@@ -38,7 +23,4 @@ index a7f4535..c4e6028 100644
-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
Cflags: -I${includedir}/libraw -I${includedir}
......@@ -137,12 +137,12 @@
"sources": [
{
"type": "archive",
"url": "https://www.libraw.org/data/LibRaw-0.19.5.tar.gz",
"sha256": "40a262d7cc71702711a0faec106118ee004f86c86cc228281d12d16da03e02f5"
"url": "https://www.libraw.org/data/LibRaw-0.20.0.tar.gz",
"sha256": "1f0a383da2ce9f409087facd28261decbf6be72cc90c78cd003b0766e4d694a3"
},
{
"type": "patch",
"path": "libraw-pkgconfig.patch"
"path": "LibRaw-pkgconfig.patch"
}
]
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment