[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2020-11-03 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 4, 2020 @ 00:46:09
  Author: svenstaro
Revision: 741500

upgpkg: snes9x 1.60-7: glslang 11 rebuild

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-04 00:34:54 UTC (rev 741499)
+++ PKGBUILD2020-11-04 00:46:09 UTC (rev 741500)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=6
+pkgrel=7
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2020-04-29 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, April 29, 2020 @ 13:26:51
  Author: svenstaro
Revision: 622259

upgpkg: snes9x 1.60-6: glslang 8.13.3743 rebuild

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-29 13:12:44 UTC (rev 622258)
+++ PKGBUILD2020-04-29 13:26:51 UTC (rev 622259)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=5
+pkgrel=6
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2020-01-11 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, January 11, 2020 @ 15:55:44
  Author: svenstaro
Revision: 551919

upgpkg: snes9x 1.60-5

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-11 15:40:51 UTC (rev 551918)
+++ PKGBUILD2020-01-11 15:55:44 UTC (rev 551919)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=4
+pkgrel=5
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2019-11-08 Thread Levente Polyak via arch-commits
Date: Friday, November 8, 2019 @ 23:55:14
  Author: anthraxx
Revision: 524743

upgpkg: snes9x 1.60-4 extend instead of overwrite CXXFLAGS

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-08 23:54:12 UTC (rev 524742)
+++ PKGBUILD2019-11-08 23:55:14 UTC (rev 524743)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=3
+pkgrel=4
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/
@@ -60,7 +60,7 @@
 build() {
   pushd snes9x/unix
 
-  export CXXFLAGS="-I/usr/include/glslang"
+  CXXFLAGS+=" -I/usr/include/glslang"
   ./configure \
 --prefix='/usr' \
 --enable-netplay


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2019-11-08 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, November 8, 2019 @ 22:40:52
  Author: svenstaro
Revision: 524703

upgpkg: snes9x 1.60-3

glslang 7.13 rebuild

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-08 22:21:54 UTC (rev 524702)
+++ PKGBUILD2019-11-08 22:40:52 UTC (rev 524703)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=2
+pkgrel=3
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/
@@ -60,6 +60,7 @@
 build() {
   pushd snes9x/unix
 
+  export CXXFLAGS="-I/usr/include/glslang"
   ./configure \
 --prefix='/usr' \
 --enable-netplay


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2019-09-11 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, September 11, 2019 @ 17:50:32
  Author: svenstaro
Revision: 509295

upgpkg: snes9x 1.60-2

glslang rebuild

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-11 16:18:21 UTC (rev 509294)
+++ PKGBUILD2019-09-11 17:50:32 UTC (rev 509295)
@@ -7,7 +7,7 @@
   snes9x-gtk
 )
 pkgver=1.60
-pkgrel=1
+pkgrel=2
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
 url=http://www.snes9x.com/


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2019-04-24 Thread Maxime Gauduin via arch-commits
Date: Wednesday, April 24, 2019 @ 19:56:35
  Author: alucryd
Revision: 453434

upgpkg: snes9x 1.60-1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-24 19:42:25 UTC (rev 453433)
+++ PKGBUILD2019-04-24 19:56:35 UTC (rev 453434)
@@ -6,7 +6,7 @@
   snes9x
   snes9x-gtk
 )
-pkgver=1.59.2
+pkgver=1.60
 pkgrel=1
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2019-03-01 Thread Maxime Gauduin via arch-commits
Date: Friday, March 1, 2019 @ 09:28:25
  Author: alucryd
Revision: 437169

upgpkg: snes9x 1.59.2-1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |   54 ++
 1 file changed, 30 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-01 09:26:11 UTC (rev 437168)
+++ PKGBUILD2019-03-01 09:28:25 UTC (rev 437169)
@@ -2,12 +2,15 @@
 # Maintainer: Maxime Gauduin 
 
 pkgbase=snes9x
-pkgname=(snes9x snes9x-gtk)
-pkgver=1.58
+pkgname=(
+  snes9x
+  snes9x-gtk
+)
+pkgver=1.59.2
 pkgrel=1
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=(x86_64)
-url='http://www.snes9x.com/'
+url=http://www.snes9x.com/
 license=(custom)
 makedepends=(
   alsa-lib
@@ -15,6 +18,7 @@
   gdk-pixbuf2
   git
   glib2
+  glslang
   gtk3
   intltool
   libepoxy
@@ -25,25 +29,32 @@
   libxml2
   libxrandr
   libxv
+  meson
   minizip
   nasm
+  portaudio
   sdl2
   zlib
 )
-source=(git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver})
-sha256sums=(SKIP)
+source=(
+  git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver}
+  git+https://github.com/KhronosGroup/SPIRV-Cross.git
+)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
-  pushd snes9x/unix
+  cd snes9x
 
