2022-06-12 19:12:30 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=rtpmidid
|
2024-02-24 21:24:22 +01:00
|
|
|
PKG_VERSION:=23.12
|
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:=1
|
2022-06-12 19:12:30 +02:00
|
|
|
|
2024-02-24 21:24:22 +01:00
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/davidmoreno/rtpmidid
|
|
|
|
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
2024-04-06 12:47:54 +02:00
|
|
|
PKG_MIRROR_HASH:=e787ce013fdc148c50b625a1c7d8adf99d9fee2a81d91e734af75828ed597099
|
2022-06-12 19:12:30 +02:00
|
|
|
|
2024-02-24 21:24:22 +01:00
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
2022-06-12 19:12:30 +02:00
|
|
|
PKG_LICENSE:=GPL-3.0-or-later LGPL-2.1-or-later
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.md LICENSE-lib.txt LICENSE-daemon.txt
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/rtpmidid
|
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
|
|
|
TITLE:=RTP MIDI User Space Driver Daemon for Linux
|
|
|
|
URL:=https://github.com/davidmoreno/rtpmidid/
|
|
|
|
DEPENDS:=+alsa-lib +libavahi-client +libfmt
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rtpmidid/description
|
|
|
|
rtpmidid is an user daemon, and when a RTP MIDI device is announced
|
|
|
|
using mDNS (also known as Zeroconf, Avahi, and multicast DNS) it
|
|
|
|
exposes this ALSA sequencer port.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rtpmidid/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rtpmidid $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) ./files/rtpmidid.init $(1)/etc/init.d/rtpmidid
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,rtpmidid))
|