diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/snes9x/PKGBUILD | 57 | ||||
-rw-r--r-- | abs/extra/snes9x/__changelog | 2 | ||||
-rw-r--r-- | abs/extra/snes9x/snes9x-gtk2.24.diff.gz | bin | 0 -> 46504 bytes |
3 files changed, 34 insertions, 25 deletions
diff --git a/abs/extra/snes9x/PKGBUILD b/abs/extra/snes9x/PKGBUILD index 1b10fe0..68b8032 100644 --- a/abs/extra/snes9x/PKGBUILD +++ b/abs/extra/snes9x/PKGBUILD @@ -1,49 +1,56 @@ -# $Id: PKGBUILD,v 1.13 2007/06/19 02:12:51 Snowman Exp $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Marcel Wysocki <maci@satgnu.net> +# $Id: PKGBUILD 78959 2012-10-28 04:11:03Z ebelanger $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgbase=snes9x pkgname=('snes9x' 'snes9x-gtk') -pkgver=1.52 -pkgrel=2 +pkgver=1.53 +pkgrel=5 arch=('i686' 'x86_64') -url="http://www.snes9x.com" +url="https://code.google.com/p/snes9x-gtk/" license=('custom') -depends=('zlib' 'libpng' 'sdl' 'alsa-lib' 'libglade' 'libxv') -makedepends=('intltool' 'nasm' 'mesa') -source=(http://snes9x-gtk.googlecode.com/files/${pkgbase}-${pkgver}-src.tar.bz2) -md5sums=('813bd3a0f99732ee0238a2c8ab417725') -sha1sums=('fb3957b68fcede882518516094a73ec5bbed76cf') +makedepends=('intltool' 'nasm' 'mesa' 'libpng' 'sdl' 'gtk2' 'libxv' \ + 'desktop-file-utils' ) +source=(http://snes9x-gtk.googlecode.com/files/${pkgbase}-${pkgver}-src.tar.bz2 + snes9x-gtk2.24.diff.gz) +sha1sums=('57be6480369f66b9aaaeb722789ce114f58ed1e2' + '680dbe0a70f1821bc7931539e72f5a1a95e3938c') build() { - cd "${srcdir}/${pkgbase}-${pkgver}-src/unix" - ./configure --prefix=/usr --with-sdd1-decomp --enable-netplay || return 1 - make || return 1 + cd "${srcdir}/${pkgbase}-${pkgver}-src" + patch -p1 -i "${srcdir}/snes9x-gtk2.24.diff" + cd unix + ./configure --prefix=/usr --with-sdd1-decomp --enable-netplay + make cd "${srcdir}/${pkgbase}-${pkgver}-src/gtk" - ./configure --prefix=/usr --with-sdd1-decomp --with-netplay --with-opengl || return 1 - make || return 1 + ./configure --prefix=/usr --with-sdd1-decomp --with-netplay --with-opengl + make } package_snes9x() { - pkgdesc="A portable Emulator for the Super Nintento Entertainment System" - depends=('zlib' 'gcc-libs' 'libpng' 'libxext' 'libsm') + pkgdesc="A portable Emulator for the Super Nintendo Entertainment System" + depends=('gcc-libs' 'libpng' 'libxext' 'libsm') cd "${srcdir}/${pkgbase}-${pkgver}-src/unix" - install -D -m755 snes9x "${pkgdir}/usr/bin/snes9x" || return 1 + 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}-src/docs/snes9x-license.txt" \ - "${pkgdir}/usr/share/licenses/snes9x/LICENSE" + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } package_snes9x-gtk() { - pkgdesc="A portable Emulator for the Super Nintento Entertainment System - GTK version" + pkgdesc="A portable Emulator for the Super Nintendo Entertainment System - GTK version" license=('custom' 'LGPL') - depends=('sdl' 'libgl' 'alsa-lib' 'libglade' 'libxv') + depends=('sdl' 'libgl' 'libpulse' 'gtk2' 'libxv' 'desktop-file-utils' 'gnome-icon-theme') install=snes9x-gtk.install cd "${srcdir}/${pkgbase}-${pkgver}-src/gtk" - make DESTDIR="${pkgdir}" install || return 1 + 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}-src/docs/snes9x-license.txt" \ - "${pkgdir}/usr/share/licenses/snes9x-gtk/LICENSE" + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/abs/extra/snes9x/__changelog b/abs/extra/snes9x/__changelog new file mode 100644 index 0000000..7d30ed4 --- /dev/null +++ b/abs/extra/snes9x/__changelog @@ -0,0 +1,2 @@ +removed libpulse +remove gnome-icon-theme diff --git a/abs/extra/snes9x/snes9x-gtk2.24.diff.gz b/abs/extra/snes9x/snes9x-gtk2.24.diff.gz Binary files differnew file mode 100644 index 0000000..f8e86d7 --- /dev/null +++ b/abs/extra/snes9x/snes9x-gtk2.24.diff.gz |