libplist: add missing pkgconfig files in libplist 2.2 12622/head
authorEspen Jürgensen <espenjurgensen+openwrt@gmail.com>
Fri, 26 Jun 2020 21:55:39 +0000 (23:55 +0200)
committerEspen Jürgensen <espenjurgensen+openwrt@gmail.com>
Sat, 27 Jun 2020 07:02:39 +0000 (09:02 +0200)
Closes #12571.

Same fix as Debian, see:
https://github.com/libimobiledevice/libplist/commit/137716df3f197a7184c1fba88fcb30480dafd6e0#commitcomment-40099153

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
libs/libplist/Makefile

index 5707fdb7190c42213b2bd86034bee1722489a6a7..73595a77e881cb09f7cc2ad2196ee2e218dc6ebb 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libplist
 PKG_VERSION:=2.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://www.libimobiledevice.org/downloads
@@ -92,7 +92,10 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist-2.0*.so* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist*.pc $(1)/usr/lib/pkgconfig/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist++-2.0.pc $(1)/usr/lib/pkgconfig/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist-2.0.pc $(1)/usr/lib/pkgconfig/
+       $(LN) libplist++-2.0.pc $(1)/usr/lib/pkgconfig/libplist++.pc
+       $(LN) libplist-2.0.pc $(1)/usr/lib/pkgconfig/libplist.pc
 endef
 
 define Package/libplist/install