aboutsummaryrefslogtreecommitdiff
path: root/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'emulation')
-rw-r--r--emulation/aqemu/aqemu-0.8.2-install.patch.xzbin0 -> 17236 bytes
-rw-r--r--emulation/aqemu/aqemu-20120131-install.patch.xzbin0 -> 17196 bytes
-rwxr-xr-xemulation/aqemu/aqemu.build61
-rw-r--r--emulation/dgen/dgen-sdl-1.32-desktop.patch.xzbin0 -> 2984 bytes
-rwxr-xr-xemulation/dgen/dgen.build65
-rw-r--r--emulation/dolphin/dolphin-3.5-desktop.patch.xzbin0 -> 25492 bytes
-rwxr-xr-xemulation/dolphin/dolphin.build58
-rw-r--r--emulation/dosbox/dosbox-0.74-gcc46.patch.xzbin0 -> 268 bytes
-rwxr-xr-xemulation/dosbox/dosbox.build68
-rw-r--r--emulation/hatari/hatari-1.6.2-desktop.patch.xzbin0 -> 356 bytes
-rwxr-xr-xemulation/hatari/hatari.build68
-rw-r--r--emulation/mednafen/mednafen-0.9.28-wip-desktop.patch.xzbin0 -> 1396 bytes
-rwxr-xr-xemulation/mednafen/mednafen.build70
-rw-r--r--emulation/qemu/qemu-1.5.0-kvmrule.patch.xzbin0 -> 220 bytes
-rw-r--r--emulation/qemu/qemu-1.5.0-nodebugffs.patch.xzbin0 -> 344 bytes
-rwxr-xr-xemulation/qemu/qemu.build75
-rw-r--r--emulation/snes9x_gtk/snes9x-20130503-desktop.patch.xzbin0 -> 460 bytes
-rwxr-xr-xemulation/snes9x_gtk/snes9x_gtk.build65
18 files changed, 530 insertions, 0 deletions
diff --git a/emulation/aqemu/aqemu-0.8.2-install.patch.xz b/emulation/aqemu/aqemu-0.8.2-install.patch.xz
new file mode 100644
index 0000000..26ebe6e
--- /dev/null
+++ b/emulation/aqemu/aqemu-0.8.2-install.patch.xz
Binary files differ
diff --git a/emulation/aqemu/aqemu-20120131-install.patch.xz b/emulation/aqemu/aqemu-20120131-install.patch.xz
new file mode 100644
index 0000000..fcb1422
--- /dev/null
+++ b/emulation/aqemu/aqemu-20120131-install.patch.xz
Binary files differ
diff --git a/emulation/aqemu/aqemu.build b/emulation/aqemu/aqemu.build
new file mode 100755
index 0000000..b874036
--- /dev/null
+++ b/emulation/aqemu/aqemu.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=aqemu
+VERSION=20120131
+BUILD=1
+DEPENDS=('qt >= 4.7.4-1' 'libvnc >= 0.9.8.2-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: aqemu
+${NAME}:
+${NAME}: A graphical user interface for the QEMU/KVM emulator with a friendly
+${NAME}: interface that allows to set up the majority of QEMU/KVM options.
+${NAME}:
+${NAME}: Homepage: http://sourceforge.net/projects/aqemu
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+cmake \
+ -DCMAKE_C_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
+ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+ -DINSTALL_MAN_DIR:STRING="/usr/man" \
+ -DINSTALL_MAN:BOOL="on" \
+ -DWITHOUT_EMBEDDED_DISPLAY:BOOL="on" \
+ -DMAN_PAGE_COMPRESSOR:STRING="off" \
+ -DDEBUG:BOOL="off" \
+.
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog CHANGELOG
+rm -rf ${PKG}/usr/share/doc
+}
diff --git a/emulation/dgen/dgen-sdl-1.32-desktop.patch.xz b/emulation/dgen/dgen-sdl-1.32-desktop.patch.xz
new file mode 100644
index 0000000..5978e25
--- /dev/null
+++ b/emulation/dgen/dgen-sdl-1.32-desktop.patch.xz
Binary files differ
diff --git a/emulation/dgen/dgen.build b/emulation/dgen/dgen.build
new file mode 100755
index 0000000..a0a7976
--- /dev/null
+++ b/emulation/dgen/dgen.build
@@ -0,0 +1,65 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=dgen
+VERSION=1.32
+BUILD=1
+DEPENDS=('sdl >= 1.2.15-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: dgen (sega genesis emulator)
+${NAME}:
+${NAME}: An emulator for Sega Genesis/Megadrive systems.
+${NAME}:
+${NAME}: Homepage: http://sourceforge.net/projects/dgen
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}-sdl
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/dgen/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="BSD3"
+
+build0()
+{
+CPPFLAGS="-I${SYS_DIR[include]}/archive" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-debug=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS sample.dgenrc
+changelog ChangeLog
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat dgen.desktop ${PKG}${SYS_DIR[share]}/applications
+install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps
+install.dat dgen.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps
+}
diff --git a/emulation/dolphin/dolphin-3.5-desktop.patch.xz b/emulation/dolphin/dolphin-3.5-desktop.patch.xz
new file mode 100644
index 0000000..fa11fb7
--- /dev/null
+++ b/emulation/dolphin/dolphin-3.5-desktop.patch.xz
Binary files differ
diff --git a/emulation/dolphin/dolphin.build b/emulation/dolphin/dolphin.build
new file mode 100755
index 0000000..1faa28f
--- /dev/null
+++ b/emulation/dolphin/dolphin.build
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=dolphin
+VERSION=3.5
+BUILD=1
+DEPENDS=('wxgtk >= 2.8.12-1' 'cg_toolkit >= 3.1-1' 'ffmpeg >= 0.10.3-1' 'bluetooth >= 4.101-1' 'sound >= 1.0.26-1' 'libopenal >= 1.13-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: dolphin (Nintendo Wii & Gamecube emulator)
+${NAME}:
+${NAME}: A Wii and Gamecube emulator which runs most games perfectly or with
+${NAME}: minor bugs. Games are playable at HD quality, up to 1080p. This is a
+${NAME}: remarkable feature the actual Wii or Gamecube consoles are not
+${NAME}: capable of.
+${NAME}:
+${NAME}: Homepage: http://code.google.com/p/dolphin-emu
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}-src.zip
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+cmake \
+ -DCMAKE_C_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
+ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+ -Ddatadir:STRING="${SYS_DIR[share]}/application-data/dolphin" \
+.
+make ${JOBS}
+make install DESTDIR="${PKG}"
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat dolphin.desktop ${PKG}${SYS_DIR[share]}/applications
+install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps
+install.dat dolphin.png ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps
+}
diff --git a/emulation/dosbox/dosbox-0.74-gcc46.patch.xz b/emulation/dosbox/dosbox-0.74-gcc46.patch.xz
new file mode 100644
index 0000000..c7d548b
--- /dev/null
+++ b/emulation/dosbox/dosbox-0.74-gcc46.patch.xz
Binary files differ
diff --git a/emulation/dosbox/dosbox.build b/emulation/dosbox/dosbox.build
new file mode 100755
index 0000000..3370862
--- /dev/null
+++ b/emulation/dosbox/dosbox.build
@@ -0,0 +1,68 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=dosbox
+VERSION=0.74
+BUILD=2
+DEPENDS=('sdl >= 1.2.15-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: DOSBox (DOS emulator)
+${NAME}:
+${NAME}: DOSBox is a DOS emulator using SDL that emulates a 286/386 realmode
+${NAME}: CPU, directory file system, EMS/XMS and a SoundBlaster card for
+${NAME}: excellent sound compatibility with older games. You can re-live the
+${NAME}: "good old days" with the help of DOSBox as it can run plenty of
+${NAME}: classics that don't run on your new computer.
+${NAME}:
+${NAME}: Homepage: http://www.dosbox.com
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+}
+
+SRCNAME[1]=${NAME}
+SRCVERS[1]=desktop
+SRCPACK[1]=${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+SRCOPTS[1]="pkgunpack"
+
+build1()
+{
+ echo "Nothing to do here!"
+}
diff --git a/emulation/hatari/hatari-1.6.2-desktop.patch.xz b/emulation/hatari/hatari-1.6.2-desktop.patch.xz
new file mode 100644
index 0000000..553c343
--- /dev/null
+++ b/emulation/hatari/hatari-1.6.2-desktop.patch.xz
Binary files differ
diff --git a/emulation/hatari/hatari.build b/emulation/hatari/hatari.build
new file mode 100755
index 0000000..c00b589
--- /dev/null
+++ b/emulation/hatari/hatari.build
@@ -0,0 +1,68 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=hatari
+VERSION=1.6.2
+BUILD=1
+DEPENDS=('sdl >= 1.2.15-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: hatari (Atari emulator)
+${NAME}:
+${NAME}: Hatari is an emulator for the Atari ST, STE, TT and Falcon computers.
+${NAME}: The Atari ST was a 16/32 bit computer system which was first released
+${NAME}: by Atari in 1985. Using the Motorola 68000 CPU, it was a very popular
+${NAME}: computer that had quite a lot of CPU power at that time. Hatari was
+${NAME}: started as a port of the free Windows emulator WinSTon which uses
+${NAME}: UAE's CPU core. It tries to emulate the hardware as closely as
+${NAME}: possible.
+${NAME}:
+${NAME}: Homepage: http://hatari.tuxfamily.org
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://download.tuxfamily.org/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|share/hatari|share/application-data/hatari|g' CMakeLists.txt
+cmake \
+ -DCMAKE_C_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
+ -DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \
+ -DDOCDIR:STRING="share/html/hatari" \
+.
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc doc/{authors,keymap-sample}.txt
+changelog doc/release-notes.txt
+install.dat hatari.desktop ${PKG}${SYS_DIR[share]}/applications
+mv \
+ ${PKG}${SYS_DIR[share]}/icons/hicolor/32x32/apps/hatari-icon.png \
+ ${PKG}${SYS_DIR[share]}/icons/hicolor/32x32/apps/hatari.png
+gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz
+rm -rf \
+ ${PKG}${SYS_DIR[html]}/hatari/*.txt \
+ ${PKG}${SYS_DIR[bin]}/hatariui \
+ ${PKG}${SYS_DIR[man]}/man1/hatariui.1 \
+ ${PKG}${SYS_DIR[share]}/applications/hatariui.desktop \
+ ${PKG}${SYS_DIR[share]}/application-data/hatari/{hatariui,hconsole}
+}
diff --git a/emulation/mednafen/mednafen-0.9.28-wip-desktop.patch.xz b/emulation/mednafen/mednafen-0.9.28-wip-desktop.patch.xz
new file mode 100644
index 0000000..36a1885
--- /dev/null
+++ b/emulation/mednafen/mednafen-0.9.28-wip-desktop.patch.xz
Binary files differ
diff --git a/emulation/mednafen/mednafen.build b/emulation/mednafen/mednafen.build
new file mode 100755
index 0000000..374c620
--- /dev/null
+++ b/emulation/mednafen/mednafen.build
@@ -0,0 +1,70 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=mednafen
+VERSION=0.9.28
+BUILD=1
+DEPENDS=('sdl >= 1.2.15-1' 'libsndfile >= 1.0.25-1' 'libcdio >= 0.83-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: mednafen (multi-system emulator)
+${NAME}:
+${NAME}: Mednafen is a multi-game-system emulator, for various platforms,
+${NAME}: including emulation of the following systems:
+${NAME}:
+${NAME}: Atari Lynx, Famicom, GameBoy (Color), GameBoy Advance, Neo Geo
+${NAME}: Pocket (Color), NES (both NTSC and PAL), PC Engine/TurboGrafx 16
+${NAME}: (CD) and SuperGrafx, PC-FX and WonderSwan (Color).
+${NAME}:
+${NAME}: Homepage: http://mednafen.sourceforge.net
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}-wip
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/Mednafen/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCROOT[0]=${SRCNAME[0]}
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS%-ffast-math} -fpermissive" CXXFLAGS="${FLAGS%-ffast-math} -fpermissive" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --enable-threads=posix
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+install.dir ${PKG}${SYS_DIR[html]}/${SRCNAME[0]}
+install.doc Documentation/*.html ${PKG}${SYS_DIR[html]}/${SRCNAME[0]}
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat mednafen.desktop ${PKG}${SYS_DIR[share]}/applications
+install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps
+install.dat mednafen.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps
+}
diff --git a/emulation/qemu/qemu-1.5.0-kvmrule.patch.xz b/emulation/qemu/qemu-1.5.0-kvmrule.patch.xz
new file mode 100644
index 0000000..713b07d
--- /dev/null
+++ b/emulation/qemu/qemu-1.5.0-kvmrule.patch.xz
Binary files differ
diff --git a/emulation/qemu/qemu-1.5.0-nodebugffs.patch.xz b/emulation/qemu/qemu-1.5.0-nodebugffs.patch.xz
new file mode 100644
index 0000000..7d1237b
--- /dev/null
+++ b/emulation/qemu/qemu-1.5.0-nodebugffs.patch.xz
Binary files differ
diff --git a/emulation/qemu/qemu.build b/emulation/qemu/qemu.build
new file mode 100755
index 0000000..bf214f0
--- /dev/null
+++ b/emulation/qemu/qemu.build
@@ -0,0 +1,75 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=qemu
+VERSION=1.5.0
+BUILD=1
+DEPENDS=('glib >= 2.36.0-1' 'sdl >= 1.2.15-1' 'curl >= 7.29.0-1' 'gtk+ >= 2.24.17-1' 'vte >= 0.28.2-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: qemu
+${NAME}:
+${NAME}: QEMU is a FAST! processor emulator using dynamic translation to
+${NAME}: achieve good emulation speed. QEMU has two operating modes:
+${NAME}:
+${NAME}: * Full system emulation. In This mode, QEMU emulates a full system
+${NAME}: (for example a PC), including a processor and various peripherals.
+${NAME}:
+${NAME}: * User mode emulation (Linux host only). In this mode, QEMU can
+${NAME}: launch Linux processes compiled for one CPU on another CPU.
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+if grep "^kvm::" etc/group 1> /dev/null 2> /dev/null ; then
+ true
+else
+ echo "kvm:x:78:kvm" >> etc/group
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[savannah]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2 LGPL21 MIT"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --extra-cflags="${FLAGS}" \
+ --prefix="${SYS_DIR[usr]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --datadir="${SYS_DIR[share]}/application-data" \
+ --mandir="${SYS_DIR[man]}" \
+ --docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --audio-drv-list="alsa sdl" \
+ --enable-tcg-interpreter \
+ --disable-vnc-tls \
+ --disable-vnc-sasl \
+ --disable-xen
+doc MAINTAINERS
+changelog Changelog
+make V="1"
+make install DESTDIR="${PKG}/"
+install.dir ${PKG}${SYS_DIR[udevrules]}
+install.dat 65-kvm.rules ${PKG}${SYS_DIR[udevrules]}
+}
diff --git a/emulation/snes9x_gtk/snes9x-20130503-desktop.patch.xz b/emulation/snes9x_gtk/snes9x-20130503-desktop.patch.xz
new file mode 100644
index 0000000..13c0f0d
--- /dev/null
+++ b/emulation/snes9x_gtk/snes9x-20130503-desktop.patch.xz
Binary files differ
diff --git a/emulation/snes9x_gtk/snes9x_gtk.build b/emulation/snes9x_gtk/snes9x_gtk.build
new file mode 100755
index 0000000..ac61c4b
--- /dev/null
+++ b/emulation/snes9x_gtk/snes9x_gtk.build
@@ -0,0 +1,65 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=snes9x_gtk
+VERSION=20130503
+BUILD=1
+DEPENDS=('gtk+ >= 3.6.4-1' 'sdl >= 1.2.15-1' 'libpng >= 1.5.13-1' 'sound >= 1.0.26-1' 'libxml >= 2.9.0-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: snes9x_gtk
+${NAME}:
+${NAME}: A Super Nintendo Entertainment System (SNES) emulator. This allows
+${NAME}: you to play most games designed for the SNES and Super Famicom
+${NAME}: Nintendo game systems on your computer. This version features also
+${NAME}: a Gtk+ GUI.
+${NAME}:
+${NAME}: Homepage: http://code.google.com/p/snes9x-gtk
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=snes9x
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://snes9x-gtk.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2 LGPL21"
+
+build0()
+{
+(
+cd gtk
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --without-oss \
+ --with-gtk3
+make ${JOBS}
+make install DESTDIR="${PKG}"
+)
+doc gtk/AUTHORS docs/snes9x.conf.default
+changelog docs/changes.txt
+license docs/snes9x-license.txt
+}