[vlc-devel] [PATCH] contrib: dca: Fix include path in .pc file

Marvin Scholz epirat07 at gmail.com
Mon Dec 16 11:37:12 CET 2019


This is backported from upstream git master so once a new release
is made and the contrib updated, this can be removed.
---
 contrib/src/dca/fix-include-in-pc-file.patch | 23 ++++++++++++++++++++
 contrib/src/dca/rules.mak                    |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 contrib/src/dca/fix-include-in-pc-file.patch

diff --git a/contrib/src/dca/fix-include-in-pc-file.patch b/contrib/src/dca/fix-include-in-pc-file.patch
new file mode 100644
index 0000000000..2d30135e7a
--- /dev/null
+++ b/contrib/src/dca/fix-include-in-pc-file.patch
@@ -0,0 +1,23 @@
+From 31670b2d867e088afa3aa12f30c24f865520fe64 Mon Sep 17 00:00:00 2001
+From: Marvin Scholz <epirat07 at gmail.com>
+Date: Tue, 3 Jul 2018 21:53:37 +0200
+Subject: [PATCH] Fix include directory path in libdca.pc.in
+
+Signed-off-by: Konstantin Pavlov <thresh at videolan.org>
+---
+ libdca/libdca.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libdca/libdca.pc.in b/libdca/libdca.pc.in
+index e1e788a..0d29595 100644
+--- a/libdca/libdca.pc.in
++++ b/libdca/libdca.pc.in
+@@ -8,4 +8,4 @@ Description: A decoding library for DTS Coherent Acoustics streams.
+ Version: @VERSION@
+ Libs: -L${libdir} -ldca
+ Libs.private: @LIBDCA_LIBS@
+-Cflags: -I${includedir}/@PACKAGE@
++Cflags: -I${includedir}
+-- 
+2.22.0
+
diff --git a/contrib/src/dca/rules.mak b/contrib/src/dca/rules.mak
index 04a2a876eb..9f224e70cf 100644
--- a/contrib/src/dca/rules.mak
+++ b/contrib/src/dca/rules.mak
@@ -22,6 +22,7 @@ libdca: libdca-$(DCA_VERSION).tar.bz2 .sum-dca
 	$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR)
 	$(APPLY) $(SRC)/dca/dca-fix-ln-s-call.patch
 	$(APPLY) $(SRC)/dca/dca-dts-install-link.patch
+	$(APPLY) $(SRC)/dca/fix-include-in-pc-file.patch
 	$(call pkg_static,"./libdca/libdca.pc.in")
 	$(MOVE)
 
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list