Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "e-tasks is a todo program for Openmoko phones" |
| 2 | HOMEPAGE = "http://code.google.com/p/e-tasks/" |
| 3 | AUTHOR = "cchandel" |
| 4 | LICENSE = "GPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" |
| 6 | SECTION = "e/apps" |
| 7 | DEPENDS = "elementary eina eldbus sqlite3" |
| 8 | |
| 9 | inherit autotools |
| 10 | |
| 11 | SRCREV = "890f5ee37d1a5fd1ceb2495950d15151d4cf756b" |
| 12 | PV = "0.0.2+gitr${SRCPV}" |
| 13 | |
| 14 | SRC_URI = "git://github.com/shr-project/e-tasks.git" |
| 15 | SRC_URI += "file://0001-dbus-stuff-Convert-to-eldbus.patch" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | do_install_append() { |
| 20 | install -d "${D}/${datadir}/pixmaps" |
| 21 | install -m 0644 "${S}/resources/e-tasks.png" "${D}/${datadir}/pixmaps" |
| 22 | install -d "${D}/${datadir}/applications" |
| 23 | install -m 0644 "${S}/resources/e-tasks.desktop" "${D}/${datadir}/applications" |
| 24 | install -d "${D}/${datadir}/e-tasks" |
| 25 | for ico in "${S}/resources/"*.png; do |
| 26 | if [ "$(basename $ico)" != "e-tasks.png" ]; then |
| 27 | install -m 0644 $ico "${D}/${datadir}/e-tasks" |
| 28 | fi |
| 29 | done |
| 30 | } |
| 31 | |
| 32 | FILES_${PN} += "/usr/share/e-tasks/* /usr/share/applications/* /usr/share/pixmaps/*" |