alsa-ucm-conf: add
authorRosen Penev <rosenp@gmail.com>
Sun, 20 Sep 2020 05:03:12 +0000 (22:03 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 20 Sep 2020 22:04:43 +0000 (15:04 -0700)
This is needed by some alsa utilities such as alsactl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/alsa-ucm-conf/Makefile [new file with mode: 0644]

diff --git a/libs/alsa-ucm-conf/Makefile b/libs/alsa-ucm-conf/Makefile
new file mode 100644 (file)
index 0000000..5f3462e
--- /dev/null
@@ -0,0 +1,47 @@
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=alsa-ucm-conf
+PKG_VERSION:=1.2.3
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/lib/ \
+               http://distfiles.gentoo.org/distfiles/
+PKG_HASH:=1bc24da04bb27a75e323c9f0fb03e44705b6bb8a8baf255b94b41d457d590d00
+
+PKG_MAINTAINER:=
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/alsa-ucm-conf
+  SECTION:=libs
+  CATEGORY:=Libraries
+  SUBMENU:=Sound
+  TITLE:=ALSA Use Case Manager configuration (and topologies)
+  URL:=https://www.alsa-project.org/
+  PKGARCH:=all
+endef
+
+define Package/alsa-ucm-conf/description
+ This is a set of configuration files needed for some ALS utilities like alsactl.
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/alsa-ucm-conf/install
+       $(INSTALL_DIR) $(1)/usr/share/alsa
+       $(CP) $(PKG_BUILD_DIR)/ucm2 $(1)/usr/share/alsa
+endef
+
+$(eval $(call BuildPackage,alsa-ucm-conf))