aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-22 20:04:56 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-24 18:33:52 +0100
commitd81870ae8129389a62df80c9c8c9165d334b6921 (patch)
tree9fff11f7bbceb4a3a8bc09d101a6db83e3f8b61b
parent9ad4322dd66570031819a9f59fd3176e60e2512e (diff)
downloadbuildroot-d81870ae8129389a62df80c9c8c9165d334b6921.tar.gz
buildroot-d81870ae8129389a62df80c9c8c9165d334b6921.tar.bz2
package/libsoxr: add avutil to soxr.pc
Add ${AVUTIL_LIBRARIES} to soxr.pc.in so applications such as shairport-sync will know that they must link with -lavutil when building statically Fixes: - http://autobuild.buildroot.org/results/839c0ce6475accc1de7e8a180d4358edb6750c64 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: change patch to use Libs.private instead.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libsoxr/0001-soxr.pc.in-add-avutil-libraries.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/libsoxr/0001-soxr.pc.in-add-avutil-libraries.patch b/package/libsoxr/0001-soxr.pc.in-add-avutil-libraries.patch
new file mode 100644
index 0000000000..c36988a77e
--- /dev/null
+++ b/package/libsoxr/0001-soxr.pc.in-add-avutil-libraries.patch
@@ -0,0 +1,33 @@
+From 8c1edfc22f8b714062b149e3d80ab4357a1a4e49 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 22 Nov 2018 19:10:03 +0100
+Subject: [PATCH] soxr.pc.in: add avutil libraries
+
+Add ${AVUTIL_LIBRARIES} to soxr.pc.in so applications such as
+shairport-sync will know that they must link with -lavutil when
+building statically
+
+Fixes:
+ - http://autobuild.buildroot.org/results/839c0ce6475accc1de7e8a180d4358edb6750c64
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://sourceforge.net/p/soxr/code/merge-requests/2]
+[Thomas: move to Libs.private.]
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
+---
+ src/soxr.pc.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/soxr.pc.in b/src/soxr.pc.in
+index 69d225b..ed212a8 100644
+--- a/src/soxr.pc.in
++++ b/src/soxr.pc.in
+@@ -2,4 +2,5 @@ Name: ${PROJECT_NAME}
+ Description: ${DESCRIPTION_SUMMARY}
+ Version: ${PROJECT_VERSION}
+ Libs: -L${LIB_INSTALL_DIR} -l${PROJECT_NAME}
++Libs.private: ${AVUTIL_LIBRARIES}
+ Cflags: -I${INCLUDE_INSTALL_DIR}
+--
+2.19.1
+