void-packages/srcpkgs/inkscape/template

29 lines
1.0 KiB
Bash

# Template file for 'inkscape'.
pkgname=inkscape
version=0.92.2
revision=7
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"
makedepends="
popt-devel libpng-devel gsl-devel gc-devel gtkmm2-devel libxslt-devel
lcms2-devel poppler-glib-devel boost-devel libmagick-devel
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
potrace-devel"
depends="desktop-file-utils hicolor-icon-theme python-lxml"
short_desc="Vector-based drawing program"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://inkscape.org/"
license="GPL-2, LGPL-2.1"
distfiles="https://inkscape.org/en/gallery/item/11254/${pkgname}-${version}.tar.bz2"
checksum=a628d0e04c254e9840947e6d866974f92c68ae31631a38b94d9b65e5cd84cfd3
# Use c++11 mode and reduce log spam due to gcc6 warnings
CXXFLAGS="-std=c++11 -Wno-deprecated -Wno-misleading-indentation -Wno-cast-align"
pre_configure() {
./autogen.sh
}