aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-08 19:05:05 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-08 19:19:21 +0000
commit1f2f03c6c269ab336a6b8c908bcca8bc88194703 (patch)
treed693e2407bebccff64284b3630c84f422a15e920 /classes
parentdc82bf0e52b07a0767b6bf253852278c473ea248 (diff)
downloadmeta-opie-1f2f03c6c269ab336a6b8c908bcca8bc88194703.tar.gz
meta-opie-1f2f03c6c269ab336a6b8c908bcca8bc88194703.tar.bz2
meta-opie-1f2f03c6c269ab336a6b8c908bcca8bc88194703.zip
classes: add palmtop-defs.bbclass
The Opie-related definitions are about to be removed from bitbake.conf in OE-Core, so create a palmtop-defs.bbclass which can be used to hold these and make every recipe that refers to any of these definitions inherit it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/opie_i18n.bbclass2
-rw-r--r--classes/palmtop-defs.bbclass9
-rw-r--r--classes/palmtop.bbclass2
-rw-r--r--classes/sdl.bbclass2
4 files changed, 14 insertions, 1 deletions
diff --git a/classes/opie_i18n.bbclass b/classes/opie_i18n.bbclass
index 259add6..121533f 100644
--- a/classes/opie_i18n.bbclass
+++ b/classes/opie_i18n.bbclass
@@ -8,6 +8,8 @@
# Todo:
#
+inherit palmtop-defs
+
I18N_STATS = "1"
SRC_URI += "${OPIE_GIT};protocol=git;subpath=i18n"
DEPENDS += "opie-i18n"
diff --git a/classes/palmtop-defs.bbclass b/classes/palmtop-defs.bbclass
new file mode 100644
index 0000000..47c9670
--- /dev/null
+++ b/classes/palmtop-defs.bbclass
@@ -0,0 +1,9 @@
+# Sets basic definitions for QPE/Opie applications
+# (These values were formerly in bitbake.conf in OE-Core)
+
+export QTDIR = "${STAGING_DIR_HOST}/qt2"
+export QPEDIR = "${STAGING_DIR_HOST}"
+export OPIEDIR = "${STAGING_DIR_HOST}"
+export palmtopdir = "${libdir}/opie"
+export palmqtdir = "${palmtopdir}"
+
diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass
index 932e917..059a058 100644
--- a/classes/palmtop.bbclass
+++ b/classes/palmtop.bbclass
@@ -7,7 +7,7 @@
# inherit opie if you want to build programs against libopie2
# don't override EXTRA_QMAKEVARS_POST, if you use inherit this class
-inherit qmake
+inherit qmake palmtop-defs
# special case for DISTRO = sharprom
CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++"
diff --git a/classes/sdl.bbclass b/classes/sdl.bbclass
index dc4cd8f..d3c1689 100644
--- a/classes/sdl.bbclass
+++ b/classes/sdl.bbclass
@@ -2,6 +2,8 @@
# (C) Michael 'Mickey' Lauer <mickey@Vanille.de>
#
+inherit palmtop-defs
+
DEPENDS += "virtual/libsdl libsdl-mixer libsdl-image"
APPDESKTOP ?= "${WORKDIR}/${PN}.desktop"