Update to last version, add configure.addopts
[maemo-efl] / scripts / e17 / proto / python-efl / build-python-efl-examples-maemo-deb.sh
index ad66b15..a308eba 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/bash
 
-PRELEASE="indt1"
+PRELEASE="indt3"
 PNAME="python-efl-core-demo"
-PVER="0.1_$PRELEASE"
+PVER="0.1.1_$PRELEASE"
 SECTION="user/accessories"
 
 DESC="Enlightenment Foundation Libraries Core - Python Bindings Demos"
@@ -12,7 +12,7 @@ LONG_DESC="\
  Homepage: http://www.enlightenment.org/
 "
 BDEPENDS=""
-DEPENDS="python-efl-core"
+DEPENDS="python-efl-core (>= 0.1.1_indt3)"
 
 ARCH="$(arch)"
 DESTDIR="/tmp/$PNAME-$ARCH"
@@ -46,14 +46,31 @@ Name=Edje App Launcher Demo
 Exec=/usr/share/python-efl-core-demo/examples/01-app_launcher.py
 EOF
 
-cd python-edje/examples/evas-demo/
+cd python-edje/examples/evas-demo/01-app_launcher/
 cp 01-app_launcher.py $EXAMPLES_DIR
 chmod +x $EXAMPLES_DIR/01-app_launcher.py
-edje_cc 01-app_launcher.edc || die "Failed to compile theme 01-app_launcher"
+#edje_cc 01-app_launcher.edc || die "Failed to compile theme 01-app_launcher"
 cp 01-app_launcher.edj $EXAMPLES_DIR
 
 cd $CWD
 
+cat > "$MENU_DIR/02-vkbd.desktop" <<EOF
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=Edje Virtual Keyboard
+Exec=/usr/share/python-efl-core-demo/examples/02-vkbd.py
+EOF
+
+cd python-edje/examples/evas-demo/02-vkbd/
+cp 02-vkbd.py $EXAMPLES_DIR
+chmod +x $EXAMPLES_DIR/02-vkbd.py
+#edje_cc 02-vkbd.edc || die "Failed to compile theme 02-vkbd"
+cp 02-vkbd.edj $EXAMPLES_DIR
+
+cd $CWD
+
 
 if [ x"$NODESTDIR" != x1 ]; then
     cd $DESTDIR