mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
move package zsnes:
- no more need, move to pkg-archive branch
This commit is contained in:
parent
08ac5dbc4c
commit
35cc32ca6b
@ -1 +0,0 @@
|
||||
i386
|
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build SDL
|
||||
$SCRIPTS/build zlib
|
||||
$SCRIPTS/build libpng
|
||||
$SCRIPTS/build $MESA
|
||||
|
||||
export HOST_CXX
|
||||
export HOST_CXXFLAGS
|
||||
|
||||
cd $PKG_BUILD/src
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-release \
|
||||
--enable-debug \
|
||||
--disable-debugger \
|
||||
--disable-cpucheck force_arch=$TARGET_ARCH \
|
||||
--enable-opengl \
|
||||
--with-opengl-prefix=$SYSROOT_PREFIX/usr \
|
||||
--enable-jma \
|
||||
--enable-libpng \
|
||||
--with-libpng-prefix=$SYSROOT_PREFIX/usr \
|
||||
--with-x \
|
||||
|
||||
make
|
@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install SDL
|
||||
$SCRIPTS/install zlib
|
||||
$SCRIPTS/install libpng
|
||||
$SCRIPTS/install $MESA
|
||||
|
||||
mkdir -p $INSTALL/etc/zsnes
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/src/zsnesd $INSTALL/usr/bin
|
||||
|
||||
#mkdir -p $INSTALL/usr/share/applications
|
||||
#cp $PACKAGES/$1*/config/$1.desktop $INSTALL/usr/share/applications
|
||||
|
||||
#mkdir -p $INSTALL/usr/share/zsnes
|
||||
#cp $PKG_BUILD/src/icons/64x64x32.png $INSTALL/usr/share/zsnes/zsnes.png
|
@ -1,33 +0,0 @@
|
||||
--- zsnes-1.5-RC1-svn/src/configure.orig 2006-12-07 10:16:09.000000000 +0100
|
||||
+++ zsnes-1.5-RC1-svn/src/configure 2006-12-07 10:39:59.000000000 +0100
|
||||
@@ -1742,9 +1742,9 @@
|
||||
|
||||
VERSION=pre1.43
|
||||
|
||||
-CFLAGS="$CFLAGS -pipe -I. -I/usr/local/include -I/usr/include"
|
||||
+CFLAGS="$CFLAGS -pipe -I."
|
||||
|
||||
-LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"
|
||||
+LDFLAGS="$LDFLAGS"
|
||||
|
||||
ac_aux_dir=
|
||||
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
||||
@@ -4026,17 +4026,7 @@
|
||||
{ echo "$as_me:$LINENO: result: $with_zlib" >&5
|
||||
echo "${ECHO_T}$with_zlib" >&6; }
|
||||
fi
|
||||
-if test x$with_zlib = xyes; then
|
||||
- ZLIB_VERSION=$(<conf.zlibtest)
|
||||
- :
|
||||
-else
|
||||
- ZLIB_CFLAGS=""
|
||||
- ZLIB_LIBS=""
|
||||
- ZLIB_VERSION=""
|
||||
- { { echo "$as_me:$LINENO: error: zlib >= 1.2.3 is required" >&5
|
||||
-echo "$as_me: error: zlib >= 1.2.3 is required" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-fi
|
||||
+ZLIB_VERSION=1.2.3
|
||||
LIBS="$tempLIBS"
|
||||
CFLAGS="$tempCFLAGS"
|
||||
rm conf.zlibtest
|
@ -1,51 +0,0 @@
|
||||
diff -Naur zsnes_1_51b/src/Makefile.in zsnes_1_51ba/src/Makefile.in
|
||||
--- zsnes_1_51b/src/Makefile.in 2007-01-24 21:54:12.000000000 +0100
|
||||
+++ zsnes_1_51ba/src/Makefile.in 2009-01-06 18:04:23.000000000 +0100
|
||||
@@ -104,32 +104,36 @@
|
||||
rm -f version.o
|
||||
|
||||
$(PSR): parsegen.cpp
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $< -lz
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $< -lz
|
||||
|
||||
TOOLSEXE=$(TOOL_D)/archopt $(TOOL_D)/cutrtype $(TOOL_D)/extraext\
|
||||
$(TOOL_D)/macroll $(TOOL_D)/minwhite $(TOOL_D)/nreplace\
|
||||
$(TOOL_D)/sec-test $(TOOL_D)/srccount $(TOOL_D)/varrep
|
||||
tools: $(TOOLSEXE) $(TOOL_D)/depbuild
|
||||
+$(TOOL_D)/fileutil.o: $(TOOL_D)/fileutil.cpp
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ -c $<
|
||||
+$(TOOL_D)/strutil.o: $(TOOL_D)/strutil.cpp
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ -c $<
|
||||
$(TOOL_D)/archopt: $(TOOL_D)/archopt.c
|
||||
- @CC@ @CFLAGS@ -m32 -o $@ $@.c
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -m32 -o $@ $@.c
|
||||
$(TOOL_D)/cutrtype: $(TOOL_D)/cutrtype.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
$(TOOL_D)/depbuild: $(TOOL_D)/depbuild.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
$(TOOL_D)/extraext: $(TOOL_D)/extraext.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
$(TOOL_D)/macroll: $(TOOL_D)/macroll.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
$(TOOL_D)/minwhite: $(TOOL_D)/minwhite.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
$(TOOL_D)/nreplace: $(TOOL_D)/nreplace.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
$(TOOL_D)/sec-test: $(TOOL_D)/sec-test.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
$(TOOL_D)/srccount: $(TOOL_D)/srccount.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_D)/fileutil.o
|
||||
$(TOOL_D)/varrep: $(TOOL_D)/varrep.cpp $(TOOL_O)
|
||||
- @CXX@ @CXXFLAGS@ -o $@ $@.cpp $(TOOL_O)
|
||||
+ $(HOST_CXX) $(HOST_CXXFLAGS) -o $@ $@.cpp $(TOOL_O)
|
||||
|
||||
include makefile.dep
|
||||
makefile.dep: $(TOOL_D)/depbuild Makefile
|
@ -1,11 +0,0 @@
|
||||
diff -Naur zsnes-1.5-RC1-svn.orig/src/mmlib/linux.c zsnes-1.5-RC1-svn/src/mmlib/linux.c
|
||||
--- zsnes-1.5-RC1-svn.orig/src/mmlib/linux.c 2006-12-01 13:21:42.000000000 +0100
|
||||
+++ zsnes-1.5-RC1-svn/src/mmlib/linux.c 2006-12-13 20:08:12.000000000 +0100
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
+#include <linux/joystick.h>
|
||||
#include <linux/input.h> /* evdev interface... */
|
||||
|
||||
#define test_bit(array, bit) (array[bit/8] & (1<<(bit%8)))
|
@ -1,11 +0,0 @@
|
||||
diff -Naur zsnes-1.5-RC1-svn.orig/src/zpath.c zsnes-1.5-RC1-svn/src/zpath.c
|
||||
--- zsnes-1.5-RC1-svn.orig/src/zpath.c 2006-12-01 13:22:21.000000000 +0100
|
||||
+++ zsnes-1.5-RC1-svn/src/zpath.c 2006-12-13 20:36:29.000000000 +0100
|
||||
@@ -99,6 +99,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
+ ZStartPath = strdup ("/etc/zsnes/");
|
||||
ZCfgPath = ZStartPath;
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
sed -i -e "s:return(string(string(\"gcc \")+cflags+(\" -o \")+obj+string(\" -c \")+c));:return(string(string(\"$TARGET_CC \")+cflags+(\" -o \")+obj+string(\" -c \")+c));:" $PKG_BUILD/src/parsegen.cpp
|
@ -1 +0,0 @@
|
||||
http://zsnes.sf.net/zsnes151bsrc.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user