diff options
Diffstat (limited to 'meta/packages/claws-mail/claws-mail.inc')
| -rw-r--r-- | meta/packages/claws-mail/claws-mail.inc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/packages/claws-mail/claws-mail.inc b/meta/packages/claws-mail/claws-mail.inc new file mode 100644 index 0000000000..698f632fbd --- /dev/null +++ b/meta/packages/claws-mail/claws-mail.inc | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | SECTION = "x11/network" | ||
| 2 | DESCRIPTION = "Mail user agent" | ||
| 3 | #DEPENDS = "gtk+ gpgme libetpan libgnomeprint aspell openssl" | ||
| 4 | DEPENDS = "gtk+ libetpan openssl libowl" | ||
| 5 | LICENSE = "GPL" | ||
| 6 | PR = "r3" | ||
| 7 | |||
| 8 | SRC_URI = "\ | ||
| 9 | ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \ | ||
| 10 | file://desktop.patch;patch=1 \ | ||
| 11 | file://streamline-ui.patch;patch=1 \ | ||
| 12 | file://owl-window-menu.patch;patch=1 \ | ||
| 13 | " | ||
| 14 | |||
| 15 | FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications" | ||
| 16 | |||
| 17 | #EXTRA_OECONF = "--disable-aspell-test \ | ||
| 18 | # --disable-dillo-viewer-plugin --with-aspell-prefix=${STAGING_DIR}/${HOST_SYS} \ | ||
| 19 | # --enable-aspell" | ||
| 20 | |||
| 21 | EXTRA_OECONF = "--disable-aspell-test \ | ||
| 22 | --disable-aspell \ | ||
| 23 | --disable-manual \ | ||
| 24 | # --disable-openssl \ | ||
| 25 | --disable-crash-dialog \ | ||
| 26 | --disable-jpilot \ | ||
| 27 | --disable-trayicon-plugin \ | ||
| 28 | --disable-spamassassin-plugin \ | ||
| 29 | --disable-bogofilter-plugin \ | ||
| 30 | --disable-pgpcore-plugin \ | ||
| 31 | --disable-pgpmime-plugin \ | ||
| 32 | --disable-pgpinline-plugin \ | ||
| 33 | --disable-dillo-viewer-plugin \ | ||
| 34 | --disable-clamav-plugin \ | ||
| 35 | # --disable-libetpan \ | ||
| 36 | --disable-gnomeprint \ | ||
| 37 | --disable-valgrind \ | ||
| 38 | " | ||
| 39 | |||
| 40 | CFLAGS += "-D_GNU_SOURCE" | ||
| 41 | |||
| 42 | inherit autotools pkgconfig | ||
| 43 | |||
| 44 | |||
| 45 | do_configure() { | ||
| 46 | gnu-configize | ||
| 47 | libtoolize --force | ||
| 48 | oe_runconf | ||
| 49 | } | ||
| 50 | |||
| 51 | do_install_append() { | ||
| 52 | install -d ${D}${datadir}/applications | ||
| 53 | install -m 0644 claws-mail.desktop ${D}${datadir}/applications/ | ||
| 54 | install -d ${D}${datadir}/pixmaps | ||
| 55 | install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/ | ||
| 56 | mv ${D}${bindir}/${TARGET_SYS}-claws-mail ${D}${bindir}/${PN} | ||
| 57 | } | ||
| 58 | |||
| 59 | do_stage () { | ||
| 60 | autotools_stage_all | ||
| 61 | } | ||
| 62 | |||
| 63 | #python populate_packages_prepend () { | ||
| 64 | # abiword_libdir = bb.data.expand('${libdir}/claws-mail/plugins', d) | ||
| 65 | # | ||
| 66 | # do_split_packages(d, abiword_libdir, '^(.*)\.so$', 'claws-mail-plugin-%s', 'Claws plugin for %s', extra_depends='') | ||
| 67 | #} | ||
