summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2021-04-17 02:43:44 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-17 11:47:41 +0700
commit2288e8520334c7c3cff27e2c136d8f28707ce6f0 (patch)
tree5c0f973b1cf570d737436e7540e6cc79bdbbaabe /system
parent8df7bcaad7633309b816a6b3651359f46b252c50 (diff)
downloadslackbuilds-2288e8520334c7c3cff27e2c136d8f28707ce6f0.tar.gz
system/android-file-transfer: Updated for version 4.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/android-file-transfer/README8
-rw-r--r--system/android-file-transfer/android-file-transfer.SlackBuild10
-rw-r--r--system/android-file-transfer/android-file-transfer.info8
3 files changed, 14 insertions, 12 deletions
diff --git a/system/android-file-transfer/README b/system/android-file-transfer/README
index a2ec55f725..a0b712341a 100644
--- a/system/android-file-transfer/README
+++ b/system/android-file-transfer/README
@@ -1,8 +1,10 @@
Android File Transfer for Linux - reliable MTP client with
minimalistic UI similar to Android File Transfer for Mac.
-Android File Transfer by default builds qt4 ui (or qt5,
-if installed). However, in building only the client,
-without ui, run the script with the following command:
+Android File Transfer by default builds qt5 ui. This version
+of Android File Transfer does not support qt4 ui.
+
+In building only the command-line client (this does not require
+qt5), run the script with the following command:
QT_GUI=no ./android-file-transfer.SlackBuild
diff --git a/system/android-file-transfer/android-file-transfer.SlackBuild b/system/android-file-transfer/android-file-transfer.SlackBuild
index 809af5be97..07699f3c7d 100644
--- a/system/android-file-transfer/android-file-transfer.SlackBuild
+++ b/system/android-file-transfer/android-file-transfer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for android-file-transfer
#
-# Copyright 2019 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2019-2021 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=android-file-transfer
-VERSION=${VERSION:-3.9}
+VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,9 +81,9 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release .. \
- -DBUILD_QT_UI=$GUI
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUILD_QT_UI=$GUI \
+ -DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
diff --git a/system/android-file-transfer/android-file-transfer.info b/system/android-file-transfer/android-file-transfer.info
index e2ec031b1b..256a032663 100644
--- a/system/android-file-transfer/android-file-transfer.info
+++ b/system/android-file-transfer/android-file-transfer.info
@@ -1,10 +1,10 @@
PRGNAM="android-file-transfer"
-VERSION="3.9"
+VERSION="4.2"
HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux"
-DOWNLOAD="https://github.com/whoozle/android-file-transfer-linux/archive/v3.9/android-file-transfer-3.9.tar.gz"
-MD5SUM="84c28538f03802a3f0dda71e53564034"
+DOWNLOAD="https://github.com/whoozle/android-file-transfer-linux/archive/v4.2/android-file-transfer-4.2.tar.gz"
+MD5SUM="861de28c87f095a32808d0cbf9bb897a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"