[arch-commits] Commit in snes9x/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Mar 1 09:28:35 UTC 2019
Date: Friday, March 1, 2019 @ 09:28:35
Author: alucryd
Revision: 437170
archrelease: copy trunk to community-x86_64
Added:
snes9x/repos/community-x86_64/PKGBUILD
(from rev 437169, snes9x/trunk/PKGBUILD)
Deleted:
snes9x/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 238 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 122 insertions(+), 116 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-01 09:28:25 UTC (rev 437169)
+++ PKGBUILD 2019-03-01 09:28:35 UTC (rev 437170)
@@ -1,116 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgbase=snes9x
-pkgname=(snes9x snes9x-gtk)
-pkgver=1.58
-pkgrel=1
-pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
-arch=(x86_64)
-url='http://www.snes9x.com/'
-license=(custom)
-makedepends=(
- 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)
-
-prepare() {
- pushd snes9x/unix
-
- autoreconf -fiv
-
- popd
- pushd snes9x/gtk
-
- ./autogen.sh
-
- popd
-}
-
-build() {
- pushd snes9x/unix
-
- ./configure \
- --prefix='/usr' \
- --enable-netplay
- make
-
- 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/unix
-
- install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
- 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
-
-}
-
-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
- )
-
- cd snes9x/gtk
-
- 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
-}
-
-# vim: ts=2 sw=2 et:
Copied: snes9x/repos/community-x86_64/PKGBUILD (from rev 437169, snes9x/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-01 09:28:35 UTC (rev 437170)
@@ -0,0 +1,122 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=snes9x
+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/
+license=(custom)
+makedepends=(
+ alsa-lib
+ cairo
+ gdk-pixbuf2
+ git
+ glib2
+ glslang
+ gtk3
+ intltool
+ libepoxy
+ libpng
+ libpulse
+ libx11
+ libxext
+ libxml2
+ libxrandr
+ libxv
+ meson
+ minizip
+ nasm
+ portaudio
+ sdl2
+ zlib
+)
+source=(
+ git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver}
+ git+https://github.com/KhronosGroup/SPIRV-Cross.git
+)
+sha256sums=('SKIP'
+ 'SKIP')
+
+prepare() {
+ cd snes9x
+
+ for submodule in shaders/SPIRV-Cross; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../${submodule#*/}
+ git submodule update ${submodule}
+ done
+
+ cd unix
+
+ autoreconf -fiv
+}
+
+build() {
+ pushd snes9x/unix
+
+ ./configure \
+ --prefix='/usr' \
+ --enable-netplay
+ make
+
+ popd
+
+ arch-meson snes9x/gtk build
+ ninja -C build
+}
+
+package_snes9x() {
+ depends=(
+ libpng
+ libx11
+ libxext
+ libxinerama
+ libxv
+ minizip
+ zlib
+ )
+
+ cd snes9x/unix
+
+ install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
+ 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
+
+}
+
+package_snes9x-gtk() {
+ depends=(
+ alsa-lib
+ cairo
+ gdk-pixbuf2
+ glib2
+ glslang
+ gtk3
+ hicolor-icon-theme
+ libepoxy
+ libpng
+ libpulse
+ libx11
+ libxext
+ libxml2
+ libxrandr
+ libxv
+ minizip
+ portaudio
+ sdl2
+ zlib
+ )
+
+ DESTDIR="${pkgdir}" ninja -C build install
+
+ 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:
More information about the arch-commits
mailing list