2014-12-09 23:36:01 +00:00
|
|
|
#
|
2016-05-31 16:09:34 +00:00
|
|
|
# Copyright (C) 2016 OpenWrt.org
|
2014-12-09 23:36:01 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=upmpdcli
|
2023-11-25 06:56:20 +00:00
|
|
|
PKG_VERSION:=1.8.6
|
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 16:32:27 +00:00
|
|
|
PKG_RELEASE:=1
|
2014-12-09 23:36:01 +00:00
|
|
|
|
2019-08-10 02:40:42 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://www.lesbonscomptes.com/upmpdcli/downloads
|
2023-11-25 06:56:20 +00:00
|
|
|
PKG_HASH:=55e3d27bea5bef4560f319137f1a5c7d08abbba5a9aae90ee3240903fdb8c3e4
|
2019-08-10 02:40:42 +00:00
|
|
|
|
2021-03-14 01:10:19 +00:00
|
|
|
PKG_MAINTAINER:=
|
2019-08-10 02:40:42 +00:00
|
|
|
PKG_LICENSE:=LGPL-2.1-or-later
|
2014-12-09 23:36:01 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
2014-12-21 17:09:49 +00:00
|
|
|
PKG_INSTALL:=1
|
2019-08-10 02:40:42 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-12-21 17:09:49 +00:00
|
|
|
|
2014-12-09 23:36:01 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/upmpdcli
|
2015-02-04 19:49:47 +00:00
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
2018-12-30 12:52:10 +00:00
|
|
|
URL:=https://www.lesbonscomptes.com/upmpdcli
|
2020-05-01 22:22:07 +00:00
|
|
|
DEPENDS:=+libupnpp +libmpdclient +jsoncpp
|
2014-12-09 23:36:01 +00:00
|
|
|
TITLE:=A UPnP front-end to MPD, the Music Player Daemon
|
|
|
|
USERID:=upmpdcli=89:upmpdcli=89
|
2015-05-11 15:38:51 +00:00
|
|
|
MENU:=1
|
2014-12-09 23:36:01 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/upmpdcli/description
|
|
|
|
upmpdcli implements an UPnP Media Renderer, using MPD to perform the real work.
|
|
|
|
endef
|
|
|
|
|
2015-05-11 15:38:51 +00:00
|
|
|
define Package/upmpdcli/config
|
|
|
|
source "$(SOURCE)/Config.in"
|
|
|
|
endef
|
|
|
|
|
2020-05-08 21:43:57 +00:00
|
|
|
define Package/upmpdcli/conffiles
|
|
|
|
/etc/config/upmpdcli
|
|
|
|
endef
|
|
|
|
|
2014-12-09 23:36:01 +00:00
|
|
|
define Package/upmpdcli/install
|
2014-12-11 08:32:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/
|
2014-12-17 19:41:36 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/upmpdcli.config $(1)/etc/config/upmpdcli
|
2014-12-11 08:32:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2014-12-17 19:41:36 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/upmpdcli $(1)/usr/bin/
|
2015-05-11 15:38:51 +00:00
|
|
|
ifeq ($(CONFIG_PACKAGE_UPMPDCLI_SCCTL),y)
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scctl $(1)/usr/bin/
|
|
|
|
endif
|
2014-12-17 19:41:36 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/share/upmpdcli
|
2015-05-11 15:38:51 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_UPMPDCLI_SC_WEB_INTERFACE),y)
|
|
|
|
$(RM) -rf $(PKG_INSTALL_DIR)/usr/share/upmpdcli/web
|
|
|
|
endif
|
2016-03-11 17:10:04 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/upmpdcli $(1)/usr/share/
|
2016-06-03 16:45:45 +00:00
|
|
|
$(INSTALL_DATA) ./files/upmpdcli.png $(1)/usr/share/upmpdcli/icon.png
|
2014-12-11 08:32:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/upmpdcli.init $(1)/etc/init.d/upmpdcli
|
2014-12-09 23:36:01 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,upmpdcli))
|