2015-09-27 02:46:50 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=grilo-plugins
|
2023-06-30 20:22:07 +02:00
|
|
|
PKG_VERSION:=0.3.16
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2015-09-27 02:46:50 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2023-07-02 02:55:13 +02:00
|
|
|
PKG_SOURCE_URL:=@GNOME/grilo-plugins/$(basename $(PKG_VERSION))
|
2023-06-30 20:22:07 +02:00
|
|
|
PKG_HASH:=fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb
|
2021-10-24 22:57:40 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
|
|
PKG_LICENSE:=LGPL-2.1-or-later
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2015-09-27 02:46:50 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2015-09-27 02:46:50 +02:00
|
|
|
|
|
|
|
define Package/grilo-plugins/Default
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
|
|
|
TITLE:=grilo-plugins
|
|
|
|
URL:=https://wiki.gnome.org/Projects/Grilo
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/grilo-plugins
|
|
|
|
$(call Package/grilo-plugins/Default)
|
|
|
|
MENU:=1
|
|
|
|
DEPENDS:=+grilo $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
|
|
|
TITLE:=Plugins for the Grilo framework
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/grilo/decription
|
|
|
|
Grilo is a framework that provides access to different sources of
|
2018-10-12 02:10:12 +02:00
|
|
|
multimedia content, using a pluggable system. This package contains
|
2015-09-27 02:46:50 +02:00
|
|
|
plugins to get information from a number of sources.
|
|
|
|
endef
|
|
|
|
|
2020-01-20 16:57:15 +01:00
|
|
|
MESON_ARGS += \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-bookmarks=no \
|
2020-11-07 03:40:20 +01:00
|
|
|
-Denable-chromaprint=$(if $(CONFIG_PACKAGE_grilo-plugins-chromaprint),yes,no) \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-dleyna=$(if $(CONFIG_PACKAGE_grilo-plugins-dleyna),yes,no) \
|
|
|
|
-Denable-dmap=$(if $(CONFIG_PACKAGE_grilo-plugins-dmap),yes,no) \
|
2020-01-20 16:57:15 +01:00
|
|
|
-Denable-filesystem=no \
|
|
|
|
-Denable-flickr=no \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-freebox=no \
|
2021-10-24 22:57:40 +02:00
|
|
|
-Denable-gravatar=$(if $(CONFIG_PACKAGE_grilo-plugins-gravatar),yes,no) \
|
2021-05-10 19:39:39 +02:00
|
|
|
-Dhelp=no \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-local-metadata=no \
|
2020-01-20 16:57:15 +01:00
|
|
|
-Denable-lua-factory=no \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-magnatune=$(if $(CONFIG_PACKAGE_grilo-plugins-magnatune),yes,no) \
|
2020-11-07 03:40:20 +01:00
|
|
|
-Denable-metadata-store=$(if $(CONFIG_PACKAGE_grilo-plugins-metadata-store),yes,no) \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-optical-media=no \
|
|
|
|
-Denable-podcasts=no \
|
|
|
|
-Denable-raitv=$(if $(CONFIG_PACKAGE_grilo-plugins-raitv),yes,no) \
|
|
|
|
-Denable-shoutcast=$(if $(CONFIG_PACKAGE_grilo-plugins-shoutcast),yes,no) \
|
2020-01-20 16:57:15 +01:00
|
|
|
-Denable-thetvdb=no \
|
2020-11-07 03:40:20 +01:00
|
|
|
-Denable-tmdb=$(if $(CONFIG_PACKAGE_grilo-plugins-tmdb),yes,no) \
|
2020-11-07 01:14:21 +01:00
|
|
|
-Denable-tracker=no \
|
|
|
|
-Denable-tracker3=no \
|
|
|
|
-Denable-youtube=no \
|
2020-03-27 07:04:21 +01:00
|
|
|
--wrap-mode=nodownload
|
2015-09-27 02:46:50 +02:00
|
|
|
|
|
|
|
define Package/grilo-plugins/install
|
2015-12-31 01:42:28 +01:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/grilo-0.3
|
2015-09-27 02:46:50 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define BuildPlugin
|
|
|
|
define Package/grilo-plugins-$(1)
|
|
|
|
$(call Package/grilo-plugins/Default)
|
|
|
|
DEPENDS:=grilo-plugins
|
|
|
|
ifneq ($(4),)
|
|
|
|
DEPENDS+= $(4)
|
|
|
|
endif
|
|
|
|
TITLE:=$(2) plugin
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/grilo-plugins-$(1)/install
|
2015-12-31 01:42:28 +01:00
|
|
|
$(INSTALL_DIR) $$(1)/usr/lib/grilo-0.3
|
2015-09-27 02:46:50 +02:00
|
|
|
for p in $(3); do \
|
2015-12-31 01:42:28 +01:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/grilo-0.3/libgrl$$$$$$$${p}.so $$(1)/usr/lib/grilo-0.3; \
|
2015-09-27 02:46:50 +02:00
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
|
|
|
$$(eval $$(call BuildPackage,grilo-plugins-$(1)))
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,grilo-plugins))
|
|
|
|
|
2020-11-07 03:40:20 +01:00
|
|
|
$(eval $(call BuildPlugin,chromaprint,Chromaprint,chromaprint,+libgstreamer1,30))
|
2015-09-27 02:46:50 +02:00
|
|
|
$(eval $(call BuildPlugin,dleyna,DLNA sharing,dleyna,,30))
|
2020-03-03 14:18:48 +01:00
|
|
|
$(eval $(call BuildPlugin,dmap,DAAP and DPAP sharing,daap dpap,libdmapsharing,30))
|
2015-09-27 02:46:50 +02:00
|
|
|
$(eval $(call BuildPlugin,gravatar,Gravatar provider,gravatar,,30))
|
|
|
|
$(eval $(call BuildPlugin,magnatune,Magnatune sharing,magnatune,,30))
|
2020-11-07 03:40:20 +01:00
|
|
|
$(eval $(call BuildPlugin,metadata-store,Metadata Store,metadatastore,,30))
|
2015-09-27 02:46:50 +02:00
|
|
|
$(eval $(call BuildPlugin,raitv,Rai.tv sharing,raitv,,30))
|
|
|
|
$(eval $(call BuildPlugin,shoutcast,SHOUTcast sharing,shoutcast,,30))
|
2020-11-07 03:40:20 +01:00
|
|
|
$(eval $(call BuildPlugin,tmdb,TMDb,tmdb,+json-glib,30))
|