aboutsummaryrefslogtreecommitdiff
path: root/development/scite
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-26 12:12:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:56 +0700
commit844068b35258e025e9eab9a27cbce2abeb0a9b63 (patch)
tree03f4c0d2b1805f9074327bd4a86c11e3c1807402 /development/scite
parentb51acdb58da23ff0a469fe3746cf4a6afc5442d4 (diff)
development/scite: Updated for version 5.2.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/scite')
-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 b8c79bdd24cc1..60c1cedc938c0 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 87fee69155366..24c5e0729ef50 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=""