aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/scite/scite.SlackBuild18
-rw-r--r--development/scite/scite.info6
2 files changed, 14 insertions, 10 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index b8c79bdd24cc..60c1cedc938c 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scite
-VERSION=${VERSION:-3.7.4}
+VERSION=${VERSION:-5.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,19 +71,23 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf scite/ scintilla/
+rm -rf lexilla/ scite/ scintilla/
tar xvf $CWD/${PRGNAM}$(echo $VERSION | tr -d .).tgz
-chown -R root:root scite/ scintilla/
-chmod -R u+w,go+r-w,a-s scite/ scintilla/
+chown -R root:root lexilla/ scite/ scintilla/
+chmod -R u+w,go+r-w,a-s lexilla/ scite/ scintilla/
+
+cd $TMP/lexilla
+make -C src
cd $TMP/scintilla
-make -C gtk prefix=/usr
+make -C gtk prefix=/usr GTK3=1
cd $TMP/scite
sed -i "s%xdg-open%$HELPBROWSER%g" src/Embedded.properties
sed -i "s%xdg-open%$HELPBROWSER%g" src/SciTEGlobal.properties
-make -C gtk prefix=/usr
-make -C gtk install DESTDIR=$PKG
+sed -i "s%/lib/scite%/lib$LIBDIRSUFFIX/scite%" gtk/makefile
+make -C gtk prefix=/usr GTK3=1
+make -C gtk install GTK3=1 DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/scite/scite.info b/development/scite/scite.info
index 87fee6915536..24c5e0729ef5 100644
--- a/development/scite/scite.info
+++ b/development/scite/scite.info
@@ -1,8 +1,8 @@
PRGNAM="scite"
-VERSION="3.7.4"
+VERSION="5.2.1"
HOMEPAGE="https://scintilla.org/SciTE.html"
-DOWNLOAD="http://downloads.sourceforge.net/project/scintilla/SciTE/3.7.4/scite374.tgz"
-MD5SUM="a22acb7052faee698991d3d94ed3882e"
+DOWNLOAD="http://downloads.sourceforge.net/project/scintilla/SciTE/5.2.1/scite521.tgz"
+MD5SUM="b92cc64016a2ba4fd0423a75aa6bbc31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""