[arch-commits] Commit in snes9x/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Nov 8 23:55:27 UTC 2019
Date: Friday, November 8, 2019 @ 23:55:26
Author: anthraxx
Revision: 524744
archrelease: copy trunk to community-staging-x86_64
Added:
snes9x/repos/community-staging-x86_64/PKGBUILD
(from rev 524743, snes9x/trunk/PKGBUILD)
Deleted:
snes9x/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 246 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 123 insertions(+), 123 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-08 23:55:14 UTC (rev 524743)
+++ PKGBUILD 2019-11-08 23:55:26 UTC (rev 524744)
@@ -1,123 +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.60
-pkgrel=3
-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
-
- export CXXFLAGS="-I/usr/include/glslang"
- ./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:
Copied: snes9x/repos/community-staging-x86_64/PKGBUILD (from rev 524743, snes9x/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-08 23:55:26 UTC (rev 524744)
@@ -0,0 +1,123 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=snes9x
+pkgname=(
+ snes9x
+ snes9x-gtk
+)
+pkgver=1.60
+pkgrel=4
+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
+
+ CXXFLAGS+=" -I/usr/include/glslang"
+ ./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