sdlmame: update to 0144 patchlevel 5.
This commit is contained in:
parent
6cae1c911d
commit
9badfe2110
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
pkgname=sdlmame
|
pkgname=sdlmame
|
||||||
_distver=0144
|
_distver=0144
|
||||||
# _patchver=8
|
_patchver=5
|
||||||
if [ -n "${_patchver}" ]; then
|
if [ -n "${_patchver}" ]; then
|
||||||
version=${_distver}u${_patchver}
|
version=${_distver}u${_patchver}
|
||||||
else
|
else
|
||||||
@ -20,6 +20,7 @@ long_desc="
|
|||||||
|
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
|
||||||
|
Add_dependency build perl ">=0"
|
||||||
Add_dependency build pkg-config
|
Add_dependency build pkg-config
|
||||||
Add_dependency build SDL-devel
|
Add_dependency build SDL-devel
|
||||||
Add_dependency build SDL_ttf-devel
|
Add_dependency build SDL_ttf-devel
|
||||||
@ -35,10 +36,10 @@ do_extract() {
|
|||||||
unzip -q ${XBPS_SRCDISTDIR}/$(basename $distfiles)
|
unzip -q ${XBPS_SRCDISTDIR}/$(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'
|
||||||
|
|
||||||
# XXX disabled, patches can't be applied?
|
# XXX disabled, patches can't be applied?
|
||||||
# Download and apply released patches.
|
# Download and apply released patches.
|
||||||
if false; then
|
|
||||||
for p in $(seq -w 1 ${_patchver}); do
|
for p in $(seq -w 1 ${_patchver}); do
|
||||||
_patch=${_distver}u${p}
|
_patch=${_distver}u${p}
|
||||||
msg_normal "Fetching patch: ${_patch} ...\n"
|
msg_normal "Fetching patch: ${_patch} ...\n"
|
||||||
@ -48,7 +49,6 @@ do_extract() {
|
|||||||
&& patch -p0 -E -i ${_patch}.diff
|
&& patch -p0 -E -i ${_patch}.diff
|
||||||
rm -f ${_patch}_diff
|
rm -f ${_patch}_diff
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user