summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-01-13 23:28:42 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-01-13 23:28:42 +0000
commitab4f7ee8fff64fe00fc0b0be32f2faee5440b0e0 (patch)
tree3499a10f449fee2b2dcc4e1d930741572b636754 /packages
parent3e4e9f1191af0ad63acbb830e91dfc6b45e07b5c (diff)
python-efl cvs generate .edj files and ship 'em
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-edje_cvs.bb3
-rw-r--r--packages/python/python-efl-examples.bb7
-rw-r--r--packages/python/python-efl.inc8
-rw-r--r--packages/python/python-emotion_cvs.bb3
-rw-r--r--packages/python/python-epsilon_cvs.bb2
-rw-r--r--packages/python/python-evas_cvs.bb3
6 files changed, 17 insertions, 9 deletions
diff --git a/packages/python/python-edje_cvs.bb b/packages/python/python-edje_cvs.bb
index 1ca047ecef..1205e7ec84 100644
--- a/packages/python/python-edje_cvs.bb
+++ b/packages/python/python-edje_cvs.bb
@@ -1,5 +1,4 @@
require python-efl.inc
DEPENDS += "edje python-evas"
-
-PR = "r4"
+PR = "r5"
diff --git a/packages/python/python-efl-examples.bb b/packages/python/python-efl-examples.bb
index 5648033f13..0a4e32097f 100644
--- a/packages/python/python-efl-examples.bb
+++ b/packages/python/python-efl-examples.bb
@@ -1,7 +1,10 @@
DESCRIPTION = "Python Examples for the Enlightenment Foundation Libraries"
LICENSE = "MIT"
SECTION = "devel/python"
-RDEPENDS = "python-efl python-ecore-examples python-emotion-examples python-edje-examples python-epsilon-examples"
-PR = "ml1"
+RDEPENDS = "\
+ python-efl python-ecore-examples python-emotion-examples python-edje-examples python-epsilon-examples \
+ python-math python-textutils \
+"
+PR = "ml2"
ALLOW_EMPTY = "1"
diff --git a/packages/python/python-efl.inc b/packages/python/python-efl.inc
index e54cfff574..e6cc62df5e 100644
--- a/packages/python/python-efl.inc
+++ b/packages/python/python-efl.inc
@@ -15,6 +15,14 @@ S = "${WORKDIR}/${PN}"
do_install_append() {
if [ -e examples ]; then
+ for i in `find examples -name "*.edc"`; do
+ pushd `dirname $i`
+ echo "Generating .edj file for $i..."
+ edje_cc `basename $i`
+ echo "Removing sources in this directory..."
+ rm -f *.edc *.png *.ttf *.jpeg
+ popd
+ done
install -d ${D}${datadir}/${PN}/
cp -a examples ${D}${datadir}/${PN}/
find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf
diff --git a/packages/python/python-emotion_cvs.bb b/packages/python/python-emotion_cvs.bb
index 0d0ce22f54..d3f5109d86 100644
--- a/packages/python/python-emotion_cvs.bb
+++ b/packages/python/python-emotion_cvs.bb
@@ -1,4 +1,3 @@
require python-efl.inc
DEPENDS += "emotion python-evas"
-
-PR = "r3"
+PR = "r4"
diff --git a/packages/python/python-epsilon_cvs.bb b/packages/python/python-epsilon_cvs.bb
index 1e77886691..204dd95610 100644
--- a/packages/python/python-epsilon_cvs.bb
+++ b/packages/python/python-epsilon_cvs.bb
@@ -1,3 +1,3 @@
require python-efl.inc
DEPENDS += "epsilon python-ecore"
-PR = "r3"
+PR = "r4"
diff --git a/packages/python/python-evas_cvs.bb b/packages/python/python-evas_cvs.bb
index a24b50a850..e0de4569bd 100644
--- a/packages/python/python-evas_cvs.bb
+++ b/packages/python/python-evas_cvs.bb
@@ -1,7 +1,6 @@
require python-efl.inc
DEPENDS += "evas"
-
-PR = "r3"
+PR = "r4"
do_stage() {
distutils_stage_all