[arch-commits] Commit in snes9x/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Dec 17 14:54:15 UTC 2018
Date: Monday, December 17, 2018 @ 14:54:15
Author: alucryd
Revision: 416536
archrelease: copy trunk to community-x86_64
Added:
snes9x/repos/community-x86_64/PKGBUILD
(from rev 416535, snes9x/trunk/PKGBUILD)
Deleted:
snes9x/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 194 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 116 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-17 14:54:06 UTC (rev 416535)
+++ PKGBUILD 2018-12-17 14:54:15 UTC (rev 416536)
@@ -1,78 +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.57
-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/{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() {
- 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/{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:
Copied: snes9x/repos/community-x86_64/PKGBUILD (from rev 416535, snes9x/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-17 14:54:15 UTC (rev 416536)
@@ -0,0 +1,116 @@
+# 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:
More information about the arch-commits
mailing list