void-packages/srcpkgs/claws-mail/template

38 lines
1.5 KiB
Bash

# Template file for 'claws-mail'
pkgname=claws-mail
version=3.17.8
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-python-plugin --disable-perl-plugin
--enable-enchant --enable-gnutls"
hostmakedepends="pkg-config python-devel automake libtool gettext-devel"
makedepends="poppler-glib-devel libarchive-devel libSM-devel
libnotify-devel libcanberra-devel gpgme-devel gnutls-devel
enchant2-devel dbus-devel libetpan-devel libldap-devel
libsoup-gnome-devel startup-notification-devel libical-devel
librsvg-devel libgdata-devel NetworkManager-devel libxml2-devel
libcurl-devel"
short_desc="GTK+ based, user-friendly, lightweight, and fast email client"
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://claws-mail.org"
distfiles="https://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz"
checksum=cdb7b2814995d6f4a9c3b1f0bc1467ed5c3cf2a5e0da1730aaa25a8accafddaf
nocross=yes
# 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
# the python plugin. If we do have python installed, cross-compilation
# fails. It's probably possible to fix the configure script to
# cross-compile properly, but it's not worth the trouble. To me,
# anyway.
claws-mail-devel_package() {
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}