Commit a9e34691 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Android: include a script to build vlc-qt

parent 9865b018
Pipeline #1157 skipped with stage
......@@ -164,8 +164,8 @@ RUN sudo sed -i.bak "s|#define QT_NO_DBUS|//#define QT_NO_DBUS //we install i
# needs to be after building qt, otherwise it breaks weirdly
ENV QMAKESPEC android-clang
COPY build-qt build-generic build-eigen build-poppler target-from-manifest.py target-from-appdata.py build-kde-dependencies build-kde-project skip /opt/helpers/
RUN /opt/helpers/build-cmake libintl-lite https://github.com/j-jorge/libintl-lite.git
COPY build-qt build-generic build-eigen build-poppler build-vlcqt target-from-manifest.py target-from-appdata.py build-kde-dependencies build-kde-project skip /opt/helpers/
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
......
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PATH=$DIR:$PATH
export ANDROID_SDK=$ANDROID_SDK_ROOT
sudo apt install -y autopoint libproxy-dev
mkdir -p $HOME/src/
cd $HOME/src/
if [ ! -d vlc-android ] ; then
git clone https://github.com/videolan/vlc-android.git
fi
cd vlc-android
./compile.sh -a armeabi-v7a
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/build-cmake vlc-qt https://github.com/vlc-qt/vlc-qt.git -DWITH_GLES=ON \
-DLIBVLC_INCLUDE_DIR=/home/user/src/vlc-android/vlc/build-android-arm-linux-androideabi/install/include/ \
-DLIBVLC_LIBRARY=/home/user/src/vlc-android/libvlc/jni/obj/local/armeabi-v7a/libvlc.so \
-DLIBVLCCORE_LIBRARY=/home/user/src/vlc-android/vlc/build-android-arm-linux-androideabi/install/lib/libvlccore.a
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment