sdlmame: update to 0153u0; only for x86.
This commit is contained in:
parent
005d8082cd
commit
58ae39a1be
1 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
pkgname=sdlmame
|
pkgname=sdlmame
|
||||||
_distver=0148
|
_distver=0153
|
||||||
_patchver=0
|
_patchver=0
|
||||||
version=${_distver}u${_patchver}
|
version=${_distver}u${_patchver}
|
||||||
revision=1
|
revision=1
|
||||||
|
@ -10,18 +12,17 @@ distfiles="${homepage}/downloader.php?file=releases/mame${_distver}s.zip"
|
||||||
short_desc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support"
|
short_desc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="mame"
|
license="mame"
|
||||||
checksum=78d8a68ba53934fdfc895f450c08682dada81f7ec3e74a98fb042539506d9321
|
checksum=abf6fb4da48985ccefeaf6016aeedbe91d07ad6b0cd7dda7c0f3dc0eb83355e4
|
||||||
|
|
||||||
makedepends="unzip perl pkg-config SDL-devel>=1.2.15_4 SDL_ttf-devel
|
hostmakedepends="which unzip perl pkg-config python"
|
||||||
libXinerama-devel gtk+-devel GConf-devel alsa-lib-devel python
|
makedepends="SDL_ttf-devel fontconfig-devel libXinerama-devel qt-devel automoc4 alsa-lib-devel liberation-fonts-ttf"
|
||||||
liberation-fonts-ttf"
|
|
||||||
depends="liberation-fonts-ttf"
|
depends="liberation-fonts-ttf"
|
||||||
nonfree="yes"
|
nonfree="yes"
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
# mame source code is double-zipped to save space.
|
# mame source code is double-zipped to save space.
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
unzip -q ${XBPS_SRCDISTDIR}/$(basename $distfiles)
|
unzip -q ${XBPS_SRCDISTDIR}/${pkgname}-${version}/$(basename $distfiles)
|
||||||
unzip -q mame.zip
|
unzip -q mame.zip
|
||||||
rm -f mame.zip
|
rm -f mame.zip
|
||||||
find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
|
find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
|
||||||
|
@ -32,8 +33,8 @@ do_extract() {
|
||||||
msg_normal "Fetching patch: ${_patch} ...\n"
|
msg_normal "Fetching patch: ${_patch} ...\n"
|
||||||
${XBPS_FETCH_CMD} ${homepage}/updates/${_patch}_diff.zip
|
${XBPS_FETCH_CMD} ${homepage}/updates/${_patch}_diff.zip
|
||||||
msg_normal "Applying patch: ${_patch} ...\n"
|
msg_normal "Applying patch: ${_patch} ...\n"
|
||||||
unzip -q ${_patch}_diff.zip \
|
unzip -q ${_patch}_diff.zip
|
||||||
&& patch -p0 -E -i ${_patch}.diff
|
patch -p0 -E -i ${_patch}.diff
|
||||||
rm -f ${_patch}_diff
|
rm -f ${_patch}_diff
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue