aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxaizek <xaizek@posteo.net>2023-07-02 21:16:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:27:54 +0700
commitba4d67455605859fda7469bdea49ae87e3907ec6 (patch)
tree47f9fa2512d09322fb53dda806b929e0d4637710
parentbc014a35b2e95dbd21dd5a32b57a66a309be8e40 (diff)
system/torrent-file-editor: Updated for version 0.3.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/torrent-file-editor/README2
-rw-r--r--system/torrent-file-editor/torrent-file-editor.SlackBuild7
-rw-r--r--system/torrent-file-editor/torrent-file-editor.info6
3 files changed, 9 insertions, 6 deletions
diff --git a/system/torrent-file-editor/README b/system/torrent-file-editor/README
index 689e31ebe502..90bb7576c10f 100644
--- a/system/torrent-file-editor/README
+++ b/system/torrent-file-editor/README
@@ -1,4 +1,4 @@
-GUI tool for creating and editing .torrent files
+torrent-file-editor - GUI tool for creating and editing .torrent files
Cross-platform Qt application intended to create and edit .torrent and
uTorrent .dat files. Replacement for BEncode Editor with modern design
diff --git a/system/torrent-file-editor/torrent-file-editor.SlackBuild b/system/torrent-file-editor/torrent-file-editor.SlackBuild
index eab5fd4ae50f..58c9cdc6148d 100644
--- a/system/torrent-file-editor/torrent-file-editor.SlackBuild
+++ b/system/torrent-file-editor/torrent-file-editor.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=torrent-file-editor
-VERSION=${VERSION:-0.3.17}
+VERSION=${VERSION:-0.3.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,6 +53,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi
@@ -74,6 +76,8 @@ find -L . \
# -Werror is automatically enabled for release mode...
sed -i '/Werror/d' CMakeLists.txt
+# reported version is wrong
+sed -i '/APP_VERSION/s/0.3.17/0.3.18/' CMakeLists.txt
mkdir -p build
cd build
@@ -82,7 +86,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DENABLE_PCH=OFF \
..
make
make install DESTDIR=$PKG
diff --git a/system/torrent-file-editor/torrent-file-editor.info b/system/torrent-file-editor/torrent-file-editor.info
index dfdb5be70b78..c6a005c1c372 100644
--- a/system/torrent-file-editor/torrent-file-editor.info
+++ b/system/torrent-file-editor/torrent-file-editor.info
@@ -1,8 +1,8 @@
PRGNAM="torrent-file-editor"
-VERSION="0.3.17"
+VERSION="0.3.18"
HOMEPAGE="https://torrent-file-editor.github.io/"
-DOWNLOAD="https://github.com/torrent-file-editor/torrent-file-editor/releases/download/v0.3.17/torrent-file-editor-0.3.17.tar.gz"
-MD5SUM="2adb3e38df4d088322ca2fe4dbd8c88c"
+DOWNLOAD="https://github.com/torrent-file-editor/torrent-file-editor/releases/download/v0.3.18/torrent-file-editor-0.3.18.tar.gz"
+MD5SUM="485732108da8017f2588a98d74d8681a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""