mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
SDL_mixer: update to 1.2.12.
This commit is contained in:
parent
60d24c10af
commit
9b3e207cb8
3 changed files with 22 additions and 17 deletions
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=2
|
|
||||||
|
|
||||||
Add_dependency run SDL-devel
|
Add_dependency run SDL-devel
|
||||||
Add_dependency run libvorbis-devel
|
Add_dependency run libvorbis-devel
|
||||||
Add_dependency run libmikmod-devel
|
Add_dependency run libmikmod-devel
|
||||||
|
@ -14,10 +12,8 @@ Add_dependency run libflac-devel
|
||||||
Add_dependency run smpeg-devel
|
Add_dependency run smpeg-devel
|
||||||
Add_dependency run SDL_mixer
|
Add_dependency run SDL_mixer
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
vmove usr/include usr
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
vmove "usr/lib/*.a" usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
libSDL-1.2.so.0
|
libSDL-1.2.so.0
|
||||||
libpthread.so.0
|
libpthread.so.0
|
||||||
libc.so.6
|
libc.so.6
|
||||||
|
libm.so.6
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
# Template file for 'SDL_mixer'
|
# Template file for 'SDL_mixer'
|
||||||
pkgname=SDL_mixer
|
pkgname=SDL_mixer
|
||||||
version=1.2.11
|
version=1.2.12
|
||||||
revision=2
|
homepage="http://www.libsdl.org/projects/SDL_mixer/"
|
||||||
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Multi-channel audio mixer library"
|
short_desc="Multi-channel audio mixer library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=86145ac39cac6d2c6169c226f937648dca5e89dcd828751763dd174fa9af9cf9
|
license="BSD"
|
||||||
|
checksum=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a
|
||||||
long_desc="
|
long_desc="
|
||||||
SDL_mixer is a sample multi-channel audio mixer library. It supports any
|
SDL_mixer is a sample multi-channel audio mixer library. It supports any
|
||||||
number of simultaneously playing channels of 16 bit stereo audio, plus
|
number of simultaneously playing channels of 16 bit stereo audio, plus
|
||||||
|
@ -14,20 +15,27 @@ long_desc="
|
||||||
Ogg Vorbis, and SMPEG MP3 libraries."
|
Ogg Vorbis, and SMPEG MP3 libraries."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
|
# The following are dlopen(3)ed at runtime.
|
||||||
Add_dependency run libvorbis
|
Add_dependency run libvorbis
|
||||||
Add_dependency run libmikmod
|
Add_dependency run libmikmod
|
||||||
Add_dependency run smpeg
|
Add_dependency run smpeg
|
||||||
Add_dependency run libflac
|
Add_dependency run libflac
|
||||||
|
Add_dependency run libfluidsynth
|
||||||
|
|
||||||
Add_dependency build SDL-devel
|
Add_dependency build SDL-devel
|
||||||
Add_dependency build libvorbis-devel
|
Add_dependency build libvorbis-devel
|
||||||
Add_dependency build libmikmod-devel
|
Add_dependency build libmikmod-devel
|
||||||
Add_dependency build libflac-devel
|
Add_dependency build libflac-devel
|
||||||
Add_dependency build smpeg-devel
|
Add_dependency build smpeg-devel
|
||||||
|
Add_dependency build fluidsynth-devel
|
||||||
|
|
||||||
pre_configure()
|
pre_configure() {
|
||||||
{
|
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
|
||||||
sed -i 's|/usr/local/lib/timidity|/usr/lib/timidity|' \
|
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
|
||||||
${wrksrc}/timidity/config.h || return 1
|
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
|
||||||
sed -i 's|/etc/timidity/timidity.cfg|/etc/timidity++/timidity.cfg|' \
|
-i timidity/config.h
|
||||||
${wrksrc}/timidity/config.h || return 1
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue