2011-10-26 15:00:09 +00:00
|
|
|
# Template file for 'mpg123'
|
|
|
|
pkgname=mpg123
|
|
|
|
version=1.13.4
|
2011-10-26 15:30:35 +00:00
|
|
|
revision=2
|
2011-10-26 15:00:09 +00:00
|
|
|
distfiles="http://www.${pkgname}.de/download/${pkgname}-${version}.tar.bz2"
|
|
|
|
build_style=gnu-configure
|
2011-10-26 15:27:25 +00:00
|
|
|
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"
|
2011-10-26 15:00:09 +00:00
|
|
|
short_desc="Fast console mpeg audio decoder/player."
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://www.mpg123.de/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
checksum=f7ec51069ad0d6ac589d78ee431fbf7a4874f9c7338f01b67964640305e627c3
|
|
|
|
long_desc="
|
|
|
|
This is the fast and Free (LGPL license) real time MPEG Audio Layer 1, 2 and
|
|
|
|
3 decoding library and console player. It uses floating point or integer
|
|
|
|
math, along with several special optimizations (3DNow, SSE, ARM, ...) to make
|
|
|
|
it most efficient."
|
|
|
|
|
2011-10-26 15:27:25 +00:00
|
|
|
subpackages="${pkgname}-alsa ${pkgname}-jack ${pkgname}-pulseaudio
|
|
|
|
${pkgname}-sdl lib${pkgname} ${pkgname}-devel"
|
2011-10-26 15:00:09 +00:00
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libltdl
|
|
|
|
Add_dependency run libmpg123
|
2011-10-26 15:30:35 +00:00
|
|
|
Add_dependency run mpg123-alsa ">=${version}" # default output plugin
|
2011-10-26 15:00:09 +00:00
|
|
|
|
|
|
|
Add_dependency build libltdl-devel
|
|
|
|
Add_dependency build pulseaudio-devel
|
|
|
|
Add_dependency build SDL-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build jack-devel
|