scite: update to 5.0.1.

This commit is contained in:
Leah Neukirchen 2021-04-09 12:46:49 +02:00
parent 1044af65c7
commit 2ca7550482

View file

@ -1,7 +1,7 @@
# Template file for 'scite'
pkgname=scite
version=4.4.6
revision=2
version=5.0.1
revision=1
create_wrksrc=yes
hostmakedepends="pkg-config"
makedepends="gtk+3-devel lua53-devel"
@ -10,13 +10,16 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://www.scintilla.org/SciTEDownload.html"
distfiles="https://www.scintilla.org/scite${version//./}.tgz"
checksum=1c2e6eee6c8aa2e52983d9713a4b1c97d06c376324a3ec8932adfcb9e55d16d1
checksum=6d5d7b9caa895a3b72245e4b7459a678b9325d497c28bc92bc92f21fd65329b7
post_extract() {
sed -i 's/gthread-2.0/& lua/' scite/gtk/makefile
}
do_build() {
make ${makejobs} -C lexilla/src \
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
CC="$CC $LDFLAGS" CXX="$CXX $LDFLAGS" GTK3=1
make ${makejobs} -C scintilla/gtk \
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
CC="$CC $LDFLAGS" CXX="$CXX $LDFLAGS" GTK3=1