void-packages/srcpkgs/pan/template
mobinmob 5171da9a2f pan: update to 0.148.
Also:
- add changelog.
2021-11-20 19:22:16 +01:00

29 lines
1.2 KiB
Bash

# Template file for 'pan'
pkgname=pan
version=0.148
revision=1
wrksrc="pan-v${version}"
build_style=gnu-configure
configure_args="--with-gnutls --with-gtk3 --enable-libnotify --enable-gkr"
hostmakedepends="gettext pkg-config yelp-tools autoconf gettext-devel-tools automake libtool"
makedepends="gmime3-devel gnutls-devel gtk+3-devel gtk+-devel libsecret-devel gtkspell3-devel libnotify-devel
glib-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Usenet newsreader that's good at both text and binaries"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GFDL-1.1-or-later, GPL-2.0-only"
homepage="http://pan.rebelbase.com"
changelog="https://gitlab.gnome.org/GNOME/pan/-/raw/master/NEWS"
distfiles="https://gitlab.gnome.org/GNOME/pan/-/archive/v${version}/pan-v${version}.tar.bz2"
checksum=09de1b59407c5c037b01edb11a4611ca702ae250f0d1f30456a103a5f5eb2e85
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" gdk-pixbuf-devel"
fi
pre_configure() {
vsed -e 's/enchant/enchant-2/g' -i configure.ac
vsed -e 's|enchant/enchant.h|enchant-2/enchant.h|' -i pan/gui/group-prefs-dialog.cc
export ACLOCAL='aclocal -I ${XBPS_CROSS_BASE}/usr/share/aclocal'
NOCONFIGURE=1 ./autogen.sh
}