graphviz: enable gts library for native arches and fix license=
This commit is contained in:
parent
32edac01a2
commit
9b4697ef9a
|
@ -1,29 +1,35 @@
|
||||||
# Template file for 'graphviz'
|
# Template file for 'graphviz'
|
||||||
pkgname=graphviz
|
pkgname=graphviz
|
||||||
version=2.40.1
|
version=2.40.1
|
||||||
revision=2
|
revision=3
|
||||||
replaces="graphviz-libs<2.38.0_3"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool flex pkg-config libltdl-devel"
|
|
||||||
makedepends="libpng-devel gd-devel gtk+-devel librsvg-devel libltdl-devel
|
|
||||||
libXaw-devel"
|
|
||||||
short_desc="Graph Visualization Software"
|
|
||||||
configure_args="--disable-rpath --enable-ltdl --disable-ltdl-install
|
configure_args="--disable-rpath --enable-ltdl --disable-ltdl-install
|
||||||
--disable-swig --disable-sharp --disable-guile --disable-io --disable-java
|
--disable-swig --disable-sharp --disable-guile --disable-io --disable-java
|
||||||
--disable-lua --disable-ocaml --disable-perl --disable-php --disable-python
|
--disable-lua --disable-ocaml --disable-perl --disable-php --disable-python
|
||||||
--disable-r --disable-ruby --disable-tcl --without-included-ltdl --with-qt=no
|
--disable-r --disable-ruby --disable-tcl --without-included-ltdl --with-qt=no
|
||||||
--without-devil --without-glut --without-ghoscript --with-libgd"
|
--without-devil --without-glut --without-ghoscript --with-libgd"
|
||||||
|
hostmakedepends="automake libtool flex pkg-config libltdl-devel"
|
||||||
|
makedepends="libpng-devel gd-devel gtk+-devel librsvg-devel libltdl-devel
|
||||||
|
libXaw-devel gts-devel"
|
||||||
|
short_desc="Graph Visualization Software"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.graphviz.org"
|
homepage="http://www.graphviz.org"
|
||||||
license="EPL"
|
license="EPL-1.0"
|
||||||
# XXX: No version in the URL!
|
# XXX: No version in the URL!
|
||||||
distfiles="https://graphviz.gitlab.io/pub/${pkgname}/stable/SOURCES/${pkgname}.tar.gz"
|
distfiles="https://graphviz.gitlab.io/pub/${pkgname}/stable/SOURCES/${pkgname}.tar.gz"
|
||||||
checksum=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421
|
checksum=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421
|
||||||
|
replaces="graphviz-libs<2.38.0_3"
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" --with-gts"
|
||||||
|
makedepends="gts-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
sed -i '/typedef.*ssize_t/d' lib/vmalloc/vmhdr.h
|
sed -i '/typedef.*ssize_t/d' lib/vmalloc/vmhdr.h
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense ${FILESDIR}/LICENSE
|
vlicense ${FILESDIR}/LICENSE
|
||||||
}
|
}
|
||||||
|
@ -35,6 +41,7 @@ graphviz-libs_package() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
graphviz-devel_package() {
|
graphviz-devel_package() {
|
||||||
depends="graphviz-libs>=${version}_${revision}"
|
depends="graphviz-libs>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue