Categories:
  - Multimedia
License: MPL-2.0
WebSite: https://wiki.documentfoundation.org/Android
SourceCode: https://cgit.freedesktop.org/libreoffice/core/tree
IssueTracker: https://bugs.documentfoundation.org
Donate: https://donate.libreoffice.org

Name: LibreOffice Viewer Beta
Summary: Document Viewer
Description: |-
    LibreOffice Viewer uses the same engine as LibreOffice for Windows, Mac, and
    Linux. This, combined with a new front-end based on Firefox for Android, reads
    documents similarly to LibreOffice desktop.

    Supported files:

    * Open Document Format (.odt, .odp, .ods, .ots, .ott, .otp)
    * Microsoft Office 2007/2010/2013 (.docx, .pptx, .xlsx, .dotx, .xltx, .ppsx)
    * Microsoft Office 97/2000/XP/2003 (.doc, .ppt, .xls, .dot, .xlt, .pps)

    Coming in future releases:

    * Interactive document elements (e.g. URLs)
    * Support for browsing external SD storage
    * Many more features planned

    Usability:

    * Beta status, has crashing bugs

    This package is the preview version. To download the last release see
    [[org.documentfoundation.libreoffice]].

RepoType: git
Repo: git://anongit.freedesktop.org/libreoffice/core

Builds:
  - versionName: 4.5.0.0.alpha0+/7f68f67
    versionCode: 6
    disable: Remove old alpha build
    commit: 7f68f67
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@c873ae6f
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=6

  - versionName: 4.5.0.0.alpha0+/3f1713b
    versionCode: 7
    commit: 3f1713b
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@c873ae6f
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=7

  - versionName: 4.5.0.0.alpha0+/3f1713b
    versionCode: 8
    commit: 3f1713b
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@c873ae6f
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=8

  - versionName: 4.5.0.0.alpha0+/2f6bc9c
    versionCode: 9
    commit: 2f6bc9c
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@c873ae6f
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=9

  - versionName: 4.5.0.0.alpha0+/2f6bc9c
    versionCode: 10
    commit: 2f6bc9c
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@c873ae6f
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=10

  - versionName: 4.5.0.0.alpha0+/2d6e16f
    versionCode: 11
    commit: 2d6e16f
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@187cf421
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
      - echo "***HOTFIX***"
      - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml
      - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g'
        android/experimental/LOAndroid3/res/values/themes.xml
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=11

  - versionName: 4.5.0.0.alpha0+/2d6e16f
    versionCode: 12
    commit: 2d6e16f
    output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk
    srclibs:
      - LOTarballs@187cf421
    prebuild:
      - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared
      - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac
      - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac
      - echo "***HOTFIX***"
      - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml
      - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g'
        android/experimental/LOAndroid3/res/values/themes.xml
    build:
      - ln -s ../$$LOTarballs$$ external/tarballs
      - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice"
        --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9
        --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no
        --with-system-libxml=no --with-x=no --disable-gconf --disable-python"
      - make versionCode=12

ArchivePolicy: 0 versions
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 4.5.0.0.alpha0+/2d6e16f
CurrentVersionCode: 12
