void-packages/srcpkgs/inkscape/template
2019-03-22 12:03:37 -03:00

32 lines
1.2 KiB
Bash

# Template file for 'inkscape'
pkgname=inkscape
version=0.92.4
revision=3
wrksrc="${pkgname}-INKSCAPE_${version//./_}"
build_style=gnu-configure
configure_args="--enable-lcms --enable-poppler-cairo
--without-gnome-vfs --disable-static"
hostmakedepends="automake pkg-config libtool intltool gettext-devel
glib-devel perl-XML-Parser"
makedepends="popt-devel libpng-devel gsl-devel gc-devel gtkmm2-devel libxslt-devel
lcms2-devel poppler-glib-devel boost-devel libmagick6-devel
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
potrace-devel cairomm-devel"
depends="desktop-file-utils hicolor-icon-theme python-lxml"
short_desc="Vector-based drawing program"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2, LGPL-2.1"
homepage="http://inkscape.org/"
distfiles="https://gitlab.com/inkscape/inkscape/-/archive/INKSCAPE_${version//./_}/inkscape-INKSCAPE_${version//./_}.tar.bz2"
checksum=b8f16d1417d3ed8d3cb32a68f64f8f31ae4c6553bb556f71b6590c4e2cb3cfb4
# Use c++11 mode and reduce log spam due to gcc6 warnings
CXXFLAGS="-std=c++11 -Wno-deprecated -Wno-misleading-indentation -Wno-cast-align"
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) makedepends+=" libatomic_ops-devel" ;;
esac
pre_configure() {
./autogen.sh
}