775f5f6349
Remove unnecessary configure flags and make champlain a build option. Bring in patch that allows tests to run.
40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
# Template file for 'abiword'
|
|
pkgname=abiword
|
|
version=3.0.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-plugins --enable-clipart --enable-templates"
|
|
hostmakedepends="automake libtool flex pkg-config"
|
|
makedepends="libjpeg-turbo-devel libpng-devel fribidi-devel libgsf-devel
|
|
enchant2-devel librsvg-devel wv-devel boost-devel libxslt-devel
|
|
libwmf-devel $(vopt_if champlain libchamplain-devel) redland-devel libical-devel
|
|
libgcrypt-devel harfbuzz-devel $(vopt_if goffice goffice-devel)
|
|
gtk+3-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Free word processing program similar to Microsoft(R) Word"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.abisource.com/"
|
|
distfiles="${homepage}/downloads/${pkgname}/${version}/source/${pkgname}-${version}.tar.gz"
|
|
checksum=1257247e9970508d6d1456d3e330cd1909c4b42b25e0f0a1bc32526d6f3a21b4
|
|
|
|
build_options="goffice champlain"
|
|
build_options_default="goffice champlain"
|
|
|
|
CXXFLAGS="-std=c++11"
|
|
|
|
libabiword_package() {
|
|
short_desc+=" - Runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so*"
|
|
}
|
|
}
|
|
abiword-devel_package() {
|
|
depends="fribidi-devel libgsf-devel wv-devel enchant2-devel gtk+3-devel
|
|
librsvg-devel libabiword>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|