-  autoreconf -fiv
+  for submodule in shaders/SPIRV-Cross; do
+git submodule init ${submodule}
+git config submodule.${submodule}.url ../${submodule#*/}
+git submodule update ${submodule}
+  done
 
-  popd
-  pushd snes9x/gtk
+  cd unix
 
-  ./autogen.sh
-
-  popd
+  autoreconf -fiv
 }
 
 build() {
@@ -55,15 +66,9 @@
   make
 
   popd
-  pushd snes9x/gtk
 
-  ./configure \
---prefix='/usr' \
---with-netplay \
---with-opengl
-  make
-
-  popd
+  arch-meson snes9x/gtk build
+  ninja -C build
 }
 
 package_snes9x() {
@@ -91,6 +96,7 @@
 cairo
 gdk-pixbuf2
 glib2
+glslang
 gtk3
 hicolor-icon-theme
 libepoxy
@@ -102,15 +108,15 @@
 libxrandr
 libxv
 minizip
+portaudio
 sdl2
 zlib
   )
 
-  cd snes9x/gtk
+  DESTDIR="${pkgdir}" ninja -C build install
 
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 ../docs/{control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x-gtk
-  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
+  install -Dm 644 snes9x/docs/{control-inputs.txt,controls.txt,snapshots.txt} 
-t "${pkgdir}"/usr/share/doc/snes9x-gtk
+  install -Dm 644 snes9x/LICENSE 
"${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
 }
 
 # vim: ts=2 sw=2 et:


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2018-12-17 Thread Maxime Gauduin via arch-commits
Date: Monday, December 17, 2018 @ 14:54:06
  Author: alucryd
Revision: 416535

upgpkg: snes9x 1.58-1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |   68 +++--
 1 file changed, 53 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-17 14:37:01 UTC (rev 416534)
+++ PKGBUILD2018-12-17 14:54:06 UTC (rev 416535)
@@ -2,20 +2,36 @@
 # Maintainer: Maxime Gauduin 
 
 pkgbase=snes9x
-pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.57
+pkgname=(snes9x snes9x-gtk)
+pkgver=1.58
 pkgrel=1
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
-arch=('x86_64')
+arch=(x86_64)
 url='http://www.snes9x.com/'
-license=('custom')
+license=(custom)
 makedepends=(
-  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'git' 'glib2' 'gtk3' 'intltool' 'libepoxy'
-  'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr' 'libxv'
-  'minizip' 'nasm' 'sdl2' 'zlib'
+  alsa-lib
+  cairo
+  gdk-pixbuf2
+  git
+  glib2
+  gtk3
+  intltool
+  libepoxy
+  libpng
+  libpulse
+  libx11
+  libxext
+  libxml2
+  libxrandr
+  libxv
+  minizip
+  nasm
+  sdl2
+  zlib
 )
