void-packages/srcpkgs/inkscape/template

29 lines
1.1 KiB
Bash

# Template file for 'inkscape'.
pkgname=inkscape
version=0.92.1
revision=1
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/gallery/item/10682/${pkgname}-${version}.tar_XlpI7qT.bz2>${pkgname}-${version}.tar.bz2"
checksum=257405bf802de125f17d123638093a37db02ebe334d243cf9b0d8903f7c89005
# 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
}