diff options
-rw-r--r-- | packages/sylpheed/files/sylpheed-2.2.2-libsylph-Makefile-am.patch | 11 | ||||
-rw-r--r-- | packages/sylpheed/files/sylpheed-2.2.2-src-Makefile-am.patch | 11 | ||||
-rw-r--r-- | packages/sylpheed/sylpheed_2.2.2.bb | 32 |
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/ +} + |