graphviz: update to 5.0.0.

This commit is contained in:
Leah Neukirchen 2022-08-03 14:59:01 +02:00
parent ee05f277c2
commit 900e7fa977
1 changed files with 4 additions and 18 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'graphviz' # Template file for 'graphviz'
pkgname=graphviz pkgname=graphviz
version=2.50.0 version=5.0.0
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-lefty --with-gts" configure_args="--with-gts"
make_build_args="HOSTCC=$BUILD_CC" make_build_args="HOSTCC=$BUILD_CC"
hostmakedepends="automake flex libltdl-devel libtool perl pkg-config python3" hostmakedepends="automake flex libltdl-devel libtool perl pkg-config python3"
makedepends="libpng-devel gd-devel gtk+-devel librsvg-devel libltdl-devel makedepends="libpng-devel gd-devel gtk+-devel librsvg-devel libltdl-devel
@ -16,7 +16,7 @@ license="EPL-1.0"
homepage="https://www.graphviz.org" homepage="https://www.graphviz.org"
changelog="https://gitlab.com/graphviz/graphviz/-/raw/main/CHANGELOG.md" changelog="https://gitlab.com/graphviz/graphviz/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/graphviz/graphviz/-/archive/${version}/graphviz-${version}.tar.gz" distfiles="https://gitlab.com/graphviz/graphviz/-/archive/${version}/graphviz-${version}.tar.gz"
checksum=afa48581f764a35e148909cc96a0308ec2356b5225b64af12492f3392f20ef1c checksum=f8cc576694ae93659f453b6b4a4c2f04572a90cfccdca2d4271f2e7c60bb3d60
# `make check` is broken: # `make check` is broken:
# https://gitlab.com/graphviz/graphviz/-/issues/2112 # https://gitlab.com/graphviz/graphviz/-/issues/2112
@ -35,8 +35,6 @@ post_install() {
vlicense epl-v10.txt LICENSE vlicense epl-v10.txt LICENSE
rm -rf ${DESTDIR}/usr/share/graphviz/doc rm -rf ${DESTDIR}/usr/share/graphviz/doc
# mingle is not compiled so do not install manpage
rm -f ${DESTDIR}/usr/share/man/man1/mingle.1
# dot_builtins is just dot with preloaded plugins (for testing?) # dot_builtins is just dot with preloaded plugins (for testing?)
rm -f ${DESTDIR}/usr/bin/dot_builtins rm -f ${DESTDIR}/usr/bin/dot_builtins
} }
@ -67,15 +65,3 @@ graphviz-gtk_package() {
vmove "usr/lib/graphviz/libgvplugin_gtk.*" vmove "usr/lib/graphviz/libgvplugin_gtk.*"
} }
} }
graphviz-x11_package() {
depends="graphviz>=${version}_${revision}"
short_desc+=" - x11 binaries (lefty)"
pkg_install() {
for p in lefty lneato dotty ; do
vmove usr/bin/$p
vmove usr/share/man/man1/$p.1
done
vmove usr/share/graphviz/lefty
}
}