Date: Tuesday, December 22, 2020 @ 14:19:09
  Author: arodseth
Revision: 782007

Use GTK 3

Modified:
  fceux/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-12-22 14:14:56 UTC (rev 782006)
+++ PKGBUILD    2020-12-22 14:19:09 UTC (rev 782007)
@@ -1,17 +1,18 @@
-# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
+# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org>
 # Contriutor: Eric Belanger <e...@archlinux.org>
 # Contributor: Jo Christian Bergskås <jcb...@gmail.com>
 
 pkgname=fceux
 pkgver=2.2.3
-pkgrel=4
-url='http://www.fceux.com/'
+pkgrel=5
+url='https://fceux.com/'
 pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
-arch=('x86_64')
-license=('GPL')
-depends=('sdl' 'gtk2' 'gd')
-makedepends=('scons' 'mesa-libgl' 'glu')
-source=("https://downloads.sourceforge.net/project/fceultra/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz";
 scons-python3.patch)
+arch=(x86_64)
+license=(GPL)
+depends=(gd gtk3 sdl)
+makedepends=(glu mesa-libgl scons)
+source=("https://downloads.sourceforge.net/project/fceultra/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz";
+        scons-python3.patch)
 sha256sums=('4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e'
             'ba1828375e00b4a2076311f5ee1802a42d52eb1ef93b358a45459d475c55e6b9')
 
@@ -21,25 +22,25 @@
 }
 
 build() {
-  scons -C "$pkgname-$pkgver"
+  scons -C $pkgname-$pkgver RELEASE=1 GTK3=1 GTK=0
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
-  scons install -i --prefix="$pkgdir/usr"
+  scons install -i --prefix="$pkgdir/usr" RELEASE=1 GTK3=1 GTK=0
 
+  # documentation
   install -d "$pkgdir/usr/share/doc/$pkgname"
   cp -r documentation/* "$pkgdir/usr/share/doc/$pkgname/"
   install -Dm644 changelog.txt "$pkgdir/usr/share/doc/$pkgname/"
 
-  # desktop shortcut
+  # desktop shortcut and icon
   install -Dm644 "$pkgname.desktop" \
     "$pkgdir/usr/share/applications/$pkgname.desktop"
   install -Dm644 "$pkgname.png" \
     "$pkgdir/usr/share/pixmaps/$pkgname.png"
 
+  # clean up DLL files
   rm -f "$pkgdir/usr/share/$pkgname/"*.dll
 }
-
-# vim:set ts=2 sw=2 et:

Reply via email to