mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
system/torrent-file-editor: Updated for version 0.3.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bc014a35b2
commit
ba4d674556
3 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue