aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2023-11-06 14:51:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-11 08:07:55 +0700
commit213f12006da7075839e0b37ed9612b97ff1ed727 (patch)
treefeb37c9cea47a21708e8c4ae61a26959b3e4a829 /development
parentc78f29c6b695de87a9b65b357a360a7c6d766ada (diff)
development/textadept: updated for version 12.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/textadept/textadept.SlackBuild9
-rw-r--r--development/textadept/textadept.info16
-rw-r--r--development/textadept/update_urls.sh3
3 files changed, 16 insertions, 12 deletions
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild
index 6aad3bc47591..1b4f222af2b1 100644
--- a/development/textadept/textadept.SlackBuild
+++ b/development/textadept/textadept.SlackBuild
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=textadept
-VERSION=${VERSION:-12.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-12.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,8 +92,9 @@ ln -s $CWD/*lua-5.4.6.tar.gz build/_deps/lua-5.4.6.tar.gz
ln -s $CWD/*PDCurses-3.9.zip build/_deps/PDCurses-3.9.zip
ln -s $CWD/*1.0.zip build/_deps/1.0.zip
ln -s $CWD/*scinterm_5.0.zip build/_deps/scinterm_5.0.zip
-ln -s $CWD/*scintilla536.tgz build/_deps/scintilla536.tgz
-ln -s $CWD/*e88bbcfecae46b48b79d8156ea7129411b5c847d.zip build/_deps/e88bbcfecae46b48b79d8156ea7129411b5c847d.zip
+ln -s $CWD/*scintilla537.tgz build/_deps/scintilla537.tgz
+ln -s $CWD/*48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip build/_deps/48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip
+ln -s $CWD/*3.4.0.zip build/_deps/v3.4.0.zip
ln -s $CWD/*libtermkey-0.22.tar.gz build/_deps/libtermkey-0.22.tar.gz
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PKG/usr \
diff --git a/development/textadept/textadept.info b/development/textadept/textadept.info
index 26c29d3a9735..cc38cc505cd0 100644
--- a/development/textadept/textadept.info
+++ b/development/textadept/textadept.info
@@ -1,7 +1,7 @@
PRGNAM="textadept"
-VERSION="12.1"
+VERSION="12.2"
HOMEPAGE="https://foicica.com/textadept/"
-DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.1/textadept-textadept_12.1.tar.gz \
+DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.2/textadept-textadept_12.2.tar.gz \
https://github.com/ThomasDickey/cdk-snapshots/archive/refs/tags/t20200923.tar.gz \
https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz \
https://www.scintilla.org/lexilla510.tgz \
@@ -11,10 +11,11 @@ DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.1/texta
https://prdownloads.sourceforge.net/pdcurses/PDCurses-3.9.zip \
https://github.com/orbitalquark/lua-std-regex/archive/1.0.zip \
https://github.com/orbitalquark/scinterm/archive/scinterm_5.0.zip \
- https://www.scintilla.org/scintilla536.tgz \
- https://github.com/orbitalquark/scintillua/archive/e88bbcfecae46b48b79d8156ea7129411b5c847d.zip \
+ https://www.scintilla.org/scintilla537.tgz \
+ https://github.com/orbitalquark/scintillua/archive/48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip \
+ https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.4.0.zip \
https://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz"
-MD5SUM="ae795366cf30c82c33c85598df329134 \
+MD5SUM="1151132912f2687ffc360027944ea27c \
0908cb133f473506a40807c0204a960a \
d718cd5a59438be666d1575855be72c3 \
210fab20f43c7d77af7249fd50c2cdc1 \
@@ -24,8 +25,9 @@ MD5SUM="ae795366cf30c82c33c85598df329134 \
06d657aec0e655d5a335c5a5dc888ef3 \
c3314ca8c5be471888342efeee3a46d2 \
dd7c1f88dd42ae5f2113ba5fe0df2561 \
- 15a356949d7386827d8881c0cc2a30e9 \
- dc6ef03e04a76f4c765ee46c41978c34 \
+ 75566724010a1a488b831434824425db \
+ 88ebd6a8c79685c1d6339357faccc76e \
+ 93b78904c173f13b88ce1398f8d8e576 \
08bf514d59660391c3a21b3977a16c8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/textadept/update_urls.sh b/development/textadept/update_urls.sh
index 123b10e0ead2..c7492a5b49df 100644
--- a/development/textadept/update_urls.sh
+++ b/development/textadept/update_urls.sh
@@ -1,7 +1,6 @@
#!/bin/bash
# Helper for maintainer when updating textadept.info, and textadept.SlackBuild
# for third party sources files used when building.
-
VERSION=$(grep VERSION textadept.info | cut -d\" -f2)
url=$(grep DOWNLOAD textadept.info | cut -d\" -f2 | tr -d ' \\\"')
md5_=$(curl -Ls $url | md5sum | cut -d\ -f1)
@@ -14,6 +13,8 @@ for pkg in $(grep "_url " CMakeLists.txt | cut -d\( -f2| cut -d_ -f1 | sort -u);
file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
[ -z "$file" ] && ext=zip && file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
url=$(grep "(${pkg}_url https" CMakeLists.txt | sed "s#.*${pkg}_url \(.*\)..${pkg}_${ext}..#\1${file}#")
+ [ -z "$url" ] && url=$(grep -Pzo "(?s)\(${pkg}_url\s*https\N*" CMakeLists.txt | tr -d '\n' | sed "s#.*${pkg}_url.*\(https.*\)..${pkg}_${ext}.*#\1${file}#")
+ #echo "$pkg.$ext[$file]: $url"
md5=( "${md5[@]}" $(curl -Ls $url | md5sum | cut -d\ -f1))
files=( "${files[@]}" $file)
echo -ne " \\\\\\n $url"