2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
15 PKG_LICENSE_FILES
:=COPYING
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
18 PKG_SOURCE_URL
:=@GNOME
/grilo
/0.3/
19 PKG_HASH
:=1e65ca82dd58020451417fde79310d4b940adc3f63ab59997419c52ed3bc9c91
23 PKG_BUILD_DEPENDS
:=vala
/host
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
32 URL
:=https
://wiki.gnome.org
/Projects
/Grilo
33 DEPENDS
:=+glib2
+libsoup
+libxml2
36 define Package
/grilo
/decription
37 Grilo is a framework that provides access to different sources of
38 multimedia content
, using a pluggable system.
42 --disable-compile-warnings \
44 --disable-gtk-doc-html \
45 --disable-introspection \
49 define Build
/InstallDev
50 $(INSTALL_DIR
) $(1)/usr
/include/
52 $(PKG_INSTALL_DIR
)/usr
/include/grilo-0.3
/ \
54 $(INSTALL_DIR
) $(1)/usr
/lib
/
56 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
58 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
61 $(1)/usr
/lib
/pkgconfig
/
62 $(INSTALL_DIR
) $(STAGING_DIR_HOSTPKG
)/share
/vala-
`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi
/
63 # Note: this are compiled elsewhere because grilo refuses to
64 # generate VAPI files unless gobject-introspection exists;
65 # OpenWrt does not yet have a gobject-introspection package.
68 $(STAGING_DIR_HOSTPKG
)/share
/vala-
`$(STAGING_DIR_HOSTPKG)/bin/valac --api-version`/vapi
71 define Package
/grilo
/install
72 $(INSTALL_DIR
) $(1)/usr
/lib
/
74 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
78 $(eval
$(call BuildPackage
,grilo
))