2 # Copyright (C) 2006-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
10 PKG_NAME:=grilo-plugins
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-plugins/0.3/
21 PKG_MD5SUM:=eb25fbe4be83e77f2308d086177a8f4c
23 PKG_BUILD_DEPENDS:=glib2 grilo
27 include $(INCLUDE_DIR)/package.mk
28 include $(INCLUDE_DIR)/nls.mk
30 define Package/grilo-plugins/Default
34 URL:=https://wiki.gnome.org/Projects/Grilo
37 define Package/grilo-plugins
38 $(call Package/grilo-plugins/Default)
40 DEPENDS:=+grilo $(ICONV_DEPENDS) $(INTL_DEPENDS)
41 TITLE:=Plugins for the Grilo framework
44 define Package/grilo/decription
45 Grilo is a framework that provides access to different sources of
46 multimedia content, using a pluggable system. This package contains
47 plugins to get information from a number of sources.
52 --without-libiconv-prefix \
53 --without-libintl-prefix \
56 define Package/grilo-plugins/install
57 $(INSTALL_DIR) $(1)/usr/lib/grilo-0.3
61 define Package/grilo-plugins-$(1)
62 $(call Package/grilo-plugins/Default)
63 DEPENDS:=grilo-plugins
70 define Package/grilo-plugins-$(1)/install
71 $(INSTALL_DIR) $$(1)/usr/lib/grilo-0.3
73 $(CP) $(PKG_INSTALL_DIR)/usr/lib/grilo-0.3/libgrl$$$$$$$${p}.so $$(1)/usr/lib/grilo-0.3; \
77 $$(eval $$(call BuildPackage,grilo-plugins-$(1)))
80 $(eval $(call BuildPackage,grilo-plugins))
82 $(eval $(call BuildPlugin,dleyna,DLNA sharing,dleyna,,30))
83 $(eval $(call BuildPlugin,dmap,DAAP and DPAP sharing,daap dpap,libdmapsharing,30))
84 $(eval $(call BuildPlugin,gravatar,Gravatar provider,gravatar,,30))
85 $(eval $(call BuildPlugin,jamendo,Jamendo sharing,jamendo,,30))
86 $(eval $(call BuildPlugin,magnatune,Magnatune sharing,magnatune,,30))
87 $(eval $(call BuildPlugin,opensubtitles,Openi subtitles provider,opensubtitles,,30))
88 $(eval $(call BuildPlugin,raitv,Rai.tv sharing,raitv,,30))
89 $(eval $(call BuildPlugin,shoutcast,SHOUTcast sharing,shoutcast,,30))