games/nestopia: Updated for version 1.50.
Add GTK=yes/no for gtk interface Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3690228bcf
commit
04f7c12050
|
@ -13,4 +13,6 @@ file to your RetroArch BIOS directory:
|
|||
|
||||
/usr/share/nestopia/NstDatabase.xml
|
||||
|
||||
Note: parallel building is supported with a max of 2 jobs.
|
||||
Enable GTK GUI needs newer version of gtk3 (default GTK=no)
|
||||
|
||||
GTK=yes ./nestopia.SlackBuild
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
# Slackware build script for Nestopia
|
||||
|
||||
# Written by Dugan Chen (thedoogster@gmail.com)
|
||||
# Editd by RuohShoei LIN
|
||||
|
||||
PRGNAM=nestopia
|
||||
LIBNAM=${PRGNAM}_libretro
|
||||
VERSION=${VERSION:-1.49}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-1.50}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -44,7 +45,7 @@ mkdir -p $TMP $PKG $OUTPUT
|
|||
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.t?z*
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
chown -R root:root .
|
||||
|
@ -57,9 +58,15 @@ find -L . \
|
|||
autoreconf -vif
|
||||
|
||||
# --enable-gui requires a newer GTK than what's in 14.2.
|
||||
GTK=${GTK:-no}
|
||||
case "$GTK" in
|
||||
[yY]|[yY][eE][sS]) GTK="--enable-gui" ;;
|
||||
*) NO_UMFPACK="--disable-gui" ;;
|
||||
esac
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
|
@ -68,7 +75,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--enable-doc \
|
||||
# --enable-gui
|
||||
$GTK
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
PRGNAM="nestopia"
|
||||
VERSION="1.49"
|
||||
VERSION="1.50"
|
||||
HOMEPAGE="http://0ldsk00l.ca/nestopia/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/project/nestopiaue/1.49/nestopia-1.49.tgz \
|
||||
DOWNLOAD="https://github.com/0ldsk00l/nestopia/archive/1.50/nestopia-1.50.tar.gz \
|
||||
https://raw.githubusercontent.com/libretro/libretro-super/6043e5f/dist/info/nestopia_libretro.info"
|
||||
MD5SUM="249910d2d7a3bc3d978ce3d0b6d6304e \
|
||||
MD5SUM="09f24c934663d93b1266aa6e8afa4592 \
|
||||
1813bb09acf63d4772e50adc4182d259"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="SDL2 autoconf-archive"
|
||||
MAINTAINER="Dugan Chen"
|
||||
EMAIL="thedoogster [at] gmail [dot] com"
|
||||
MAINTAINER="RuohShoei LIN"
|
||||
EMAIL="lin[dot]ruohshoei [at] gmail [dot] com"
|
||||
|
|
Loading…
Reference in New Issue