libgee: copy vapi files to versioned vala dir
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Thu, 13 Dec 2018 17:27:36 +0000 (15:27 -0200)
committerRosen Penev <rosenp@gmail.com>
Tue, 13 Aug 2019 00:09:55 +0000 (17:09 -0700)
The version is obtained via `valac --api-version`

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from fb4b5c57015bcae10c1ba11aa575ba6ec93dbf4f)

libs/libgee/Makefile

index 93482cf8dc0700a5c1de0a25b16ded9d32ca3d9b..af32e535b4a7161782368dafad7e8b263edf6c58 100644 (file)
@@ -54,10 +54,10 @@ define Build/InstallDev
        $(INSTALL_DATA) \
                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
                $(1)/usr/lib/pkgconfig/
-       $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/vala/vapi/
+       $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi/
        $(INSTALL_DATA) \
                 $(PKG_INSTALL_DIR)/usr/share/vala/vapi/* \
-                $(STAGING_DIR_HOSTPKG)/share/vala/vapi
+                $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi
 endef
 
 define Package/libgee/install