[SCM] kodiplatform/master: Don't set obsolete flags in pkg-config file
rbalint at users.alioth.debian.org
rbalint at users.alioth.debian.org
Wed Sep 9 22:18:01 UTC 2015
The following commit has been merged in the master branch:
commit 58db78fb686dbab7fdecbfdda2d7b98566b5ce60
Author: Balint Reczey <balint at balintreczey.hu>
Date: Wed Sep 9 21:15:54 2015 +0200
Don't set obsolete flags in pkg-config file
diff --git a/debian/patches/03_dont_set_cflags_in_pkg-config.patch b/debian/patches/03_dont_set_cflags_in_pkg-config.patch
new file mode 100644
index 0000000..256d0ff
--- /dev/null
+++ b/debian/patches/03_dont_set_cflags_in_pkg-config.patch
@@ -0,0 +1,14 @@
+Description: Don't set Cflags in .pc
+ None of the flags used while compiling the library is needed
+ to compile programs _using_ the library.
+ .
+Author: Balint Reczey <balint at balintreczey.hu>
+
+--- kodiplatform-16.0.0.orig/kodiplatform.pc.in
++++ kodiplatform-16.0.0/kodiplatform.pc.in
+@@ -9,4 +9,4 @@ Name: @name@
+ Description: @description@ @major at .@minor@
+ Version: @major at .@minor@
+ Libs: @target@ @libs@
+-Cflags: @CMAKE_CXX_FLAGS@
++
diff --git a/debian/patches/series b/debian/patches/series
index f9774b9..e630a95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01_use_cec-platform.patch
02_fix-noarch-libdir-usage.patch
+03_dont_set_cflags_in_pkg-config.patch
--
kodiplatform packaging
More information about the pkg-multimedia-commits
mailing list