diff --git a/srcpkgs/libmpg123 b/srcpkgs/libmpg123 new file mode 120000 index 0000000000..9e68ce8491 --- /dev/null +++ b/srcpkgs/libmpg123 @@ -0,0 +1 @@ +mpg123 \ No newline at end of file diff --git a/srcpkgs/mpg123-devel b/srcpkgs/mpg123-devel new file mode 120000 index 0000000000..9e68ce8491 --- /dev/null +++ b/srcpkgs/mpg123-devel @@ -0,0 +1 @@ +mpg123 \ No newline at end of file diff --git a/srcpkgs/mpg123/depends b/srcpkgs/mpg123/depends new file mode 100644 index 0000000000..6f1ee8491a --- /dev/null +++ b/srcpkgs/mpg123/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.13.4" +api_depends="${abi_depends}" diff --git a/srcpkgs/mpg123/libmpg123.template b/srcpkgs/mpg123/libmpg123.template new file mode 100644 index 0000000000..1e4fb60a25 --- /dev/null +++ b/srcpkgs/mpg123/libmpg123.template @@ -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 +} diff --git a/srcpkgs/mpg123/mpg123-devel.template b/srcpkgs/mpg123/mpg123-devel.template new file mode 100644 index 0000000000..2aff40e422 --- /dev/null +++ b/srcpkgs/mpg123/mpg123-devel.template @@ -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 +} diff --git a/srcpkgs/mpg123/template b/srcpkgs/mpg123/template new file mode 100644 index 0000000000..e9133df87a --- /dev/null +++ b/srcpkgs/mpg123/template @@ -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 " +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 diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 8b404f1199..da82eea0d1 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -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