Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | SUMMARY = "Simple GTK+ Text Editor" |
| 2 | HOMEPAGE = "http://tarot.freeshell.org/leafpad/" |
| 3 | |
| 4 | LICENSE = "GPLv2 & GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 6 | file://src/leafpad.h;endline=20;md5=d3d6a89f5e61e8b13bdea537511ba1fa \ |
| 7 | file://src/utils.c;endline=20;md5=0d2cc6584ba3202448bb274f62739571" |
| 8 | |
| 9 | DEPENDS = "gtk+ intltool-native libowl" |
| 10 | # The libowl requires x11 in DISTRO_FEATURES |
| 11 | REQUIRED_DISTRO_FEATURES = "x11" |
| 12 | |
| 13 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ |
| 14 | file://leafpad.desktop" |
| 15 | |
| 16 | SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97" |
| 17 | SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c" |
| 18 | PR = "r2" |
| 19 | |
| 20 | SRC_URI_append_poky = " file://owl-menu.patch;apply=yes " |
| 21 | |
| 22 | inherit autotools pkgconfig distro_features_check |
| 23 | |
| 24 | EXTRA_OECONF = " --enable-chooser --disable-emacs --disable-print" |
| 25 | |
| 26 | do_install_append () { |
| 27 | install -d ${D}/${datadir} |
| 28 | install -d ${D}/${datadir}/applications |
| 29 | install -m 0644 ${WORKDIR}/leafpad.desktop ${D}/${datadir}/applications |
| 30 | } |
| 31 | |
| 32 | FILES_${PN} += "${datadir}/applications/leafpad.desktop" |
| 33 | |
| 34 | PACKAGES += "leafpad-stock-icons" |
| 35 | FILES_leafpad-stock-icons = "${datadir}/icons/hicolor/" |