New package: mpg123 (fast console mp3 player/lib)

This commit is contained in:
davehome 2011-10-26 15:00:09 +00:00
parent 4efdddd88e
commit c3ad9e7f9b
7 changed files with 69 additions and 0 deletions

1
srcpkgs/libmpg123 Symbolic link
View file

@ -0,0 +1 @@
mpg123

1
srcpkgs/mpg123-devel Symbolic link
View file

@ -0,0 +1 @@
mpg123

2
srcpkgs/mpg123/depends Normal file
View file

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

View file

@ -0,0 +1,19 @@
# Template file for 'libmpg123'.
#
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the runtime."
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()
{
vmove "usr/lib/*.so*" usr/lib
vmove usr/lib/mpg123 usr/lib
}

View file

@ -0,0 +1,15 @@
# Template file for 'mpg123-devel'.
#
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libmpg123
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

30
srcpkgs/mpg123/template Normal file
View file

@ -0,0 +1,30 @@
# Template file for 'mpg123'
pkgname=mpg123
version=1.13.4
distfiles="http://www.${pkgname}.de/download/${pkgname}-${version}.tar.bz2"
build_style=gnu-configure
configure_args="
--with-module-suffix=.so
--with-optimization=4"
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."
subpackages="lib$pkgname $pkgname-devel"
Add_dependency run glibc
Add_dependency run libltdl
Add_dependency run libmpg123
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

View file

@ -922,3 +922,4 @@ libgiggle-git.so.0 libgiggle giggle-devel
libwine.so.1 libwine wine-devel
libwv-1.2.so.3 libwv wv-devel
libabiword-2.8.so libabiword abiword-devel
libmpg123.so.0 libmpg123 mpg123-devel