From cb23bf499ded0691d8ebccee6b572a208f500796 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 2 Feb 2019 23:45:23 +0100 Subject: [PATCH] New app: Android Samba Client --- ....google.android.sambadocumentsprovider.yml | 52 +++++++++++++++++++ srclibs/samba.txt | 2 + 2 files changed, 54 insertions(+) create mode 100644 metadata/com.google.android.sambadocumentsprovider.yml create mode 100644 srclibs/samba.txt diff --git a/metadata/com.google.android.sambadocumentsprovider.yml b/metadata/com.google.android.sambadocumentsprovider.yml new file mode 100644 index 0000000000..b727358553 --- /dev/null +++ b/metadata/com.google.android.sambadocumentsprovider.yml @@ -0,0 +1,52 @@ +Categories: + - Connectivity +License: GPL-3.0-or-later +SourceCode: https://github.com/google/samba-documents-provider +IssueTracker: https://github.com/google/samba-documents-provider/issues + +AutoName: Android Samba Client +Summary: Access files shared through a SAMBA share +Description: This app extends the built in File Manager to support connecting to SMB + file shares. You can download and upload your files from your device once the + connection has been set up. The app doesn't support browsing your local network + for shares yet, so you will have to type the full URI (e.g. smb://server/data). + +RepoType: git +Repo: https://github.com/google/samba-documents-provider.git + +Builds: + - versionName: '1.1' + versionCode: 111 + commit: v1.1 + subdir: app/ + gradle: + - yes + srclibs: + - samba@samba-4.5.1 + prebuild: + - CWD=$PWD + - sed -i -e '/arm64-v8a/d' -e '/x86/d' -e '/x86_64/d' build.gradle + - pushd $$samba$$ + - git apply $CWD/../sambapatch.diff + - sed -i -e '/perl_inc.remove/d' buildtools/wafsamba/samba_perl.py + - sed -i -e 's#$ANDROID_SDK/ndk-bundle#$$NDK$$#' -e '/ABI=/d' -e '/PLATFORM_ARCH=/d' + -e '/CMD_PREFIX=/d' configure.sh + - export ABI=arm-linux-androideabi + - export PLATFORM_ARCH=arch-arm + - export CMD_PREFIX=arm-linux-androideabi + - ./configure.sh + build: + - CWD=$PWD + - pushd $$samba$$ + - ./compile.sh + - ./install.sh $CWD/src/main/jniLibs/armeabi-v7a/ + - popd + - mv src/main/jniLibs/armeabi-v7a/includes/ src/main/cpp/samba_includes/ + ndk: r13b + +MaintainerNotes: We only build for ARM, but we could build for more ABIs. + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: '1.1' +CurrentVersionCode: 111 diff --git a/srclibs/samba.txt b/srclibs/samba.txt new file mode 100644 index 0000000000..a8b271b576 --- /dev/null +++ b/srclibs/samba.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://git.samba.org/samba.git