diff options
author | linrs <linRs@users.noreply.github.com> | 2020-04-16 05:53:15 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:00:19 +0700 |
commit | 04f7c120507bdfa29901f97d23c5a98267f751e6 (patch) | |
tree | 744f62db57bea34368b5202ef81da10572855988 /games/nestopia/nestopia.SlackBuild | |
parent | 3690228bcf567d66b67e8c7e8abe2bfff6ced7ce (diff) | |
download | slackbuilds-04f7c120507bdfa29901f97d23c5a98267f751e6.tar.gz |
games/nestopia: Updated for version 1.50.
Add GTK=yes/no for gtk interface
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nestopia/nestopia.SlackBuild')
-rw-r--r-- | games/nestopia/nestopia.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/games/nestopia/nestopia.SlackBuild b/games/nestopia/nestopia.SlackBuild index 6c681f22c7..cc656c658b 100644 --- a/games/nestopia/nestopia.SlackBuild +++ b/games/nestopia/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 |