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 | |
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')
-rw-r--r-- | games/nestopia/README | 4 | ||||
-rw-r--r-- | games/nestopia/nestopia.SlackBuild | 19 | ||||
-rw-r--r-- | games/nestopia/nestopia.info | 10 |
3 files changed, 21 insertions, 12 deletions
diff --git a/games/nestopia/README b/games/nestopia/README index bb96bf131f..cba13c27bd 100644 --- a/games/nestopia/README +++ b/games/nestopia/README @@ -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 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 diff --git a/games/nestopia/nestopia.info b/games/nestopia/nestopia.info index 9319b50390..ba5607f146 100644 --- a/games/nestopia/nestopia.info +++ b/games/nestopia/nestopia.info @@ -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" |