mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
New package: sndio-0.0.8.20150308
This commit is contained in:
parent
4638446398
commit
3aa1cbfa7c
6 changed files with 58 additions and 0 deletions
|
@ -1942,3 +1942,4 @@ libpagemaker-0.0.so.0 libpagemaker-0.0.2_1
|
||||||
libkcddb.so.4 libkcddb-14.12.3_1
|
libkcddb.so.4 libkcddb-14.12.3_1
|
||||||
libk3bdevice.so.6 k3b-2.0.3a_1
|
libk3bdevice.so.6 k3b-2.0.3a_1
|
||||||
libk3blib.so.6 k3b-2.0.3a_1
|
libk3blib.so.6 k3b-2.0.3a_1
|
||||||
|
libsndio.so.6.0 sndio-0.0.8.20150308_1
|
||||||
|
|
1
srcpkgs/sndio-devel
Symbolic link
1
srcpkgs/sndio-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
sndio
|
2
srcpkgs/sndio/files/sndiod/log/run
Executable file
2
srcpkgs/sndio/files/sndiod/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -t sndiod
|
2
srcpkgs/sndio/files/sndiod/run
Executable file
2
srcpkgs/sndio/files/sndiod/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -u sndiod:audio sndiod -L :: -d 2>&1
|
51
srcpkgs/sndio/template
Normal file
51
srcpkgs/sndio/template
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
# Template file for 'sndio'
|
||||||
|
pkgname=sndio
|
||||||
|
version=0.0.8.20150308
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}"
|
||||||
|
build_style=configure
|
||||||
|
configure_args="--prefix=/usr"
|
||||||
|
hostmakedepends="cvs"
|
||||||
|
makedepends="alsa-lib-devel libX11-devel"
|
||||||
|
short_desc="Small audio and MIDI framework part of the OpenBSD project"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="ISC"
|
||||||
|
homepage="http://www.sndio.org/"
|
||||||
|
system_accounts="sndiod"
|
||||||
|
sndiod_descr="sndio daemon"
|
||||||
|
build_pie=yes
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
mkdir ${wrksrc}
|
||||||
|
cat >${wrksrc}/myssh <<'EOF'
|
||||||
|
#!/bin/sh
|
||||||
|
exec ssh -o StrictHostKeyChecking=no "$@"
|
||||||
|
EOF
|
||||||
|
chmod +x ${wrksrc}/myssh
|
||||||
|
CVS_RSH="${wrksrc}/myssh" cvs -z9 -d anoncvs@moule.caoua.org:/sndio \
|
||||||
|
co -D ${version##*.} -f sndio
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv sndiod
|
||||||
|
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
sndio-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" -- development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/share/man/man3/*.3"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
xvolkeys_package() {
|
||||||
|
short_desc="Hot-keys in X11 to control sndiod master volume"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/xvolkeys
|
||||||
|
vmove usr/share/man/man1/xvolkeys.1
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/xvolkeys
Symbolic link
1
srcpkgs/xvolkeys
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
sndio
|
Loading…
Add table
Reference in a new issue