2014-07-17 22:52:21 +02:00
|
|
|
#
|
2016-01-20 00:06:32 +01:00
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
2014-07-17 22:52:21 +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:=alsa-utils
|
2023-05-16 16:05:12 +02:00
|
|
|
PKG_VERSION:=1.2.9
|
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
|
2014-07-17 22:52:21 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2023-05-16 16:05:12 +02:00
|
|
|
PKG_SOURCE_URL:=https://www.alsa-project.org/files/pub/utils/ \
|
|
|
|
https://distfiles.gentoo.org/distfiles/
|
|
|
|
PKG_HASH:=e7623d4525595f92e11ce25ee9a97f2040a14c6e4dcd027aa96e06cbce7817bd
|
2019-09-02 02:28:25 +02:00
|
|
|
|
2014-07-17 19:12:47 +02:00
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
2019-09-02 02:28:25 +02:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-07-17 22:52:21 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/alsa-utils
|
2016-10-23 14:53:34 +02:00
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
2020-09-20 07:13:29 +02:00
|
|
|
DEPENDS:=+alsa-lib +alsa-ucm-conf +libncursesw +libpthread
|
2014-07-17 22:52:21 +02:00
|
|
|
TITLE:=ALSA (Advanced Linux Sound Architecture) utilities
|
2019-09-02 02:28:25 +02:00
|
|
|
URL:=https://www.alsa-project.org/
|
2014-07-17 22:52:21 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/alsa-utils-seq
|
2016-10-23 14:53:34 +02:00
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
2014-07-17 22:52:21 +02:00
|
|
|
DEPENDS:=+alsa-lib +libpthread
|
|
|
|
TITLE:=ALSA sequencer utilities
|
2019-09-02 02:28:25 +02:00
|
|
|
URL:=https://www.alsa-project.org/
|
2014-07-17 22:52:21 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/alsa-utils-tests
|
2016-10-23 14:53:34 +02:00
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
2014-07-17 22:52:21 +02:00
|
|
|
TITLE:=ALSA utilities test data (adds ~1.3M to image)
|
|
|
|
DEPENDS:=+alsa-lib +libpthread
|
2019-09-02 02:28:25 +02:00
|
|
|
URL:=https://www.alsa-project.org/
|
2014-07-17 22:52:21 +02:00
|
|
|
endef
|
|
|
|
|
2019-11-20 04:01:00 +01:00
|
|
|
CONFIGURE_ARGS += \
|
2019-09-02 02:28:25 +02:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-alsatest \
|
|
|
|
--disable-bat \
|
|
|
|
--disable-xmlto \
|
|
|
|
--disable-rst2man \
|
|
|
|
--with-curses=ncursesw
|
2014-07-17 22:52:21 +02:00
|
|
|
|
2019-11-20 04:01:00 +01:00
|
|
|
CONFIGURE_VARS += \
|
|
|
|
ac_cv_header_samplerate_h=no
|
|
|
|
|
|
|
|
TARGET_LDFLAGS += -latopology
|
|
|
|
|
2014-07-17 22:52:21 +02:00
|
|
|
define Package/alsa-utils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/{s,}bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amixer $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsamixer $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplay $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arecord $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/alsactl $(1)/usr/sbin/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/alsa/init
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/alsa/init/* \
|
|
|
|
$(1)/usr/share/alsa/init/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/alsa-utils-seq/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/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/
|
2018-04-29 18:15:49 +02:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iecset $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsaloop $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsatplg $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsaucm $(1)/usr/bin/
|
2014-07-17 22:52:21 +02:00
|
|
|
$(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/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/sounds/alsa
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/sounds/alsa/* \
|
|
|
|
$(1)/usr/share/sounds/alsa/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,alsa-utils))
|
|
|
|
$(eval $(call BuildPackage,alsa-utils-seq))
|
|
|
|
$(eval $(call BuildPackage,alsa-utils-tests))
|