aboutsummaryrefslogtreecommitdiff
path: root/libs/taglib
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-04-10 03:30:50 -0700
committerRosen Penev <rosenp@gmail.com>2021-04-10 17:05:18 -0700
commit4ebab065ae8915749b9cb5883452b78be74f78a9 (patch)
treeff327d407dab4589bd3ab157205be38534e7a081 /libs/taglib
parent94c672d46f06cb51098f3d1b65a51ea3a6859189 (diff)
taglib: fix config file paths
Gerbera stupidly uses taglib-config to find the paths. Fix them to avoid adding /usr/lib Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/taglib')
-rw-r--r--libs/taglib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/taglib/Makefile b/libs/taglib/Makefile
index 7fa78fc1a..11f21dc05 100644
--- a/libs/taglib/Makefile
+++ b/libs/taglib/Makefile
@@ -48,6 +48,8 @@ TARGET_CXXFLAGS += -flto
define Build/InstallDev
$(call Build/InstallDev/cmake,$(1))
$(SED) '/^prefix=\|^exec_prefix=/s|/usr|$(STAGING_DIR)/usr|' $(1)/usr/bin/taglib-config
+ $(SED) '/^includedir=/s|/usr|$(STAGING_DIR)/usr|' $(1)/usr/bin/taglib-config
+ $(SED) '/^libdir=/s|/usr|$(STAGING_DIR)/usr|' $(1)/usr/bin/taglib-config
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/taglib.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/taglib.pc
$(INSTALL_DIR) $(2)/bin