New package: SDL2_mixer-2.0.0.
This commit is contained in:
parent
e50aeeabac
commit
17ff7b6254
|
@ -1627,3 +1627,4 @@ libopensc.so.3 libopensc-0.13.0_2
|
|||
libsmm-local.so.3 libopensc-0.13.0_2
|
||||
libSDL2_ttf-2.0.so.0 SDL2_ttf-2.0.12_1
|
||||
librtlsdr.so.0 librtlsdr-0.5.3_1
|
||||
libSDL2_mixer-2.0.so.0 SDL2_mixer-2.0.0_1
|
||||
|
|
1
srcpkgs/SDL2_mixer-devel
Symbolic link
1
srcpkgs/SDL2_mixer-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
SDL2_mixer
|
37
srcpkgs/SDL2_mixer/template
Normal file
37
srcpkgs/SDL2_mixer/template
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Template file for 'SDL2_mixer'
|
||||
pkgname=SDL2_mixer
|
||||
version=2.0.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="SDL2-devel libvorbis-devel libmikmod-devel>=3.2.0 libflac-devel smpeg-devel fluidsynth-devel"
|
||||
# The following deps are dlopen(3)ed at runtime.
|
||||
depends="libvorbis libmikmod smpeg libflac"
|
||||
short_desc="Multi-channel audio mixer library (SDL 2.x)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="BSD"
|
||||
homepage="http://www.libsdl.org/projects/SDL_mixer/"
|
||||
distfiles="http://www.libsdl.org/projects/SDL_mixer/release/$pkgname-$version.tar.gz"
|
||||
checksum=a8ce0e161793791adeff258ca6214267fdd41b3c073d2581cd5265c8646f725b
|
||||
|
||||
pre_configure() {
|
||||
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
|
||||
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
|
||||
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
|
||||
-i timidity/config.h
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall COPYING.txt 644 usr/share/licenses/${pkgname} COPYING
|
||||
}
|
||||
|
||||
SDL2_mixer-devel_package() {
|
||||
depends="SDL2-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user