fltk: update to 1.3.5.

This commit is contained in:
maxice8 2019-03-20 17:15:05 -03:00 committed by maxice8
parent 7af3a10ff6
commit 7b3aaf531f
1 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'fltk'
pkgname=fltk
version=1.3.4.2
version=1.3.5
revision=1
wrksrc="fltk-${version%.*}-2"
build_style=gnu-configure
configure_args="--enable-threads --enable-xft --enable-shared"
hostmakedepends="man-db"
@ -12,15 +11,15 @@ short_desc="Cross-platform C++ GUI toolkit"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.0-only WITH FLTK-exception"
homepage="https://www.fltk.org/"
distfiles="https://fltk.org/pub/fltk/${version%.*}/fltk-${version%.*}-2-source.tar.gz"
checksum=25d349c18c99508737d48f225a2eb26a43338f9247551cab72a317fa42cda910
distfiles="https://fltk.org/pub/fltk/${version}/fltk-${version}-source.tar.gz"
checksum=8729b2a055f38c1636ba20f749de0853384c1d3e9d1a6b8d4d1305143e115702
pre_build() {
sed -i '/DIRS =/s,test,,' Makefile
vsed -i '/DIRS =/s,test,,' Makefile
}
post_build() {
sed -i fltk-config \
vsed -i fltk-config \
-e's;-specs=/void-packages/common/environment/configure/gccspecs/hardened-cc1 ;;' \
-e's;-specs=/void-packages/common/environment/configure/gccspecs/hardened-ld ;;'
}