-source=("git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver};)
-sha256sums=('SKIP')
+source=(git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver})
+sha256sums=(SKIP)
 
 prepare() {
   pushd snes9x/unix
@@ -51,12 +67,20 @@
 }
 
 package_snes9x() {
-  depends=('libpng' 'libx11' 'libxext' 'libxinerama' 'libxv' 'minizip' 'zlib')
+  depends=(
+libpng
+libx11
+libxext
+libxinerama
+libxv
+minizip
+zlib
+  )
 
   cd snes9x/unix
 
   install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
-  install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x
+  install -Dm 644 ../docs/{control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x
   install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x/LICENSE
 
 }
@@ -63,15 +87,29 @@
 
 package_snes9x-gtk() {
   depends=(
-'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme'
-'libepoxy' 'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr'
-'libxv' 'minizip' 'sdl2' 'zlib'
+alsa-lib
+cairo
+gdk-pixbuf2
+glib2
+gtk3
+hicolor-icon-theme
+libepoxy
+libpng
+libpulse
+libx11
+libxext
+libxml2
+libxrandr
+libxv
+minizip
+sdl2
+zlib
   )
 
   cd snes9x/gtk
 
   make DESTDIR="${pkgdir}" install
-  install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x-gtk
+  install -Dm 644 ../docs/{control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x-gtk
   install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
 }
 


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2018-11-14 Thread Maxime Gauduin via arch-commits
Date: Wednesday, November 14, 2018 @ 08:51:44
  Author: alucryd
Revision: 407321

upgpkg: snes9x 1.57-1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |   33 +
 1 file changed, 21 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-14 07:47:42 UTC (rev 407320)
+++ PKGBUILD2018-11-14 08:51:44 UTC (rev 407321)
@@ -3,7 +3,7 @@
 
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.56.2
+pkgver=1.57
 pkgrel=1
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=('x86_64')
@@ -10,22 +10,28 @@
 url='http://www.snes9x.com/'
 license=('custom')
 makedepends=(
-  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'intltool' 'libepoxy'
+  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'git' 'glib2' 'gtk3' 'intltool' 'libepoxy'
   'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr' 'libxv'
   'minizip' 'nasm' 'sdl2' 'zlib'
 )
-source=("https://github.com/snes9xgit/snes9x/archive/${pkgver}.tar.gz;)
-sha1sums=('761af9b038d8856af67aa6683f9f25865ab57283')
+source=("git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver};)
+sha256sums=('SKIP')
 
 prepare() {
-  cd snes9x-${pkgver}/gtk
+  pushd snes9x/unix
 
-  autoreconf -vif
+  autoreconf -fiv
+
+  popd
+  pushd snes9x/gtk
+
+  ./autogen.sh
+
+  popd
 }
 
-
 build() {
-  cd snes9x-${pkgver}/unix
+  pushd snes9x/unix
 
   ./configure \
 --prefix='/usr' \
@@ -32,19 +38,22 @@
 --enable-netplay
   make
 
-  cd ../gtk
-  ./autogen.sh
+  popd
+  pushd snes9x/gtk
+
   ./configure \
 --prefix='/usr' \
 --with-netplay \
 --with-opengl
   make
+
+  popd
 }
 
 package_snes9x() {
   depends=('libpng' 'libx11' 'libxext' 'libxinerama' 'libxv' 'minizip' 'zlib')
 
-  cd snes9x-${pkgver}/unix
+  cd snes9x/unix
 
   install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
   install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x
@@ -59,7 +68,7 @@
 'libxv' 'minizip' 'sdl2' 'zlib'
   )
 
-  cd snes9x-${pkgver}/gtk
+  cd snes9x/gtk
 
   make DESTDIR="${pkgdir}" install
   install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x-gtk


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2018-06-22 Thread Maxime Gauduin via arch-commits
Date: Friday, June 22, 2018 @ 07:32:52
  Author: alucryd
Revision: 344359

upgpkg: snes9x 1.56.2-1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-22 07:12:51 UTC (rev 344358)
+++ PKGBUILD2018-06-22 07:32:52 UTC (rev 344359)
@@ -4,7 +4,7 @@
 
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.56.1
+pkgver=1.56.2
 pkgrel=1
 pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=('x86_64')
@@ -16,7 +16,7 @@
   'minizip' 'nasm' 'sdl2' 'zlib'
 )
 source=("https://github.com/snes9xgit/snes9x/archive/${pkgver}.tar.gz;)
-sha1sums=('af118ba7f5ebc152a1a43bb372bdfcd60e2ca87f')
+sha1sums=('761af9b038d8856af67aa6683f9f25865ab57283')
 
 prepare() {
   cd snes9x-${pkgver}/gtk


[arch-commits] Commit in snes9x/trunk (PKGBUILD snes9x-buildflags.patch)

2018-06-09 Thread Maxime Gauduin via arch-commits
Date: Saturday, June 9, 2018 @ 09:21:49
  Author: alucryd
Revision: 342153

upgpkg: snes9x 1.56.1-1

Modified:
  snes9x/trunk/PKGBUILD
Deleted:
  snes9x/trunk/snes9x-buildflags.patch

-+
 PKGBUILD|   77 +-
 snes9x-buildflags.patch |   54 
 2 files changed, 43 insertions(+), 88 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-09 08:56:16 UTC (rev 342152)
+++ PKGBUILD2018-06-09 09:21:49 UTC (rev 342153)
@@ -1,61 +1,70 @@
 # $Id$
 # Maintainer: Eric Bélanger 
+# Maintainer: Maxime Gauduin 
 
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.55
-pkgrel=2
+pkgver=1.56.1
+pkgrel=1
+pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
 arch=('x86_64')
-url="http://www.snes9x.com/;
+url='http://www.snes9x.com/'
 license=('custom')
-makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
- 'adwaita-icon-theme' 'minizip')
-source=(https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz 
snes9x-buildflags.patch)
-sha1sums=('366d14f77f70e6eb7b4fac24cde6d79fcfc0add3'
-  'a1b68aaa710ee261a3e9ee1a80e9a82864f14374')
+makedepends=(
+  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'intltool' 'libepoxy'
+  'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr' 'libxv'
+  'minizip' 'nasm' 'sdl2' 'zlib'
+)
+source=("https://github.com/snes9xgit/snes9x/archive/${pkgver}.tar.gz;)
+sha1sums=('af118ba7f5ebc152a1a43bb372bdfcd60e2ca87f')
 
 prepare() {
-  cd $pkgbase-$pkgver
-  # Respect build flags (rmpfusion)
-  patch -p1 -i ../snes9x-buildflags.patch
-  cd unix
-  autoreconf -vi
+  cd snes9x-${pkgver}/gtk
+
+  autoreconf -vif
 }
 
+
 build() {
-  cd ${pkgbase}-${pkgver}/unix
-  ./configure --prefix=/usr --enable-netplay
+  cd snes9x-${pkgver}/unix
+
+  ./configure \
+--prefix='/usr' \
+--enable-netplay
   make
 
   cd ../gtk
   ./autogen.sh
-  ./configure --prefix=/usr --with-netplay --with-opengl
+  ./configure \
+--prefix='/usr' \
+--with-netplay \
+--with-opengl
   make
 }
 
 package_snes9x() {
-  pkgdesc="A portable Emulator for the Super Nintendo Entertainment System"
-  depends=('libpng' 'libxext' 'libsm' 'libxv' 'minizip')
+  depends=('libpng' 'libx11' 'libxext' 'libxinerama' 'libxv' 'minizip' 'zlib')
 
-  cd ${pkgbase}-${pkgver}/unix
-  install -D -m755 snes9x "${pkgdir}/usr/bin/snes9x"
-  install -d "${pkgdir}/usr/share/doc/${pkgname}"
-  install -D -m644 
../docs/{snes9x.conf.default,{control-inputs,controls,snapshots}.txt} \
-"${pkgdir}/usr/share/doc/${pkgname}/"
-  install -D -m644 "${srcdir}/${pkgbase}-${pkgver}/docs/snes9x-license.txt" \
-"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd snes9x-${pkgver}/unix
+
+  install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
+  install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x
+  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x/LICENSE
+
 }
 
 package_snes9x-gtk() {
-  pkgdesc="A portable Emulator for the Super Nintendo Entertainment System - 
GTK version"
-  license=('custom' 'LGPL')
-  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'adwaita-icon-theme' 'minizip')
+  depends=(
+'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme'
+'libepoxy' 'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr'
+'libxv' 'minizip' 'sdl2' 'zlib'
+  )
 
-  cd ${pkgbase}-${pkgver}/gtk
+  cd snes9x-${pkgver}/gtk
+
   make DESTDIR="${pkgdir}" install
-  install -d "${pkgdir}/usr/share/doc/${pkgname}"
-  install -D -m644 
../docs/{snes9x.conf.default,{control-inputs,controls,snapshots}.txt} \
-"${pkgdir}/usr/share/doc/${pkgname}/"
-  install -D -m644 "${srcdir}/${pkgbase}-${pkgver}/docs/snes9x-license.txt" \
-"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 
../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t 
"${pkgdir}"/usr/share/doc/snes9x-gtk
+  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
 }
+
+# vim: ts=2 sw=2 et:

Deleted: snes9x-buildflags.patch
===
--- snes9x-buildflags.patch 2018-06-09 08:56:16 UTC (rev 342152)
+++ snes9x-buildflags.patch 2018-06-09 09:21:49 UTC (rev 342153)
@@ -1,54 +0,0 @@
-diff -durN snes9x-1.54.1.orig/unix/configure.ac snes9x-1.54.1/unix/configure.ac
 snes9x-1.54.1.orig/unix/configure.ac   2016-10-15 02:20:34.0 
+0200
-+++ snes9x-1.54.1/unix/configure.ac2017-02-04 18:52:33.297396407 +0100
-@@ -55,50 +55,6 @@
- # *
- # *** Execution begins here ***
- # *
--
--# Remove -g and -O2 flags manually.
--
--if test "x$CFLAGS" != "x"; then
--  CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-g//'`"
--  CFLAGS="`echo 

[arch-commits] Commit in snes9x/trunk (PKGBUILD snes9x-buildflags.patch)

2017-11-26 Thread Antonio Rojas via arch-commits
Date: Sunday, November 26, 2017 @ 18:26:51
  Author: arojas
Revision: 268955

Honor build flags (FS#53908)

Added:
  snes9x/trunk/snes9x-buildflags.patch
Modified:
  snes9x/trunk/PKGBUILD

-+
 PKGBUILD|   15 ++--
 snes9x-buildflags.patch |   54 ++
 2 files changed, 66 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 18:17:36 UTC (rev 268954)
+++ PKGBUILD2017-11-26 18:26:51 UTC (rev 268955)
@@ -4,15 +4,24 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.55
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="http://www.snes9x.com/;
 license=('custom')
 makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
  'adwaita-icon-theme' 'minizip')
-source=(https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz)
-sha1sums=('366d14f77f70e6eb7b4fac24cde6d79fcfc0add3')
+source=(https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz 
snes9x-buildflags.patch)
+sha1sums=('366d14f77f70e6eb7b4fac24cde6d79fcfc0add3'
+  'a1b68aaa710ee261a3e9ee1a80e9a82864f14374')
 
+prepare() {
+  cd $pkgbase-$pkgver
+  # Respect build flags (rmpfusion)
+  patch -p1 -i ../snes9x-buildflags.patch
+  cd unix
+  autoreconf -vi
+}
+
 build() {
   cd ${pkgbase}-${pkgver}/unix
   ./configure --prefix=/usr --enable-netplay

Added: snes9x-buildflags.patch
===
--- snes9x-buildflags.patch (rev 0)
+++ snes9x-buildflags.patch 2017-11-26 18:26:51 UTC (rev 268955)
@@ -0,0 +1,54 @@
+diff -durN snes9x-1.54.1.orig/unix/configure.ac snes9x-1.54.1/unix/configure.ac
+--- snes9x-1.54.1.orig/unix/configure.ac   2016-10-15 02:20:34.0 
+0200
 snes9x-1.54.1/unix/configure.ac2017-02-04 18:52:33.297396407 +0100
+@@ -55,50 +55,6 @@
+ # *
+ # *** Execution begins here ***
+ # *
+-
+-# Remove -g and -O2 flags manually.
+-
+-if test "x$CFLAGS" != "x"; then
+-  CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-g//'`"
+-  CFLAGS="`echo \"$CFLAGS\" | sed -e 's/-O2//'`"
+-fi
+-
+-if test "x$CXXFLAGS" != "x"; then
+-  CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-g//'`"
+-  CXXFLAGS="`echo \"$CXXFLAGS\" | sed -e 's/-O2//'`"
+-fi
+-
+-# Test what compiler flags we should use.
+-
+-AC_ARG_ENABLE([debug],
+-  [AS_HELP_STRING([--enable-debug],
+-  [leave debug information in the final binary (default: no)])],
+-  [], [enable_debug="no"])
+-
+-if test "x$enable_debug" = "xyes"; then
+-  AC_S9X_COMPILER_FLAG([-g],  [g])
+-  AC_S9X_COMPILER_FLAG([-O0], [o0])
+-else
+-  AC_S9X_COMPILER_FLAG([-O3], [o3], [
+-  AC_S9X_COMPILER_FLAG([-O2], [o2], [
+-  AC_S9X_COMPILER_FLAG([-O1], [o1])])])
+-  AC_S9X_COMPILER_FLAG([-fomit-frame-pointer], [omit_frame_pointer])
+-fi
+-
+-AC_ARG_ENABLE([mtune],
+-  [AS_HELP_STRING([--enable-mtune],
+-  [use the specified value for the -mtune/-mcpu flag (default: 
no)])],
+-  [], [enable_mtune="no"])
+-
+-if test "x$enable_mtune" != "xno"; then
+-  AC_S9X_COMPILER_FLAG([-mtune="$enable_mtune"], [mtune],
+-  [
+-  AC_MSG_WARN([-mtune failed, trying -mcpu...])
+-  AC_S9X_COMPILER_FLAG([-mcpu="$enable_mtune"], [mcpu],
+-  [AC_MSG_ERROR([Please specify a working value for 
--enable-mtune.])])
+-  ])
+-fi
+-
+ AC_S9X_COMPILER_FLAG([-fno-exceptions],   [no_exceptions])
+ AC_S9X_COMPILER_FLAG([-fno-rtti], [no_rtti])
+ AC_S9X_COMPILER_FLAG([-pedantic], [pedantic])


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2017-11-20 Thread Antonio Rojas
Date: Monday, November 20, 2017 @ 17:23:18
  Author: arojas
Revision: 267618

Update to 1.55

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-20 16:56:19 UTC (rev 267617)
+++ PKGBUILD2017-11-20 17:23:18 UTC (rev 267618)
@@ -3,15 +3,15 @@
 
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.54.1
+pkgver=1.55
 pkgrel=1
 arch=('x86_64')
-url="https://code.google.com/p/snes9x-gtk/;
+url="http://www.snes9x.com/;
 license=('custom')
 makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
- 'adwaita-icon-theme')
+ 'adwaita-icon-theme' 'minizip')
 source=(https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz)
-sha1sums=('985825beb519c39df7b85fee3ae7e41669011c6b')
+sha1sums=('366d14f77f70e6eb7b4fac24cde6d79fcfc0add3')
 
 build() {
   cd ${pkgbase}-${pkgver}/unix
@@ -26,7 +26,7 @@
 
 package_snes9x() {
   pkgdesc="A portable Emulator for the Super Nintendo Entertainment System"
-  depends=('libpng' 'libxext' 'libsm' 'libxv')
+  depends=('libpng' 'libxext' 'libsm' 'libxv' 'minizip')
 
   cd ${pkgbase}-${pkgver}/unix
   install -D -m755 snes9x "${pkgdir}/usr/bin/snes9x"
@@ -40,7 +40,7 @@
 package_snes9x-gtk() {
   pkgdesc="A portable Emulator for the Super Nintendo Entertainment System - 
GTK version"
   license=('custom' 'LGPL')
-  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'adwaita-icon-theme')
+  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'adwaita-icon-theme' 'minizip')
 
   cd ${pkgbase}-${pkgver}/gtk
   make DESTDIR="${pkgdir}" install


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2016-10-28 Thread Antonio Rojas
Date: Friday, October 28, 2016 @ 19:08:30
  Author: arojas
Revision: 193923

Update to 1.54.1

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-28 19:04:17 UTC (rev 193922)
+++ PKGBUILD2016-10-28 19:08:30 UTC (rev 193923)
@@ -3,7 +3,7 @@
 
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.54
+pkgver=1.54.1
 pkgrel=1
 arch=('i686' 'x86_64')
 url="https://code.google.com/p/snes9x-gtk/;
@@ -11,7 +11,7 @@
 makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
  'adwaita-icon-theme')
 source=(https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz)
-sha1sums=('54c1e396892066d747821518f7b6086e80324938')
+sha1sums=('985825beb519c39df7b85fee3ae7e41669011c6b')
 
 build() {
   cd ${pkgbase}-${pkgver}/unix


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2016-05-14 Thread Jan Steffens
Date: Saturday, May 14, 2016 @ 12:44:12
  Author: heftig
Revision: 175318

1.53-11: Move to adwaita-icon-theme

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-14 10:37:18 UTC (rev 175317)
+++ PKGBUILD2016-05-14 10:44:12 UTC (rev 175318)
@@ -4,12 +4,12 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=10
+pkgrel=11
 arch=('i686' 'x86_64')
 url="https://code.google.com/p/snes9x-gtk/;
 license=('custom')
 makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
- 'desktop-file-utils' 'gnome-icon-theme')
+ 'adwaita-icon-theme')
 source=(http://snes9x-gtk.googlecode.com/files/${pkgbase}-${pkgver}-src.tar.bz2
 snes9x-gtk2.24.diff.gz snes9x-fix-crash.patch)
 sha1sums=('57be6480369f66b9aaaeb722789ce114f58ed1e2'
@@ -48,7 +48,7 @@
 package_snes9x-gtk() {
   pkgdesc="A portable Emulator for the Super Nintendo Entertainment System - 
GTK version"
   license=('custom' 'LGPL')
-  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 
'gnome-icon-theme')
+  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'adwaita-icon-theme')
 
   cd ${pkgbase}-${pkgver}-src/gtk
   make DESTDIR="${pkgdir}" install


[arch-commits] Commit in snes9x/trunk (PKGBUILD snes9x-gtk.install)

2016-05-07 Thread Antonio Rojas
Date: Saturday, May 7, 2016 @ 15:02:12
  Author: arojas
Revision: 174096

Hooks

Modified:
  snes9x/trunk/PKGBUILD
Deleted:
  snes9x/trunk/snes9x-gtk.install

+
 PKGBUILD   |3 +--
 snes9x-gtk.install |   12 
 2 files changed, 1 insertion(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-07 12:54:47 UTC (rev 174095)
+++ PKGBUILD2016-05-07 13:02:12 UTC (rev 174096)
@@ -4,7 +4,7 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=9
+pkgrel=10
 arch=('i686' 'x86_64')
 url="https://code.google.com/p/snes9x-gtk/;
 license=('custom')
@@ -49,7 +49,6 @@
   pkgdesc="A portable Emulator for the Super Nintendo Entertainment System - 
GTK version"
   license=('custom' 'LGPL')
   depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 
'gnome-icon-theme')
-  install=snes9x-gtk.install
 
   cd ${pkgbase}-${pkgver}-src/gtk
   make DESTDIR="${pkgdir}" install

Deleted: snes9x-gtk.install
===
--- snes9x-gtk.install  2016-05-07 12:54:47 UTC (rev 174095)
+++ snes9x-gtk.install  2016-05-07 13:02:12 UTC (rev 174096)
@@ -1,12 +0,0 @@
-post_install() {
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove () {
-  post_install $1
-}


[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2015-12-06 Thread Bartłomiej Piotrowski
Date: Sunday, December 6, 2015 @ 20:09:13
  Author: bpiotrowski
Revision: 149066

C++11 ABI rebuild

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-06 19:05:40 UTC (rev 149065)
+++ PKGBUILD2015-12-06 19:09:13 UTC (rev 149066)
@@ -4,7 +4,7 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=8
+pkgrel=9
 arch=('i686' 'x86_64')
 url="https://code.google.com/p/snes9x-gtk/;
 license=('custom')


[arch-commits] Commit in snes9x/trunk (PKGBUILD snes9x-fix-crash.patch)

2014-05-24 Thread Eric Bélanger
Date: Saturday, May 24, 2014 @ 22:52:11
  Author: eric
Revision: 111794

upgpkg: snes9x 1.53-8

Fix crash (close FS#28368)

Added:
  snes9x/trunk/snes9x-fix-crash.patch
Modified:
  snes9x/trunk/PKGBUILD

+
 PKGBUILD   |8 +---
 snes9x-fix-crash.patch |   30 ++
 2 files changed, 35 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-24 19:24:57 UTC (rev 111793)
+++ PKGBUILD2014-05-24 20:52:11 UTC (rev 111794)
@@ -4,7 +4,7 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=7
+pkgrel=8
 arch=('i686' 'x86_64')
 url=https://code.google.com/p/snes9x-gtk/;
 license=('custom')
@@ -11,13 +11,15 @@
 makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
  'desktop-file-utils' 'gnome-icon-theme')
 source=(http://snes9x-gtk.googlecode.com/files/${pkgbase}-${pkgver}-src.tar.bz2
-snes9x-gtk2.24.diff.gz)
+snes9x-gtk2.24.diff.gz snes9x-fix-crash.patch)
 sha1sums=('57be6480369f66b9aaaeb722789ce114f58ed1e2'
-  '680dbe0a70f1821bc7931539e72f5a1a95e3938c')
+  '680dbe0a70f1821bc7931539e72f5a1a95e3938c'
+  '995495c68ffc00d8266d10a7bd8fc74fb6c147b1')
 
 prepare() {
   cd ${pkgbase}-${pkgver}-src
   patch -p1 -i ${srcdir}/snes9x-gtk2.24.diff
+  patch -p1 -i ${srcdir}/snes9x-fix-crash.patch
 }
 
 build() {

Added: snes9x-fix-crash.patch
===
--- snes9x-fix-crash.patch  (rev 0)
+++ snes9x-fix-crash.patch  2014-05-24 20:52:11 UTC (rev 111794)
@@ -0,0 +1,30 @@
+From 6d74746342a73cf65db215f4fdecdfb0cae66792 Mon Sep 17 00:00:00 2001
+From: Brandon Wright bear...@gmail.com
+Date: Mon, 10 Feb 2014 16:28:05 -0600
+Subject: [PATCH] Fix bug caused by virtual directories.
+
+---
+ gtk/src/gtk_file.cpp | 7 +--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/gtk/src/gtk_file.cpp b/gtk/src/gtk_file.cpp
+index a0df75d..9c0e000 100644
+--- a/gtk/src/gtk_file.cpp
 b/gtk/src/gtk_file.cpp
+@@ -465,8 +465,11 @@ S9xOpenROMDialog (void)
+ filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
+ directory =
+ gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (dialog));
+-strncpy (gui_config-last_directory, directory, PATH_MAX);
+-g_free (directory);
++if (directory)
++{
++strncpy (gui_config-last_directory, directory, PATH_MAX);
++g_free (directory);
++}
+ }
+ 
+ else
+-- 
+1.9.3
+



[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2014-03-20 Thread Eric Bélanger
Date: Thursday, March 20, 2014 @ 20:08:47
  Author: eric
Revision: 108000

upgpkg: snes9x 1.53-7

Rebuild to fix issue with newer mesa (close FS#39516), Clean up depends

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-20 19:00:29 UTC (rev 107999)
+++ PKGBUILD2014-03-20 19:08:47 UTC (rev 108000)
@@ -4,11 +4,11 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=6
+pkgrel=7
 arch=('i686' 'x86_64')
 url=https://code.google.com/p/snes9x-gtk/;
 license=('custom')
-makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 
'libxv' \
+makedepends=('intltool' 'nasm' 'mesa' 'libpulse'  'libpng' 'sdl' 'gtk2' 'libxv'
  'desktop-file-utils' 'gnome-icon-theme')
 source=(http://snes9x-gtk.googlecode.com/files/${pkgbase}-${pkgver}-src.tar.bz2
 snes9x-gtk2.24.diff.gz)
@@ -32,7 +32,7 @@
 
 package_snes9x() {
   pkgdesc=A portable Emulator for the Super Nintendo Entertainment System
-  depends=('gcc-libs' 'libpng' 'libxext' 'libsm')
+  depends=('libpng' 'libxext' 'libsm')
 
   cd ${pkgbase}-${pkgver}-src/unix
   install -D -m755 snes9x ${pkgdir}/usr/bin/snes9x
@@ -46,7 +46,7 @@
 package_snes9x-gtk() {
   pkgdesc=A portable Emulator for the Super Nintendo Entertainment System - 
GTK version
   license=('custom' 'LGPL')
-  depends=('sdl' 'libgl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 
'gnome-icon-theme')
+  depends=('sdl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 
'gnome-icon-theme')
   install=snes9x-gtk.install
 
   cd ${pkgbase}-${pkgver}-src/gtk



[arch-commits] Commit in snes9x/trunk (PKGBUILD)

2013-04-28 Thread Eric Bélanger
Date: Sunday, April 28, 2013 @ 08:02:28
  Author: eric
Revision: 89217

upgpkg: snes9x 1.53-6

Rebuild against libpng 1.6

Modified:
  snes9x/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-28 05:46:33 UTC (rev 89216)
+++ PKGBUILD2013-04-28 06:02:28 UTC (rev 89217)
@@ -4,7 +4,7 @@
 pkgbase=snes9x
 pkgname=('snes9x' 'snes9x-gtk')
 pkgver=1.53
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
 url=https://code.google.com/p/snes9x-gtk/;
 license=('custom')
@@ -15,14 +15,17 @@
 sha1sums=('57be6480369f66b9aaaeb722789ce114f58ed1e2'
   '680dbe0a70f1821bc7931539e72f5a1a95e3938c')
 
+prepare() {
+  cd ${pkgbase}-${pkgver}-src
+  patch -p1 -i ${srcdir}/snes9x-gtk2.24.diff
+}
+
 build() {
-  cd ${srcdir}/${pkgbase}-${pkgver}-src
-  patch -p1 -i ${srcdir}/snes9x-gtk2.24.diff
-  cd unix
+  cd ${pkgbase}-${pkgver}-src/unix
   ./configure --prefix=/usr --with-sdd1-decomp --enable-netplay
   make
 
-  cd ${srcdir}/${pkgbase}-${pkgver}-src/gtk
+  cd ../gtk
   ./configure --prefix=/usr --with-sdd1-decomp --with-netplay --with-opengl
   make
 }
@@ -31,7 +34,7 @@
   pkgdesc=A portable Emulator for the Super Nintendo Entertainment System
   depends=('gcc-libs' 'libpng' 'libxext' 'libsm')
 
-  cd ${srcdir}/${pkgbase}-${pkgver}-src/unix
+  cd ${pkgbase}-${pkgver}-src/unix
   install -D -m755 snes9x ${pkgdir}/usr/bin/snes9x
   install -d ${pkgdir}/usr/share/doc/${pkgname}
   install -D -m644 
../docs/{snes9x.conf.default,{control-inputs,controls,snapshots}.txt} \
@@ -46,7 +49,7 @@
   depends=('sdl' 'libgl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 
'gnome-icon-theme')
   install=snes9x-gtk.install
 
-  cd ${srcdir}/${pkgbase}-${pkgver}-src/gtk
+  cd ${pkgbase}-${pkgver}-src/gtk
   make DESTDIR=${pkgdir} install
   install -d ${pkgdir}/usr/share/doc/${pkgname}
   install -D -m644 
../docs/{snes9x.conf.default,{control-inputs,controls,snapshots}.txt} \