2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Simple GTK+ Text Editor"
|
2010-06-25 10:00:19 +00:00
|
|
|
HOMEPAGE = "http://tarot.freeshell.org/leafpad/"
|
|
|
|
|
|
|
|
LICENSE = "GPLv2 & GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
|
|
file://src/leafpad.h;endline=20;md5=d3d6a89f5e61e8b13bdea537511ba1fa \
|
|
|
|
file://src/utils.c;endline=20;md5=0d2cc6584ba3202448bb274f62739571"
|
|
|
|
|
2015-09-17 07:46:27 +00:00
|
|
|
DEPENDS = "gtk+ intltool-native libowl gettext-native"
|
2015-05-11 02:17:07 +00:00
|
|
|
# The libowl requires x11 in DISTRO_FEATURES
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
|
|
|
2014-05-08 03:44:04 +00:00
|
|
|
SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
|
2007-04-10 14:21:51 +00:00
|
|
|
file://leafpad.desktop"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2011-01-26 06:59:27 +00:00
|
|
|
SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97"
|
|
|
|
SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c"
|
2012-03-12 21:03:09 +00:00
|
|
|
PR = "r2"
|
2009-08-18 15:08:19 +00:00
|
|
|
|
2012-06-20 08:51:32 +00:00
|
|
|
SRC_URI_append_poky = " file://owl-menu.patch;apply=yes "
|
2006-05-09 22:11:25 +00:00
|
|
|
|
2015-05-11 02:17:07 +00:00
|
|
|
inherit autotools pkgconfig distro_features_check
|
2006-05-09 22:11:25 +00:00
|
|
|
|
2013-12-04 10:41:59 +00:00
|
|
|
EXTRA_OECONF = " --enable-chooser --disable-emacs --disable-print"
|
2006-05-09 22:11:25 +00:00
|
|
|
|
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}/${datadir}
|
|
|
|
install -d ${D}/${datadir}/applications
|
|
|
|
install -m 0644 ${WORKDIR}/leafpad.desktop ${D}/${datadir}/applications
|
|
|
|
}
|
|
|
|
|
2007-04-10 14:21:51 +00:00
|
|
|
FILES_${PN} += "${datadir}/applications/leafpad.desktop"
|
2012-03-12 21:03:09 +00:00
|
|
|
|
|
|
|
PACKAGES += "leafpad-stock-icons"
|
|
|
|
FILES_leafpad-stock-icons = "${datadir}/icons/hicolor/"
|