com.google.android.sambadocumentsprovider.yml 1.67 KB
Newer Older
Pierre Rudloff's avatar
Pierre Rudloff committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
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