sylpheed: update to 2.5.0
authorKoen Kooi <koen@openembedded.org>
Sun, 16 Nov 2008 10:19:06 +0000 (11:19 +0100)
committerKoen Kooi <koen@openembedded.org>
Sun, 16 Nov 2008 10:19:30 +0000 (11:19 +0100)
conf/checksums.ini
packages/sylpheed/sylpheed_2.5.0.bb [new file with mode: 0644]

index 1eacaf2..bdf1c38 100644 (file)
@@ -18622,6 +18622,10 @@ sha256=c913105c740fe9cbbf7ab49f663acf5640b812995c2f9c716294f6b44a3185c4
 md5=45e9e89775613b0afb732fbc11c73d26
 sha256=72a6ab7c8a0baf0d1d432929c19a7d096335ba4adc43e40488b6a77e5995a0f5
 
+[http://sylpheed.good-day.net/sylpheed/v2.5/sylpheed-2.5.0.tar.bz2]
+md5=a6fc9e9c2a33876fddb33f25f40b820f
+sha256=d18a8dc51126e25c7677dd649b7499756278e1d82b7b888d37a10fb1d8d38761
+
 [http://www.logarithmic.net/pfh-files/synaesthesia/synaesthesia-2.4.tar.gz]
 md5=784105cbeed3ab209231675f0e029497
 sha256=48505975e809ebadf416dc3e35a528ef87f01b117f2f1c5498d728ead8786493
diff --git a/packages/sylpheed/sylpheed_2.5.0.bb b/packages/sylpheed/sylpheed_2.5.0.bb
new file mode 100644 (file)
index 0000000..94c51e4
--- /dev/null
@@ -0,0 +1,32 @@
+SECTION = "x11/network"
+DESCRIPTION = "Mail user agent"
+DEPENDS = "gtk+ gpgme gnutls"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://sylpheed.good-day.net/sylpheed/v2.5/sylpheed-${PV}.tar.bz2 \
+       "
+
+FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN}-doc += "${datadir}"
+
+EXTRA_OECONF = "--disable-ssl --enable-gnutls"
+
+CFLAGS += "-D_GNU_SOURCE"
+
+do_configure_prepend() {
+       mkdir -p m4
+       for i in $(find ${S} -name "Makefile.am") ; do
+               sed -i s:'-I$(includedir)'::g $i
+       done
+}
+
+inherit autotools
+
+do_install_append() {
+       install -d ${D}${datadir}/applications
+       install -m 0644 sylpheed.desktop ${D}${datadir}/applications/
+       install -d ${D}${datadir}/pixmaps
+       install -m 0644 sylpheed.png ${D}${datadir}/pixmaps/
+}
+