summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2021-06-09 00:58:25 +0200
committerCarsten Teibes2021-06-09 00:58:25 +0200
commit9823b0b050267c14611626df7053b0f7382a7d10 (patch)
tree89b3fb9d43ec7d332caf7689de9e898f4bba4a4c
parent81400ce01fa06103ca5f803f0fa357aefb2e1604 (diff)
downloadaur-9823b0b050267c14611626df7053b0f7382a7d10.tar.gz
[upd] 1.50→1.51.0
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
-rw-r--r--nestopia.install7
3 files changed, 23 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a52f66a24d5a..82e42a3f38db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,18 @@
pkgbase = nestopia
pkgdesc = An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.
- pkgver = 1.50
+ pkgver = 1.51.0
pkgrel = 1
url = http://0ldsk00l.ca/nestopia/
+ install = nestopia.install
arch = x86_64
license = GPL
- makedepends = unzip
makedepends = mesa
- makedepends = xdg-utils
makedepends = autoconf-archive
depends = sdl2
- depends = gtk3
+ depends = fltk
+ depends = zlib
depends = libarchive
- source = nestopia-1.50.tar.gz::https://github.com/0ldsk00l/nestopia/archive/1.50.tar.gz
- sha256sums = f0274f8b033852007c67237897c69725b811c0df8a6d0120f39c23e990662aae
+ source = nestopia-1.51.0.tar.gz::https://github.com/0ldsk00l/nestopia/archive/1.51.0.tar.gz
+ sha256sums = 9dd3253629a05f68fb730e5bc59148cd5498cea359eff2cbf4202d1e1329bce9
pkgname = nestopia
-
diff --git a/PKGBUILD b/PKGBUILD
index 357f5d01ea57..8019badeebd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,27 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-# Contributor: aimileus < me at aimileus dot nl >
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
-# Contributor: robb_force <robb_force@holybuffalo.net>
+# Contributor: aimileus, Sergej Pupykin, Tiago Pierezan Camargo, robb_force
pkgname=nestopia
-pkgver=1.50
+pkgver=1.51.0
pkgrel=1
pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.'
url='http://0ldsk00l.ca/nestopia/'
license=('GPL')
arch=('x86_64')
-depends=('sdl2' 'gtk3' 'libarchive')
-makedepends=('unzip' 'mesa' 'xdg-utils' 'autoconf-archive')
+depends=('sdl2' 'fltk' 'zlib' 'libarchive')
+makedepends=('mesa' 'autoconf-archive')
source=($pkgname-$pkgver.tar.gz::"https://github.com/0ldsk00l/nestopia/archive/$pkgver.tar.gz")
-sha256sums=('f0274f8b033852007c67237897c69725b811c0df8a6d0120f39c23e990662aae')
+sha256sums=('9dd3253629a05f68fb730e5bc59148cd5498cea359eff2cbf4202d1e1329bce9')
+install=$pkgname.install
build() {
cd $pkgname-$pkgver
+ # build system normally disables this warning
+ export CXXFLAGS="$CXXFLAGS -Wno-narrowing"
+
autoreconf -fi
- ./configure --prefix=/usr --enable-gui
+ ./configure --prefix=/usr
make
}
diff --git a/nestopia.install b/nestopia.install
new file mode 100644
index 000000000000..956d9ddba320
--- /dev/null
+++ b/nestopia.install
@@ -0,0 +1,7 @@
+
+post_upgrade() {
+ if [ $(vercmp "$2" 1.51.0) -lt 0 ]; then
+ echo " => The settings/data directories have been moved from ~/.nestopia to"
+ echo " respect xdg basedir spec."
+ fi
+}