2020-09-20 05:03:12 +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:=alsa-ucm-conf
|
2023-05-16 14:04:51 +00: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 16:32:27 +00:00
|
|
|
PKG_RELEASE:=1
|
2020-09-20 05:03:12 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2023-05-16 14:04:51 +00:00
|
|
|
PKG_SOURCE_URL:=https://www.alsa-project.org/files/pub/lib/ \
|
|
|
|
https://distfiles.gentoo.org/distfiles/
|
|
|
|
PKG_HASH:=374f6833bfd77d0a4675e4aa2bfb79defe850e5a46a5d4542a45962f4b9e272a
|
2020-09-20 05:03:12 +00:00
|
|
|
|
|
|
|
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))
|