2 # Copyright (C) 2009-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
17 PKG_LICENSE_FILES
:=COPYING
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
20 PKG_SOURCE_URL
:=@GNOME
/grilo
/0.3/
21 PKG_HASH
:=ebbdc61dc7920a8cac436895e8625a0ee64d6a4b352987fb5d361ef87243cd4c
23 PKG_BUILD_DEPENDS
:=glib2 libsoup libxml2
27 include $(INCLUDE_DIR
)/package.mk
28 include $(INCLUDE_DIR
)/nls.mk
31 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
37 URL
:=https
://wiki.gnome.org
/Projects
/Grilo
38 DEPENDS
:=+glib2
+libsoup
+libxml2
41 define Package
/grilo
/decription
42 Grilo is a framework that provides access to different sources of
43 multimedia content
, using a pluggable system.
46 define Build
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/include/
49 $(PKG_INSTALL_DIR
)/usr
/include/grilo-0.3
/ \
51 $(INSTALL_DIR
) $(1)/usr
/lib
/
53 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
55 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
57 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
58 $(1)/usr
/lib
/pkgconfig
/
59 $(INSTALL_DIR
) $(STAGING_DIR_HOSTPKG
)/share
/vala-0.30
/vapi
/
60 # Note: this are compiled elsewhere because grilo refuses to
61 # generate VAPI files unless gobject-introspection exists;
62 # OpenWrt does not yet have a gobject-introspection package.
65 $(STAGING_DIR_HOSTPKG
)/share
/vala-0.30
/vapi
68 define Package
/grilo
/install
69 $(INSTALL_DIR
) $(1)/usr
/lib
/
71 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
75 $(eval
$(call BuildPackage
,grilo
))