diff options
-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 bb96bf131f91b..cba13c27bd3e3 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 6c681f22c7e81..cc656c658b776 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 9319b503903b0..ba5607f14662b 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" |