Skip to content

Commit

Permalink
android-file-transfer-cli: new package at 4.2 (#1084)
Browse files Browse the repository at this point in the history
* android-file-transfer-cli: new package at 4.2

* android-file-transfer-cli: add fuse2 dependecy for aft-mtp-mount

* android-file-transfer-cli: fix build file
  • Loading branch information
fluorescent-haze committed May 15, 2022
1 parent fbccc55 commit 448947c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions community/android-file-transfer-cli/build
@@ -0,0 +1,16 @@
#!/bin/sh -e

export DESTDIR="$1"

cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_MTPZ=False \
-DBUILD_QT_UI=False \
-DBUILD_PYTHON=False

cmake --build build
cmake --install build

# remove useless static library
rm -f "$1/usr/lib/libmtp-ng-static.a"
1 change: 1 addition & 0 deletions community/android-file-transfer-cli/checksums
@@ -0,0 +1 @@
cc607d68e8a18273c9b56975a70a0e68fbdf9d5b903b2727a345a605ff48a19f
3 changes: 3 additions & 0 deletions community/android-file-transfer-cli/depends
@@ -0,0 +1,3 @@
cmake make
readline
fuse2
1 change: 1 addition & 0 deletions community/android-file-transfer-cli/sources
@@ -0,0 +1 @@
https://github.com/whoozle/android-file-transfer-linux/archive/refs/tags/vVERSION.tar.gz
1 change: 1 addition & 0 deletions community/android-file-transfer-cli/version
@@ -0,0 +1 @@
4.2 1

0 comments on commit 448947c

Please sign in to comment.