diff options
author | Stanislav Brabec <utx@penguin.cz> | 2008-11-15 23:57:53 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2008-11-16 00:30:37 +0000 |
commit | f6054ac3f49384a07a254386f20899e33d08a91a (patch) | |
tree | 1b7eee50dc3f3998cf26891fcb114efdebaa6da5 /packages/sylpheed/claws-mail_3.6.1.bb | |
parent | ce81a5820f712888529f7814ae11cce4ce3f6bd9 (diff) |
claws-mail: Update to 3.6.1 + libetpan: update to 0.57:
* added claws-mail-g_strcmp0.patch
* added libetpan-autoreconf.patch
* removed libetpan from preferred-om-2008-versions.inc (must follow claws-mail)
* added translation fix patch
Diffstat (limited to 'packages/sylpheed/claws-mail_3.6.1.bb')
-rw-r--r-- | packages/sylpheed/claws-mail_3.6.1.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/packages/sylpheed/claws-mail_3.6.1.bb b/packages/sylpheed/claws-mail_3.6.1.bb new file mode 100644 index 0000000000..ac0ff1bd26 --- /dev/null +++ b/packages/sylpheed/claws-mail_3.6.1.bb @@ -0,0 +1,51 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent" +DEPENDS = "gtk+ libetpan openssl aspell" +LICENSE = "GPL" +PR = "r0" + +inherit autotools pkgconfig + +# translation patch: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1774 +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \ + http://www.penguin.cz/~utx/ftp/claws-mail/claws-mail-${PV}-po-update.patch;patch=1 \ + file://desktop.patch;patch=1 \ + file://claws-mail-g_strcmp0.patch;patch=1 \ + " + +do_configure_append() { + cd po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done +} + +# FIXME: maemo builds may want --enable-maemo +# FIXME: some platforms may want --enable-generic-umpc +EXTRA_OECONF = "--disable-aspell-test \ + --enable-aspell \ + --disable-manual \ + --disable-crash-dialog \ + --disable-jpilot \ + --disable-trayicon-plugin \ + --disable-spamassassin-plugin \ + --disable-bogofilter-plugin \ + --disable-pgpcore-plugin \ + --disable-pgpmime-plugin \ + --disable-pgpinline-plugin \ + --disable-dillo-viewer-plugin \ + --disable-clamav-plugin \ + --disable-gnomeprint \ + --disable-valgrind \ + " + +# Remove enchant references: +do_install_prepend() { + sed -i -e 's:${STAGING_INCDIR}:${includedir}:g;s:${STAGING_LIBDIR}:${libdir}:g' claws-mail.pc +} + +# Work-around broken GPE icon lookup: +do_install_append() { + rm -r ${D}${datadir}/icons + install -d ${D}${datadir}/pixmaps + install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/ + sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop +} |