diff options
author | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2018-12-13 15:31:12 -0200 |
---|---|---|
committer | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2018-12-13 15:40:33 -0200 |
commit | 8d0c849e561bd5a984ccd2e99c67a7f9c4ed68f1 (patch) | |
tree | 0e391fb92a39b31b58994fd1c2994f15c8c6d618 /multimedia | |
parent | fb4b5c57015bcae10c1ba11aa575ba6ec93dbf4f (diff) |
grilo: copy vapi files to versioned vala dir
The version is obtained via `valac --api-version`
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/grilo/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/grilo/Makefile b/multimedia/grilo/Makefile index 4e257db2d..49887c034 100644 --- a/multimedia/grilo/Makefile +++ b/multimedia/grilo/Makefile @@ -20,6 +20,7 @@ PKG_HASH:=1e65ca82dd58020451417fde79310d4b940adc3f63ab59997419c52ed3bc9c91 PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 +PKG_BUILD_DEPENDS:=vala/host include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk @@ -58,13 +59,13 @@ 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/ # Note: this are compiled elsewhere because grilo refuses to # generate VAPI files unless gobject-introspection exists; # OpenWrt does not yet have a gobject-introspection package. $(INSTALL_DATA) \ ./files/*.vapi \ - $(STAGING_DIR_HOSTPKG)/share/vala/vapi + $(STAGING_DIR_HOSTPKG)/share/vala-`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi endef define Package/grilo/install |