zsnes: contrib -> emulators
This commit is contained in:
parent
e900c9361f
commit
bbcb7731d7
|
@ -1,23 +0,0 @@
|
|||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/zsnes
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/zsnes.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/zsnes.desktop
|
||||
drwxr-xr-x root/root usr/share/icons/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/zsnes.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/zsnes.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/zsnes.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/zsnes.png
|
|
@ -1,2 +0,0 @@
|
|||
c6f64cdfa4c7cc530bf1b01932ab9545 zsnes-1.51-gcc43.patch
|
||||
7071186bf80632ae88a153239498d8c9 zsnes151src.tar.bz2
|
|
@ -1,25 +0,0 @@
|
|||
# Description: An open-source Super Nintendo emulator.
|
||||
# URL: http://www.zsnes.com/
|
||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Packager: Simone Rota, sip at crux dot nu
|
||||
# Depends on: libpng libsdl ncurses
|
||||
|
||||
name=zsnes
|
||||
version=1.51
|
||||
release=2
|
||||
source=(http://downloads.sourceforge.net/project/zsnes/zsnes/ZSNES%20v$version/$name${version/./}src.tar.bz2
|
||||
zsnes-1.51-gcc43.patch)
|
||||
|
||||
build() {
|
||||
cd zsnes_${version/./_}/src
|
||||
patch -d ../ -p 1 -i $SRC/zsnes-1.51-gcc43.patch
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
install -D -m 0755 zsnes $PKG/usr/bin/zsnes
|
||||
install -D -m 0644 linux/zsnes.1 $PKG/usr/man/man1/zsnes.1
|
||||
install -D -m 0644 linux/zsnes.desktop $PKG/usr/share/applications/zsnes.desktop
|
||||
install -D -m 0644 icons/16x16x32.png $PKG/usr/share/icons/hicolor/16x16/apps/zsnes.png
|
||||
install -D -m 0644 icons/32x32x32.png $PKG/usr/share/icons/hicolor/32x32/apps/zsnes.png
|
||||
install -D -m 0644 icons/48x48x32.png $PKG/usr/share/icons/hicolor/48x48/apps/zsnes.png
|
||||
install -D -m 0644 icons/64x64x32.png $PKG/usr/share/icons/hicolor/64x64/apps/zsnes.png
|
||||
}
|
|
@ -1,51 +0,0 @@
|
|||
diff -pruN zsnes_1_51.orig/src/parsegen.cpp zsnes_1_51/src/parsegen.cpp
|
||||
--- zsnes_1_51.orig/src/parsegen.cpp 2008-12-29 11:14:50.415894893 +0000
|
||||
+++ zsnes_1_51/src/parsegen.cpp 2008-12-29 11:16:04.956025228 +0000
|
||||
@@ -31,6 +31,7 @@ Config file handler creator by Nach (C)
|
||||
#include <sstream>
|
||||
#include <set>
|
||||
#include <stack>
|
||||
+#include <cstring>
|
||||
using namespace std;
|
||||
|
||||
#include <errno.h>
|
||||
@@ -1822,7 +1823,7 @@ void parser_generate(istream& psr_stream
|
||||
}
|
||||
}
|
||||
|
||||
-int main(size_t argc, const char *const *const argv)
|
||||
+int main(int argc, const char *const *const argv)
|
||||
{
|
||||
const char *cheader_file = 0;
|
||||
bool compile = false;
|
||||
diff -pruN zsnes_1_51.orig/src/tools/depbuild.cpp zsnes_1_51/src/tools/depbuild.cpp
|
||||
--- zsnes_1_51.orig/src/tools/depbuild.cpp 2008-12-29 11:14:50.431894945 +0000
|
||||
+++ zsnes_1_51/src/tools/depbuild.cpp 2008-12-29 11:16:04.956025228 +0000
|
||||
@@ -24,6 +24,7 @@ This program generates dependencies for
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
using namespace std;
|
||||
|
||||
#include "fileutil.h"
|
||||
@@ -183,7 +184,7 @@ void dependency_calculate(const char *fi
|
||||
}
|
||||
}
|
||||
|
||||
-int main(size_t argc, const char *const *const argv)
|
||||
+int main(int argc, const char *const *const argv)
|
||||
{
|
||||
if (argc < 5)
|
||||
{
|
||||
diff -pruN zsnes_1_51.orig/src/tools/strutil.h zsnes_1_51/src/tools/strutil.h
|
||||
--- zsnes_1_51.orig/src/tools/strutil.h 2008-12-29 11:14:50.431894945 +0000
|
||||
+++ zsnes_1_51/src/tools/strutil.h 2008-12-29 11:16:04.956025228 +0000
|
||||
@@ -25,6 +25,7 @@ This is part of a toolkit used to assist
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cctype>
|
||||
+#include <cstring>
|
||||
|
||||
struct ci_char_traits : public std::char_traits<char>
|
||||
{
|
Loading…
Reference in New Issue
Block a user