mpg123: package sndio output plugin

This commit is contained in:
Michael Gehring 2016-04-10 10:15:53 +02:00
parent ccb285a6e0
commit b13a557346
2 changed files with 10 additions and 2 deletions

1
srcpkgs/mpg123-sndio Symbolic link
View File

@ -0,0 +1 @@
mpg123

View File

@ -1,12 +1,12 @@
# Template file for 'mpg123'
pkgname=mpg123
version=1.23.3
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-module-suffix=.so --with-optimization=4
--with-default-audio=alsa --enable-ipv6=yes --enable-network=yes"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libltdl-devel jack-devel pulseaudio-devel SDL-devel"
makedepends="alsa-lib-devel libltdl-devel jack-devel pulseaudio-devel sndio-devel SDL-devel"
short_desc="Fast console MPEG audio decoder/player"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mpg123.org/"
@ -40,6 +40,13 @@ mpg123-sdl_package() {
vmove usr/lib/mpg123/output_sdl.so
}
}
mpg123-sndio_package() {
depends="libmpg123-${version}_${revision}"
short_desc+=" - sndio output plugin"
pkg_install() {
vmove usr/lib/mpg123/output_sndio.so
}
}
libmpg123_package() {
short_desc+=" - Runtime library"
pkg_install() {