Along with http://patchwork.openwrt.org/patch/2144/ and http://patchwork.openwrt.org/patch/2363/ this will enable the standard ALSA midi utilities to be used in openwrt.
Signed-off-by: Adam Goode <a...@spicenitz.org> --- Index: utils/alsa-utils/Makefile =================================================================== --- utils/alsa-utils/Makefile (revision 32643) +++ utils/alsa-utils/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=alsa-utils PKG_VERSION:=1.0.24.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/utils/ \ @@ -27,6 +27,14 @@ URL:=http://www.alsa-project.org/ endef +define Package/alsa-utils-seq + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+alsa-lib +kmod-sound-seq +libpthread + TITLE:=ALSA (Advanced Linux Sound Architecture) sequencer utilities + URL:=http://www.alsa-project.org/ +endef + define Package/alsa-utils-tests $(call Package/alsa-utils/Default) SECTION:=utils @@ -60,6 +68,16 @@ $(1)/usr/share/alsa/init/ endef +define Package/alsa-utils-seq/install + $(INSTALL_DIR) $(1)/usr/{s,}bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aconnect $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplaymidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arecordmidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqdump $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqnet $(1)/usr/bin/ +endef + define Package/alsa-utils-tests/install $(INSTALL_DIR) $(1)/usr/{s,}bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/speaker-test $(1)/usr/bin/ @@ -70,4 +88,5 @@ endef $(eval $(call BuildPackage,alsa-utils)) +$(eval $(call BuildPackage,alsa-utils-seq)) $(eval $(call BuildPackage,alsa-utils-tests)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel