Merge pull request #4178 from ayghor/smpeg2_and_SDL2_mixer

smpeg2 and SDL2_mixer
This commit is contained in:
Juan RP 2016-05-18 07:50:23 +02:00
commit be688e7e5f
4 changed files with 30 additions and 4 deletions

View File

@ -2451,3 +2451,4 @@ libipmimonitoring.so.5 freeipmi-1.5.1_1
libipmiconsole.so.2 freeipmi-1.5.1_1 libipmiconsole.so.2 freeipmi-1.5.1_1
libfreeipmi.so.17 freeipmi-1.5.1_1 libfreeipmi.so.17 freeipmi-1.5.1_1
libipmidetect.so.0 freeipmi-1.5.1_1 libipmidetect.so.0 freeipmi-1.5.1_1
libsmpeg2-2.0.so.0 smpeg2-2.0.0_1

View File

@ -1,13 +1,12 @@
# Template file for 'SDL2_mixer' # Template file for 'SDL2_mixer'
pkgname=SDL2_mixer pkgname=SDL2_mixer
version=2.0.1 version=2.0.1
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="SDL2-devel libvorbis-devel libmikmod-devel libflac-devel smpeg-devel fluidsynth-devel" makedepends="SDL2-devel libvorbis-devel libmikmod-devel libflac-devel smpeg2-devel fluidsynth-devel"
# The following deps are dlopen(3)ed at runtime. # The following deps are dlopen(3)ed at runtime.
depends="libvorbis libmikmod smpeg libflac" depends="libvorbis libmikmod smpeg2 libflac"
short_desc="Multi-channel audio mixer library (SDL 2.x)" short_desc="Multi-channel audio mixer library (SDL 2.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD" license="BSD"
@ -33,5 +32,6 @@ SDL2_mixer-devel_package() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
} }
} }

1
srcpkgs/smpeg2-devel Symbolic link
View File

@ -0,0 +1 @@
smpeg2

24
srcpkgs/smpeg2/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'smpeg2'
pkgname=smpeg2
version=2.0.0
revision=1
build_style=gnu-configure
makedepends="SDL2-devel"
short_desc="SDL2 MPEG Player Library"
homepage="https://icculus.org/smpeg/"
license="LGPL-2.1"
maintainer="rogi <rogi@skylittlesystem.org>"
distfiles="https://www.libsdl.org/projects/smpeg/release/smpeg2-${version}.tar.gz"
checksum=979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3
smpeg2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/smpeg2-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}