summaryrefslogtreecommitdiff
path: root/packages/libsdl
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2005-07-23 18:13:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-23 18:13:25 +0000
commit36eed43ae79f59ea070cb85d1dc2de21c20e45b6 (patch)
treeb178f7544b9bd58ed246362127854cf0e472d5ba /packages/libsdl
parentbd84962fab15e23ad1add164618b7fda6eb5104b (diff)
Akita: Add machine definition for SDL
Diffstat (limited to 'packages/libsdl')
-rw-r--r--packages/libsdl/libsdl-qpe-1.2.7/SDL-Akita.patch37
-rw-r--r--packages/libsdl/libsdl-qpe_1.2.7.bb5
2 files changed, 40 insertions, 2 deletions
diff --git a/packages/libsdl/libsdl-qpe-1.2.7/SDL-Akita.patch b/packages/libsdl/libsdl-qpe-1.2.7/SDL-Akita.patch
new file mode 100644
index 0000000000..b47a127398
--- /dev/null
+++ b/packages/libsdl/libsdl-qpe-1.2.7/SDL-Akita.patch
@@ -0,0 +1,37 @@
+--- SDL-1.2.7/src/video/qtopia/SDL_sysvideo.cc.orig 2005-07-23 14:31:20.060123510 +0200
++++ SDL-1.2.7/src/video/qtopia/SDL_sysvideo.cc 2005-07-23 14:38:49.000000000 +0200
+@@ -109,6 +109,7 @@
+ MACHINE_SHARP_SLC760,
+ MACHINE_SHARP_SLC860,
+ MACHINE_SHARP_SL6000,
++ MACHINE_SHARP_SLC1000,
+ MACHINE_IPAQ,
+ MACHINE_MAX
+ } machine_t;
+@@ -123,6 +124,7 @@
+ { "Sharp", "SL-C760", 0 },
+ { "Sharp", "SL-C860", 0 },
+ { "Sharp", "SL-6000", 0 },
++ { "Sharp", "SL-C1000", 0 },
+ { "HP", "HP IPAQ", 0 },
+ };
+
+@@ -428,6 +430,8 @@
+ machine = MACHINE_SHARP_SLC760;
+ else if (strstr(buf, "SHARP Boxer") != NULL)
+ machine = MACHINE_SHARP_SLC860;
++ else if (strstr(buf, "SHARP Akita") != NULL)
++ machine = MACHINE_SHARP_SLC1000;
+ else if ( ODevice::inst ( )-> series ( ) == Model_iPAQ )
+ machine = MACHINE_IPAQ;
+ else
+@@ -523,7 +527,8 @@
+ machine == MACHINE_SHARP_SLC750 ||
+ machine == MACHINE_SHARP_SLC760 ||
+ machine == MACHINE_SHARP_SLC860 || // 詳しいことわからんけどとりあえず
+- machine == MACHINE_SHARP_SL6000 ) { // 詳しいことわからんけどとりあえず
++ machine == MACHINE_SHARP_SL6000 ||
++ machine == MACHINE_SHARP_SLC1000 ) { // 詳しいことわからんけどとりあえず
+ is_VGA_machine = true;
+ }else {
+ is_VGA_machine = false;
diff --git a/packages/libsdl/libsdl-qpe_1.2.7.bb b/packages/libsdl/libsdl-qpe_1.2.7.bb
index 76c47d709b..fc109fe0e5 100644
--- a/packages/libsdl/libsdl-qpe_1.2.7.bb
+++ b/packages/libsdl/libsdl-qpe_1.2.7.bb
@@ -5,7 +5,7 @@ MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
DEPENDS = "virtual/libqpe libopie2"
PROVIDES = "virtual/libsdl"
LICENSE = "LGPL"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
file://agawa-piro-mickey.patch;patch=1 \
@@ -13,7 +13,8 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
file://gcc34.patch;patch=1 \
file://mouse.patch;patch=1 \
file://kill-stdc++.patch;patch=1 \
- file://ipaq.patch;patch=1 "
+ file://ipaq.patch;patch=1 \
+ file://SDL-Akita.patch;patch=1"
S = "${WORKDIR}/SDL-${PV}"
inherit autotools