Browse Source

xap/snes9x: Upgraded to snes9x-1.52.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
392ee5a132
  1. 2
      xap/snes9x/slack-desc
  2. 1
      xap/snes9x/snes9x-1.51-src.tar.bz2.sha1
  3. 1
      xap/snes9x/snes9x-1.52-src.tar.bz2.sha1
  4. 22
      xap/snes9x/snes9x.SlackBuild

2
xap/snes9x/slack-desc

@ -5,7 +5,7 @@ snes9x: Snes9x is a portable, free Super Nintendo Entertainment System (SNES)
snes9x: emulator. It basically allows you to play most games designed for the
snes9x: SNES and Super Famicom Nintendo game systems on you PC.
snes9x:
snes9x:
snes9x: This is the GTK+ port of Snes9x.
snes9x:
snes9x:
snes9x:

1
xap/snes9x/snes9x-1.51-src.tar.bz2.sha1

@ -1 +0,0 @@
a0de23fb376463d27f4e8fc7f11424bd3c598585 snes9x-1.51-src.tar.bz2

1
xap/snes9x/snes9x-1.52-src.tar.bz2.sha1

@ -0,0 +1 @@
fb3957b68fcede882518516094a73ec5bbed76cf snes9x-1.52-src.tar.bz2

22
xap/snes9x/snes9x.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -22,18 +22,19 @@
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest snes9x sourcecode is available at: <http://www.snes9x.com/>.
# Latest snes9x sourcecode is available at:
# <http://code.google.com/p/snes9x-gtk/>.
# Source package infos
NAMESRC=${NAMESRC:-snes9x}
VERSION=${VERSION:-1.51}
VERSION=${VERSION:-1.52}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.bz2}
WGET=${WGET:-http://www.geocities.co.jp/SiliconValley-PaloAlto/2560/release/$ARCHIVE}
WGET=${WGET:-http://snes9x-gtk.googlecode.com/files/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-snes9x}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -80,17 +81,20 @@ NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
cd $NAME/gtk
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr
--prefix=/usr \
--with-gtk \
--with-opengl
make -j $JOBS
install -D -m 0755 -s snes9x $PKG/usr/bin/snes9x
make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 unix/docs/readme_unix.txt doc/* $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS doc/{LICENSE,README} \
../unix/docs/readme_unix.html ../docs/* $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save