aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sylpheed
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-03-06 12:43:54 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-06 12:43:54 +0000
commit9cbfdfd677fcaba6d1b987fe96b588e865f5ae2e (patch)
tree2a17dec4393899ccd68b0e6f01f23c2975912516 /packages/sylpheed
parent8e9b731907f73dd0488ebdc1ef9a89d0ce62c3cd (diff)
downloadopenembedded-9cbfdfd677fcaba6d1b987fe96b588e865f5ae2e.tar.gz
sylpheed_2.2.2.bb : new version courtesy of John Bloom
Diffstat (limited to 'packages/sylpheed')
-rw-r--r--packages/sylpheed/files/sylpheed-2.2.2-libsylph-Makefile-am.patch11
-rw-r--r--packages/sylpheed/files/sylpheed-2.2.2-src-Makefile-am.patch11
-rw-r--r--packages/sylpheed/sylpheed_2.2.2.bb32
3 files changed, 54 insertions, 0 deletions
diff --git a/packages/sylpheed/files/sylpheed-2.2.2-libsylph-Makefile-am.patch b/packages/sylpheed/files/sylpheed-2.2.2-libsylph-Makefile-am.patch
new file mode 100644
index 0000000000..e4570acb9d
--- /dev/null
+++ b/packages/sylpheed/files/sylpheed-2.2.2-libsylph-Makefile-am.patch
@@ -0,0 +1,11 @@
+--- sylpheed-2.2.2/libsylph/Makefile.am.orig 2006-03-03 14:45:37.000000000 -0800
++++ sylpheed-2.2.2/libsylph/Makefile.am 2006-03-03 14:45:50.000000000 -0800
+@@ -3,7 +3,7 @@
+ -DG_LOG_DOMAIN=\"LibSylph\" \
+ -DSYSCONFDIR=\""$(sysconfdir)"\"
+
+-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)
++INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+
+ #lib_LTLIBRARIES = libsylph.la
+ noinst_LTLIBRARIES = libsylph.la
diff --git a/packages/sylpheed/files/sylpheed-2.2.2-src-Makefile-am.patch b/packages/sylpheed/files/sylpheed-2.2.2-src-Makefile-am.patch
new file mode 100644
index 0000000000..4e1fe97378
--- /dev/null
+++ b/packages/sylpheed/files/sylpheed-2.2.2-src-Makefile-am.patch
@@ -0,0 +1,11 @@
+--- sylpheed-2.2.2/src/Makefile.am.orig 2006-03-03 14:41:42.000000000 -0800
++++ sylpheed-2.2.2/src/Makefile.am 2006-03-03 14:42:45.000000000 -0800
+@@ -102,8 +102,6 @@
+ -DG_LOG_DOMAIN=\"Sylpheed\" \
+ $(GTK_CFLAGS) \
+ $(GDK_PIXBUF_CFLAGS) \
+- $(GPGME_CFLAGS) \
+- -I$(includedir) \
+ -I$(top_srcdir)/libsylph
+
+ if HAVE_WINDRES
diff --git a/packages/sylpheed/sylpheed_2.2.2.bb b/packages/sylpheed/sylpheed_2.2.2.bb
new file mode 100644
index 0000000000..bc63f0d71b
--- /dev/null
+++ b/packages/sylpheed/sylpheed_2.2.2.bb
@@ -0,0 +1,32 @@
+SECTION = "x11/network"
+DESCRIPTION = "Mail user agent"
+DEPENDS = "gtk+ gpgme gnutls"
+MAINTAINER = "Patrick Steiner <patrick.steiner@a1.net>"
+LICENSE = "GPL"
+PR = "r3"
+
+SRC_URI = "http://sylpheed.good-day.net/sylpheed/v2.2/sylpheed-${PV}.tar.bz2 \
+ file://sylpheed-2.2.2-libsylph-Makefile-am.patch;patch=1 \
+ file://sylpheed-2.2.2-src-Makefile-am.patch;patch=1"
+
+
+FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN}-doc += "${datadir}"
+
+EXTRA_OECONF = "--enable-gnutls"
+
+CFLAGS += "-D_GNU_SOURCE"
+
+do_configure_prepend() {
+ mkdir -p m4
+}
+
+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/
+}
+