mpg123: new subpkgs -alsa, -jack, -pulseaudio, -sdl. ALSA by default.

This commit is contained in:
Juan RP 2011-10-26 17:27:25 +02:00
parent c3ad9e7f9b
commit 01995dedb8
11 changed files with 84 additions and 12 deletions

1
srcpkgs/mpg123-alsa Symbolic link
View File

@ -0,0 +1 @@
mpg123

1
srcpkgs/mpg123-jack Symbolic link
View File

@ -0,0 +1 @@
mpg123

1
srcpkgs/mpg123-pulseaudio Symbolic link
View File

@ -0,0 +1 @@
mpg123

1
srcpkgs/mpg123-sdl Symbolic link
View File

@ -0,0 +1 @@
mpg123

View File

@ -1,2 +1,2 @@
abi_depends=">=1.13.4"
abi_depends=">=1.13.4_1"
api_depends="${abi_depends}"

View File

@ -3,17 +3,14 @@
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the runtime."
This package contains the runtime library."
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libpulseaudio
Add_dependency run SDL
Add_dependency run alsa-lib
Add_dependency run libjack
do_install()
{
revision=1
do_install() {
vmove "usr/lib/*.so*" usr/lib
vmove usr/lib/mpg123 usr/lib
}

View File

@ -0,0 +1,17 @@
# Template file for 'mpg123-alsa'.
#
short_desc="${short_desc} - ALSA output plugin"
long_desc="${long_desc}
This package contains the ALSA plugin for output."
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
Add_dependency run alsa-lib
replaces="libmpg123<1.13.4_1"
do_install() {
vmove usr/lib/mpg123/output_alsa.so usr/lib/mpg123
}

View File

@ -0,0 +1,17 @@
# Template file for 'mpg123-jack'.
#
short_desc="${short_desc} - JACK output plugin"
long_desc="${long_desc}
This package contains the JACK output plugin."
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
Add_dependency run libjack
replaces="libmpg123<1.13.4_1"
do_install() {
vmove usr/lib/mpg123/output_jack.so usr/lib/mpg123
}

View File

@ -0,0 +1,17 @@
# Template file for 'mpg123-pulseaudio'.
#
short_desc="${short_desc} - Pulseaudio output plugin"
long_desc="${long_desc}
This package contains the Pulseaudio output plugin."
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
Add_dependency run libpulseaudio
replaces="libmpg123<1.13.4_1"
do_install() {
vmove usr/lib/mpg123/output_pulse.so usr/lib/mpg123
}

View File

@ -0,0 +1,17 @@
# Template file for 'mpg123-sdl'.
#
short_desc="${short_desc} - SDL output plugin"
long_desc="${long_desc}
This package contains the SDL output plugin."
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
Add_dependency run SDL
replaces="libmpg123<1.13.4_1"
do_install() {
vmove usr/lib/mpg123/output_sdl.so usr/lib/mpg123
}

View File

@ -1,11 +1,12 @@
# Template file for 'mpg123'
pkgname=mpg123
version=1.13.4
revision=1
distfiles="http://www.${pkgname}.de/download/${pkgname}-${version}.tar.bz2"
build_style=gnu-configure
configure_args="
--with-module-suffix=.so
--with-optimization=4"
configure_args="--with-module-suffix=.so --with-optimization=4
--with-default-audio=alsa --with-audio=pulse,jack,alsa,sdl
--enable-ipv6=yes --enable-network=yes"
short_desc="Fast console mpeg audio decoder/player."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.mpg123.de/"
@ -17,11 +18,13 @@ long_desc="
math, along with several special optimizations (3DNow, SSE, ARM, ...) to make
it most efficient."
subpackages="lib$pkgname $pkgname-devel"
subpackages="${pkgname}-alsa ${pkgname}-jack ${pkgname}-pulseaudio
${pkgname}-sdl lib${pkgname} ${pkgname}-devel"
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
Add_dependency run mpg123-alsa # default output plugin
Add_dependency build libltdl-devel
Add_dependency build pulseaudio-devel