claws-mail: switch to enchant-2
This commit is contained in:
parent
601f310bbe
commit
c768754380
1 changed files with 10 additions and 2 deletions
|
@ -4,10 +4,10 @@ version=3.17.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-python-plugin --disable-perl-plugin"
|
configure_args="--disable-static --disable-python-plugin --disable-perl-plugin"
|
||||||
hostmakedepends="pkg-config python-devel"
|
hostmakedepends="pkg-config python-devel automake libtool gettext-devel"
|
||||||
makedepends="poppler-glib-devel libarchive-devel libSM-devel
|
makedepends="poppler-glib-devel libarchive-devel libSM-devel
|
||||||
libnotify-devel libcanberra-devel gpgme-devel gnutls-devel
|
libnotify-devel libcanberra-devel gpgme-devel gnutls-devel
|
||||||
enchant-devel dbus-devel libetpan-devel libldap-devel
|
enchant2-devel dbus-devel libetpan-devel libldap-devel
|
||||||
libsoup-gnome-devel startup-notification-devel"
|
libsoup-gnome-devel startup-notification-devel"
|
||||||
short_desc="The user-friendly, lightweight, and fast email client"
|
short_desc="The user-friendly, lightweight, and fast email client"
|
||||||
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||||
|
@ -17,6 +17,14 @@ distfiles="http://www.claws-mail.org/download.php?file=releases/claws-mail-${ver
|
||||||
checksum=757b5f4163fb44f772b1453d1cc0b83387bb6b67ad55cc0694bdd4eff9ea76f2
|
checksum=757b5f4163fb44f772b1453d1cc0b83387bb6b67ad55cc0694bdd4eff9ea76f2
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# fix new versioned enchant pkgconfig detection
|
||||||
|
sed -i "s:PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0:PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 1.4.0:" configure.ac
|
||||||
|
sed -i "s:--cflags enchant:--cflags enchant-2:" configure.ac
|
||||||
|
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
# TODO(dominikh): claws-mail is a mess. If we don't have python
|
# TODO(dominikh): claws-mail is a mess. If we don't have python
|
||||||
# installed at all, the build process will fail, even if we don't want
|
# installed at all, the build process will fail, even if we don't want
|
||||||
# the python plugin. If we do have python installed, cross-compilation
|
# the python plugin. If we do have python installed, cross-compilation
|
||||||
|
|
Loading…
Add table
Reference in a new issue