modemmanager: copy dbus interfaces file to staging 21857/head
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 18 Aug 2023 11:27:19 +0000 (13:27 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 18 Aug 2023 11:31:19 +0000 (13:31 +0200)
In order to use the dbus interfaces via the command gdbus-codegen, the
xml files must be copied into the building staging directory, so that other
programmes can use them during compilation.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/Makefile

index 6819e96b97a92b034aaf53b2c70db6db15d06481..5017d3e2599dcf970c009962ec5992aca74a1bc4 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=modemmanager
 PKG_SOURCE_VERSION:=1.20.6
-PKG_RELEASE:=11
+PKG_RELEASE:=12
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git
@@ -80,6 +80,8 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ModemManager.pc $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mm-glib.pc $(1)/usr/lib/pkgconfig
+       $(INSTALL_DIR) $(1)/usr/share/dbus-1/interfaces
+       $(CP) $(PKG_BUILD_DIR)/introspection/org.freedesktop.ModemManager1.* $(1)/usr/share/dbus-1/interfaces
 endef
 
 define Package/modemmanager/install