diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-05-23 00:11:16 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-05-23 16:45:30 -0700 |
commit | 2016b7b79985aed0323e31656af72e0fef28c7c2 (patch) | |
tree | fa45b5d4b65b05667947ae93b8b5f751a3d7a8f2 /libs/taglib | |
parent | f6b6ed8a9e8cd45b29bc1d910ccd431620af4df5 (diff) |
taglib: fix taglib-config paths
It seems gerbera uses this instead of pkgconfig.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/taglib')
-rw-r--r-- | libs/taglib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/taglib/Makefile b/libs/taglib/Makefile index 69213f4b0..06d8a1e53 100644 --- a/libs/taglib/Makefile +++ b/libs/taglib/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=taglib PKG_VERSION:=1.11.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/taglib/taglib/releases/download/v$(PKG_VERSION) @@ -49,6 +49,9 @@ 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) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/bin/taglib-config + $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(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 endef |