abiword: build with gtk2. works around #5093

This commit is contained in:
Enno Boland 2016-11-04 22:17:49 +01:00
parent 1984f69dac
commit f831951a73

View file

@ -1,14 +1,18 @@
# Template file for 'abiword'
pkgname=abiword
version=3.0.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-plugins --enable-clipart --enable-templates"
configure_args="--enable-plugins --enable-clipart --enable-templates
$(vopt_if gtk3 '--with-gtk3' '--with-gtk2')
$(vopt_enable goffice)"
hostmakedepends="automake libtool flex pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel fribidi-devel libgsf-devel
enchant-devel gtk+3-devel librsvg-devel wv-devel boost-devel libxslt-devel
enchant-devel librsvg-devel wv-devel boost-devel libxslt-devel
libwmf-devel libchamplain-devel redland-devel libical-devel
libgcrypt-devel goffice-devel"
libgcrypt-devel $(vopt_if goffice goffice-devel)
$(vopt_if gtk3 'gtk+3-devel' 'gtk+-devel')"
hostmakedepends="automake libtool flex pkg-config"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Free word processing program similar to Microsoft(R) Word"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -16,6 +20,9 @@ license="GPL-3"
homepage="http://www.abisource.com/"
distfiles="${homepage}/downloads/${pkgname}/${version}/source/${pkgname}-${version}.tar.gz"
checksum=afbfd458fd02989d8b0c6362ba8a4c14686d89666f54cfdb5501bd2090cf3522
build_option="gtk3 goffice"
# reenable when http://bugzilla.abisource.com/show_bug.cgi?id=13815 is fixed.
# build_option_default="gtk3 goffice"
CXXFLAGS="-std=c++11"