Commit 049bd53e authored by Natanael Copa's avatar Natanael Copa

testing/evolution: resurrect from unmaintained

parent f25a3327
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=2.32.1
pkgrel=4
pkgver=3.18.4
pkgrel=0
pkgdesc="evolution mail client"
url="http://projects.gnome.org/evolution"
arch="all"
license="GPL"
depends="gnome-icon-theme"
depends_dev="gtk+-dev glib-dev libsoup-dev libxml2-dev gconf-dev libgdata-dev db-dev libgweather-dev libgnome-keyring-dev libical-dev nspr-dev nss-dev sqlite-dev evolution-data-server-dev
gnome-desktop-dev libunique-dev gtkhtml-dev gstreamer-dev gst-plugins-base-dev gtkimageview-dev openldap-dev"
depends="gnome-icon-theme gsettings-desktop-schemas highlight"
depends_dev="gtk+3.0-dev glib-dev itstool libxml2-dev libxml2-utils
webkitgtk-dev gcr-dev evolution-data-server-dev enchant-dev
libcanberra-dev gtkspell-dev libgweather-dev openldap-dev
libnotify-dev"
makedepends="$depends_dev gperf flex bison"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
......@@ -24,19 +26,20 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
# to build against gtk+-2.24
# http://bugs.gentoo.org/show_bug.cgi?id=352400
sed -i -e "s:-DGTK_DISABLE_DEPRECATED::" configure
}
build() {
cd "$_builddir"
ac_cv_libiconv_utf8=yes\
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-nm \
--disable-pst-import \
--disable-scrollkeeper || return 1
--disable-gnome-desktop \
--disable-autoar \
--disable-libcryptui \
--disable-gtkspell \
--with-openldap \
|| return 1
make || return 1
}
......@@ -45,4 +48,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
md5sums="47c1d45366aaa69e79a320f351ef065d evolution-2.32.1.tar.bz2"
md5sums="9262300694650517046b48fb2ae98d30 evolution-3.18.4.tar.xz"
sha256sums="8161a0ebc77e61904dfaca9745595fefbf84d834a07ee1132d1f8d030dabfefb evolution-3.18.4.tar.xz"
sha512sums="ddb7922cedd490808c21a21d6a2e23f7399f1569bea69d5e0434f27b0f5b75b898ff68f17883bfd75eddb2ec9059628406e1b1f7811e1962a6da2dff4777ade2 evolution-3.18.4.tar.xz"
#!/bin/sh
for i in \
apps-evolution-attachment-reminder.schemas \
apps-evolution-mail-notification.schemas \
apps-evolution-mail-prompts-checkdefault.schemas \
apps-evolution-template-placeholders.schemas \
apps_evolution_addressbook.schemas \
apps_evolution_calendar.schemas \
apps_evolution_email_custom_header.schemas \
apps_evolution_shell.schemas \
bogo-junk-plugin.schemas \
evolution-mail.schemas \
; do
echo "Installing GConf2 schema $i."
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
/usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null
done
#!/bin/sh
for i in \
apps-evolution-attachment-reminder.schemas \
apps-evolution-mail-notification.schemas \
apps-evolution-mail-prompts-checkdefault.schemas \
apps-evolution-template-placeholders.schemas \
apps_evolution_addressbook.schemas \
apps_evolution_calendar.schemas \
apps_evolution_email_custom_header.schemas \
apps_evolution_shell.schemas \
bogo-junk-plugin.schemas \
evolution-mail.schemas \
; do
echo "Installing GConf2 schema $i."
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
/usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null
done
#!/bin/sh
for i in \
apps-evolution-attachment-reminder.schemas \
apps-evolution-mail-notification.schemas \
apps-evolution-mail-prompts-checkdefault.schemas \
apps-evolution-template-placeholders.schemas \
apps_evolution_addressbook.schemas \
apps_evolution_calendar.schemas \
apps_evolution_email_custom_header.schemas \
apps_evolution_shell.schemas \
bogo-junk-plugin.schemas \
evolution-mail.schemas \
; do
echo "Uninstalling GConf2 schema $i."
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
/usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment