system/torrent-file-editor: Updated for version 0.3.18.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
xaizek 2023-07-02 21:16:14 +07:00 committed by Willy Sudiarto Raharjo
parent bc014a35b2
commit ba4d674556
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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=""