2014-06-30 15:28:40 +02:00
|
|
|
#
|
2016-01-20 00:06:32 +01:00
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
2014-06-30 15:28:40 +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-lib
|
2021-12-16 01:23:22 +01:00
|
|
|
PKG_VERSION:=1.2.6.1
|
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:=3
|
2014-06-30 15:28:40 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/lib/ \
|
2017-05-29 21:19:31 +02:00
|
|
|
http://distfiles.gentoo.org/distfiles/
|
2021-12-16 01:23:22 +01:00
|
|
|
PKG_HASH:=ad582993d52cdb5fb159a0beab60a6ac57eab0cc1bdf85dc4db6d6197f02333f
|
2017-05-29 21:19:31 +02:00
|
|
|
|
2015-08-27 19:10:22 +02:00
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
|
2015-08-20 20:14:13 +02:00
|
|
|
Peter Wagner <tripolar@gmx.at>
|
2014-06-30 15:28:40 +02:00
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
PKG_INSTALL:=1
|
2019-08-30 23:46:42 +02:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2023-01-30 18:02:32 +01:00
|
|
|
PKG_BUILD_FLAGS:=no-mips16 no-lto
|
2014-06-30 15:28:40 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/alsa-lib
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=ALSA (Advanced Linux Sound Architecture) library
|
|
|
|
URL:=http://www.alsa-project.org/
|
|
|
|
DEPENDS:=@AUDIO_SUPPORT +kmod-sound-core +libpthread +librt
|
2019-11-20 03:52:05 +01:00
|
|
|
LICENSE:=LGPL-2.1-or-later
|
2019-08-30 23:46:42 +02:00
|
|
|
LICENSE_FILES:=COPYING
|
2014-06-30 15:28:40 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/alsa-lib/description
|
|
|
|
This is the library package for alsa, needed by some userspace programs.
|
|
|
|
You must have enabled the ALSA support in the kernel.
|
|
|
|
endef
|
|
|
|
|
2019-11-20 03:52:05 +01:00
|
|
|
define Package/aserver
|
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
|
|
|
TITLE:=ALSA (Advanced Linux Sound Architecture) server
|
|
|
|
URL:=http://www.alsa-project.org/
|
|
|
|
DEPENDS:=+alsa-lib
|
|
|
|
LICENSE:=GPL-2.0-or-later
|
|
|
|
LICENSE_FILES:=aserver/COPYING
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aserver/description
|
|
|
|
This is the aserver application for ALSA.
|
|
|
|
endef
|
|
|
|
|
2018-12-26 00:06:06 +01:00
|
|
|
define Package/alsa-lib/conffiles
|
|
|
|
/etc/asound.conf
|
|
|
|
endef
|
|
|
|
|
2014-06-30 15:28:40 +02:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
2016-01-20 00:06:32 +01:00
|
|
|
CONFIGURE_ARGS+= \
|
2014-06-30 15:28:40 +02:00
|
|
|
--disable-python \
|
|
|
|
--disable-debug \
|
|
|
|
--without-debug \
|
2019-11-20 03:52:05 +01:00
|
|
|
--without-versioned \
|
|
|
|
$(SOFT_FLOAT_CONFIG_OPTION)
|
2014-06-30 15:28:40 +02:00
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/include/alsa \
|
|
|
|
$(1)/usr/include/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libasound.{la,so*} \
|
|
|
|
$(1)/usr/lib/
|
2019-11-20 03:52:05 +01:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libatopology.{la,so*} \
|
|
|
|
$(1)/usr/lib/
|
2014-06-30 15:28:40 +02:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/alsa.pc \
|
|
|
|
$(1)/usr/lib/pkgconfig/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/aclocal
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/aclocal/alsa.m4 \
|
|
|
|
$(1)/usr/share/aclocal/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/alsa-lib/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libasound.so.* \
|
|
|
|
$(1)/usr/lib/
|
2019-11-20 03:52:05 +01:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libatopology.so.* \
|
|
|
|
$(1)/usr/lib/
|
2014-06-30 15:28:40 +02:00
|
|
|
|
2021-07-19 07:50:09 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/share/alsa/{cards,ctl,pcm}
|
2014-06-30 15:28:40 +02:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/alsa/alsa.conf \
|
|
|
|
$(1)/usr/share/alsa/
|
2021-07-19 07:50:09 +02:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/alsa/ctl/* \
|
|
|
|
$(1)/usr/share/alsa/ctl/
|
2014-06-30 15:28:40 +02:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/alsa/pcm/* \
|
|
|
|
$(1)/usr/share/alsa/pcm/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/alsa/cards/* \
|
|
|
|
$(1)/usr/share/alsa/cards/
|
|
|
|
endef
|
|
|
|
|
2019-11-20 03:52:05 +01:00
|
|
|
define Package/aserver/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aserver $(1)/usr/bin
|
|
|
|
endef
|
|
|
|
|
2014-06-30 15:28:40 +02:00
|
|
|
$(eval $(call BuildPackage,alsa-lib))
|
2019-11-20 03:52:05 +01:00
|
|
|
$(eval $(call BuildPackage,aserver))
|