improve dasher packaging
authorPhil Blundell <philb@gnu.org>
Mon, 30 Aug 2004 09:56:37 +0000 (09:56 +0000)
committerPhil Blundell <philb@gnu.org>
Mon, 30 Aug 2004 09:56:37 +0000 (09:56 +0000)
BKrev: 4132f9d5JAv3t0Cyn_xpr6VJ9xyimQ

dasher/dasher-gpe_0.0cvs20040828.oe

index e69de29..25e16fc 100644 (file)
@@ -0,0 +1,26 @@
+DEPENDS = "gtk+"
+
+SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=dasher;date=20040828 \
+       file://configure-lossage.patch;patch=1"
+
+S = "${WORKDIR}/dasher"
+FILES_${PN} += "${datadir}/dasher"
+
+inherit autotools
+
+do_configure_prepend() {
+       rm -f m4/libtool.m4
+       intltoolize --force
+}
+
+EXTRA_OECONF = "--with-gpe --without-gnome --without-speech --without-a11y"
+
+do_install_append () {
+       install -d ${D}${datadir}/pixmaps/
+       mv ${D}${datadir}/icons/dasher.png ${D}${datadir}/pixmaps/
+}
+
+python populate_packages_prepend () {
+       do_split_packages(d, oe.data.expand("${datadir}/dasher", d), "training_(.*).txt", "dasher-training-data-%s", "Dasher training data for %s", prepend=True)
+}
+