mpg123: new subpkgs -alsa, -jack, -pulseaudio, -sdl. ALSA by default.
This commit is contained in:
parent
c3ad9e7f9b
commit
01995dedb8
|
@ -0,0 +1 @@
|
|||
mpg123
|
|
@ -0,0 +1 @@
|
|||
mpg123
|
|
@ -0,0 +1 @@
|
|||
mpg123
|
|
@ -0,0 +1 @@
|
|||
mpg123
|
|
@ -1,2 +1,2 @@
|
|||
abi_depends=">=1.13.4"
|
||||
abi_depends=">=1.13.4_1"
|
||||
api_depends="${abi_depends}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue