Merge pull request #2498 from steski/alsa-tools
New package: alsa-tools-1.0.29
This commit is contained in:
commit
ac70d37a31
6 changed files with 83 additions and 0 deletions
|
@ -2157,3 +2157,4 @@ libhashkit.so.2 libmemcached-1.0.18_1
|
|||
libmemcachedutil.so.2 libmemcached-1.0.18_1
|
||||
libc-client.so.1 c-client-2007f_1
|
||||
libonig.so.2 oniguruma-5.9.6_1
|
||||
liblo10k1.so.0 alsa-tools-1.0.29_1
|
||||
|
|
1
srcpkgs/alsa-tools-devel
Symbolic link
1
srcpkgs/alsa-tools-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
alsa-tools
|
13
srcpkgs/alsa-tools/patches/musl-__sighandler_t.patch
Normal file
13
srcpkgs/alsa-tools/patches/musl-__sighandler_t.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- ./ld10k1/src/ld10k1_fnc1.c.orig 2015-09-10 22:54:40.229499746 -0400
|
||||
+++ ./ld10k1/src/ld10k1_fnc1.c 2015-09-10 23:09:37.236472375 -0400
|
||||
@@ -23,6 +23,10 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+#if !defined(__GLIBC__)
|
||||
+typedef void (*__sighandler_t) (int);
|
||||
+#endif
|
||||
+
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
#include <signal.h>
|
52
srcpkgs/alsa-tools/template
Normal file
52
srcpkgs/alsa-tools/template
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Template file for 'alsa-tools'
|
||||
pkgname=alsa-tools
|
||||
version=1.0.29
|
||||
revision=1
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
|
||||
depends="python-alsa"
|
||||
short_desc="Advanced ALSA tools for certain sound cards"
|
||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://alsa-project.org"
|
||||
distfiles="ftp://ftp.alsa-project.org/pub/tools/${pkgname}-${version}.tar.bz2"
|
||||
checksum=94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1
|
||||
|
||||
_tools=(
|
||||
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
|
||||
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
|
||||
seq/sbiload sscape_ctl us428control usx2yloader vxloader
|
||||
)
|
||||
|
||||
do_configure() {
|
||||
for tool in ${_tools[@]}; do
|
||||
cd ${wrksrc}/${tool}
|
||||
msg_normal "Configuring ${tool} ...\n"
|
||||
./configure ${configure_args}
|
||||
done
|
||||
}
|
||||
|
||||
do_build() {
|
||||
for tool in ${_tools[@]}; do
|
||||
msg_normal "Building ${tool} ...\n"
|
||||
make -C ${tool} ${makejobs}
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for tool in ${_tools[@]}; do
|
||||
msg_normal "Installing ${tool} ...\n"
|
||||
make -C ${tool} DESTDIR=${DESTDIR} install
|
||||
done
|
||||
}
|
||||
|
||||
alsa-tools-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include/
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share/aclocal
|
||||
}
|
||||
}
|
||||
|
15
srcpkgs/python-alsa/template
Normal file
15
srcpkgs/python-alsa/template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'python-alsa'
|
||||
pkgname=python-alsa
|
||||
version=1.0.29
|
||||
revision=1
|
||||
wrksrc=pyalsa-${version}
|
||||
build_style=python-module
|
||||
python_versions="2.7"
|
||||
hostmakedepends="python-setuptools"
|
||||
makedepends="python-devel alsa-lib-devel"
|
||||
short_desc="Official python bindings for ALSA (Python2)"
|
||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://alsa-project.org"
|
||||
distfiles="ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-${version}.tar.bz2"
|
||||
checksum=87ea6d8a2b7a9d7b015cdd84c898dc5e524f770ae6795e0d32ac2234311c953a
|
1
srcpkgs/python-alsa/update
Normal file
1
srcpkgs/python-alsa/update
Normal file
|
@ -0,0 +1 @@
|
|||
pkgname=pyalsa
|
Loading…
Reference in a new issue