mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gnuplot: update to 6.0.0.
This commit is contained in:
parent
9d28172c96
commit
76cff971c6
1 changed files with 11 additions and 13 deletions
|
@ -1,21 +1,26 @@
|
||||||
# Template file for 'gnuplot'
|
# Template file for 'gnuplot'
|
||||||
pkgname=gnuplot
|
pkgname=gnuplot
|
||||||
version=5.4.10
|
version=6.0.0
|
||||||
revision=1
|
revision=1
|
||||||
configure_args="--with-readline=builtin"
|
configure_args="--with-readline=builtin
|
||||||
hostmakedepends="pkg-config lua52"
|
--with-gpic --with-metapost --with-metafont"
|
||||||
makedepends="zlib-devel libX11-devel gd-devel lua52-devel"
|
hostmakedepends="pkg-config lua52 zlib-devel libX11-devel
|
||||||
|
cairo-devel pango-devel"
|
||||||
|
makedepends="zlib-devel libX11-devel gd-devel lua52-devel
|
||||||
|
cairo-devel pango-devel"
|
||||||
depends="gnuplot-common>=${version}_${revision}"
|
depends="gnuplot-common>=${version}_${revision}"
|
||||||
short_desc="Command-line driven graphing utility"
|
short_desc="Command-line driven graphing utility"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
homepage="http://www.gnuplot.info/"
|
homepage="http://www.gnuplot.info/"
|
||||||
license="gnuplot"
|
license="gnuplot"
|
||||||
distfiles="${SOURCEFORGE_SITE}/gnuplot/gnuplot/${version}/gnuplot-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/gnuplot/gnuplot/${version}/gnuplot-${version}.tar.gz"
|
||||||
checksum=975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c
|
checksum=635a28f0993f6ab0d1179e072ad39b8139d07f51237f841d93c6c2ff4b1758ec
|
||||||
|
|
||||||
subpackages="gnuplot-common"
|
subpackages="gnuplot-common"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
makedepends+=" cairo-devel pango-devel wxWidgets-gtk3-devel qt5-tools-devel qt5-svg-devel"
|
hostmakedepends+=" qt6-base qt6-base-devel pkg-config"
|
||||||
|
makedepends+=" wxWidgets-gtk3-devel
|
||||||
|
qt6-base-devel qt6-tools-devel qt6-svg-devel qt6-qt5compat-devel"
|
||||||
subpackages+=" gnuplot-wx gnuplot-qt"
|
subpackages+=" gnuplot-wx gnuplot-qt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,13 +29,6 @@ alternatives="gnuplot:gnuplot:/usr/bin/gnuplot-x11"
|
||||||
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# fix fonts location
|
|
||||||
sed -i \
|
|
||||||
-e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \
|
|
||||||
-e 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' \
|
|
||||||
-e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \
|
|
||||||
src/variable.c
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i 's|^\(SUBDIRS =.*\)demo |\1|' Makefile.in
|
sed -i 's|^\(SUBDIRS =.*\)demo |\1|' Makefile.in
|
||||||
sed -i 's|^\(SUBDIRS =.*\)docs |\1|' Makefile.in
|
sed -i 's|^\(SUBDIRS =.*\)docs |\1|' Makefile.in
|
||||||
|
|
Loading…
Add table
Reference in a new issue