diff options
-rw-r--r-- | openembedded/packages/leafpad/files/leafpad.desktop | 11 | ||||
-rw-r--r-- | openembedded/packages/leafpad/files/leafpad.png | bin | 0 -> 1950 bytes | |||
-rw-r--r-- | openembedded/packages/leafpad/leafpad_0.8.4.bb | 20 |
3 files changed, 31 insertions, 0 deletions
diff --git a/openembedded/packages/leafpad/files/leafpad.desktop b/openembedded/packages/leafpad/files/leafpad.desktop new file mode 100644 index 0000000000..7c75817128 --- /dev/null +++ b/openembedded/packages/leafpad/files/leafpad.desktop | |||
@@ -0,0 +1,11 @@ | |||
1 | [Desktop Entry] | ||
2 | Encoding=UTF-8 | ||
3 | Name=Leafpad | ||
4 | Exec=/usr/bin/leafpad | ||
5 | Icon=leafpad.png | ||
6 | Terminal=false | ||
7 | Type=Application | ||
8 | Categories=Utility;PIM; | ||
9 | SingleInstance=true | ||
10 | StartupNotify=true | ||
11 | |||
diff --git a/openembedded/packages/leafpad/files/leafpad.png b/openembedded/packages/leafpad/files/leafpad.png new file mode 100644 index 0000000000..c5ee0cff85 --- /dev/null +++ b/openembedded/packages/leafpad/files/leafpad.png | |||
Binary files differ | |||
diff --git a/openembedded/packages/leafpad/leafpad_0.8.4.bb b/openembedded/packages/leafpad/leafpad_0.8.4.bb new file mode 100644 index 0000000000..6faabec514 --- /dev/null +++ b/openembedded/packages/leafpad/leafpad_0.8.4.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | LICENSE = "GPLv2" | ||
2 | DEPENDS = "gtk+" | ||
3 | SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \ | ||
4 | file://leafpad.desktop \ | ||
5 | file://leafpad.png" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | EXTRA_OECONF = " --enable-chooser --disable-gtktest --disable-print" | ||
10 | |||
11 | do_install_append () { | ||
12 | install -d ${D}/${datadir} | ||
13 | install -d ${D}/${datadir}/applications | ||
14 | install -d ${D}/${datadir}/pixmaps/ | ||
15 | |||
16 | install -m 0644 ${WORKDIR}/leafpad.png ${D}/${datadir}/pixmaps | ||
17 | install -m 0644 ${WORKDIR}/leafpad.desktop ${D}/${datadir}/applications | ||
18 | } | ||
19 | |||
20 | FILES_${PN} += "${datadir}/applications/leafpad.desktop ${datadir}/pixmaps/leafpad.png" | ||