[oe-commits] org.oe.dev kobodeluxe: New recipe.

thebohemian commit openembedded-commits at lists.openembedded.org
Sun Feb 10 00:49:41 UTC 2008


kobodeluxe: New recipe.

Author: thebohemian at openembedded.org
Branch: org.openembedded.dev
Revision: cf1ebf2e6e4096210bb2585926fcf2b275de2d9a
ViewMTN: http://monotone.openembedded.org/revision/info/cf1ebf2e6e4096210bb2585926fcf2b275de2d9a
Files:
1
packages/kobodeluxe
packages/kobodeluxe/files
packages/kobodeluxe/files/debian-kobo.patch
packages/kobodeluxe/kobodeluxe_0.5.1.bb
Diffs:

#
# mt diff -r5d6c298433f7c779fffa5dd4d1940cefba3b18e8 -rcf1ebf2e6e4096210bb2585926fcf2b275de2d9a
#
# 
# 
# add_dir "packages/kobodeluxe"
# 
# add_dir "packages/kobodeluxe/files"
# 
# add_file "packages/kobodeluxe/files/debian-kobo.patch"
#  content [1ccf5770a73fb5d89c2c170e9b3bceb022fb0d3a]
# 
# add_file "packages/kobodeluxe/kobodeluxe_0.5.1.bb"
#  content [6f71e3405f6607ff54f63f6cd5e55312b2cfdc58]
# 
============================================================
--- packages/kobodeluxe/files/debian-kobo.patch	1ccf5770a73fb5d89c2c170e9b3bceb022fb0d3a
+++ packages/kobodeluxe/files/debian-kobo.patch	1ccf5770a73fb5d89c2c170e9b3bceb022fb0d3a
@@ -0,0 +1,72 @@
+--- kobodeluxe-0.5.1.orig/kobo.cpp
++++ kobodeluxe-0.5.1/kobo.cpp
+@@ -141,21 +141,21 @@
+ 	 * Graphics data
+ 	 */
+ 	/* Current dir; from within the build tree */
+-	fmap->addpath("GFX", "./data/gfx");
++	//fmap->addpath("GFX", "./data/gfx");
+ 	/* Real data dir */
+ 	fmap->addpath("GFX", "DATA>>gfx");
+ 	/* Current dir */
+-	fmap->addpath("GFX", "./gfx");
++	//fmap->addpath("GFX", "./gfx");
+ 
+ 	/*
+ 	 * Sound data
+ 	 */
+ 	/* Current dir; from within the build tree */
+-	fmap->addpath("SFX", "./data/sfx");
++	//fmap->addpath("SFX", "./data/sfx");
+ 	/* Real data dir */
+ 	fmap->addpath("SFX", "DATA>>sfx");
+ 	/* Current dir */
+-	fmap->addpath("SFX", "./sfx");
++	//fmap->addpath("SFX", "./sfx");
+ 
+ 	/*
+ 	 * Score files (user and global)
+@@ -173,7 +173,7 @@
+ 	/* System local */
+ 	fmap->addpath("CONFIG", SYSCONF_DIR);
+ 	/* In current dir (last resort) */
+-	fmap->addpath("CONFIG", "./");
++	//fmap->addpath("CONFIG", "./");
+ }
+ 
+ 
+--- kobodeluxe-0.5.1.orig/graphics/window.cpp
++++ kobodeluxe-0.5.1/graphics/window.cpp
+@@ -331,7 +331,7 @@
+ }
+ 
+ 
+-void window_t::center_token(int _x, int _y, const char *txt, char token)
++void window_t::center_token(int _x, int _y, const char *txt, signed char token)
+ {
+ 	center_token_fxp(PIXEL2CS(_x), PIXEL2CS(_y), txt, token);
+ }
+@@ -374,7 +374,7 @@
+ }
+ 
+ 
+-void window_t::center_token_fxp(int _x, int _y, const char *txt, char token)
++void window_t::center_token_fxp(int _x, int _y, const char *txt, signed char token)
+ {
+ 	_x = CS2PIXEL((_x * xs + 128) >> 8);
+ 	_y = CS2PIXEL((_y * ys + 128) >> 8);
+--- kobodeluxe-0.5.1.orig/graphics/window.h
++++ kobodeluxe-0.5.1/graphics/window.h
+@@ -265,10 +265,10 @@
+ 	void font(int fnt);
+ 	void string(int _x, int _y, const char *txt);
+ 	void center(int _y, const char *txt);
+-	void center_token(int _x, int _y, const char *txt, char token = 0);
++	void center_token(int _x, int _y, const char *txt, signed char token = 0);
+ 	void string_fxp(int _x, int _y, const char *txt);
+ 	void center_fxp(int _y, const char *txt);
+-	void center_token_fxp(int _x, int _y, const char *txt, char token = 0);
++	void center_token_fxp(int _x, int _y, const char *txt, signed char token = 0);
+ 	int textwidth(const char *txt, int min = 0, int max = 255);
+ 	int textwidth_fxp(const char *txt, int min = 0, int max = 255);
+ 	int fontheight();
============================================================
--- packages/kobodeluxe/kobodeluxe_0.5.1.bb	6f71e3405f6607ff54f63f6cd5e55312b2cfdc58
+++ packages/kobodeluxe/kobodeluxe_0.5.1.bb	6f71e3405f6607ff54f63f6cd5e55312b2cfdc58
@@ -0,0 +1,26 @@
+DESCRIPTION = "Fast-paced 2D top-down shooter where you have to destroy space station"
+SECTION = "games"
+PRIORITY = "optional"
+LICENSE = "GPL"
+AUTHOR = "David Olofson <david at olofson.net>"
+HOMEPAGE = "http://olofson.net/kobodl"
+
+DEPENDS = "libsdl-image virtual/libsdl"
+
+RDEPENDS_${PN} = "${PN}-data"
+
+SRC_URI = "http://olofson.net/kobodl/download/KoboDeluxe-${PV}.tar.bz2 \
+					 file://debian-kobo.patch;patch=1 \
+          "
+
+S = "${WORKDIR}/KoboDeluxe-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-sdltest"
+
+PACKAGES += "${PN}-data"
+
+FILES_${PN}-data = "${datadir}"
+
+PACKAGE_ARCH_${PN}-data = "all"






More information about the Openembedded-commits mailing list