example: add user interaction sample(animation speed).
[platform/core/uifw/rive-tizen.git] / submodule / Dockerfile.recorder
1 FROM google/dart
2
3 RUN apt update && apt-get -y install unzip zip clang cmake ninja-build pkg-config libgtk-3-dev xvfb cargo wget g++ lsof nasm yasm mediainfo
4
5 # Setup env variables for rive-cpp compilation
6 ENV LDFLAGS="-pthreads"
7 ENV CC=/usr/bin/clang
8 ENV CXX=/usr/bin/clang++
9
10 WORKDIR /
11 ENV PATH "$PATH:/flutter/bin:/root/.cargo/bin:/app/skia/thumbnail_generator/build/bin/debug/"
12
13 # Install premake 
14 RUN wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-linux.tar.gz
15 RUN tar -xvf premake-5.0.0-alpha15-linux.tar.gz
16 RUN mv premake5 /usr/bin/
17
18 # install skia
19 ADD skia/dependencies/make_skia.sh  /app/skia/dependencies/make_skia.sh
20 WORKDIR /app/skia/dependencies
21 RUN /app/skia/dependencies/make_skia.sh
22
23 # install x264
24 ADD skia/dependencies/make_x264.sh  /app/skia/dependencies/make_x264.sh
25 RUN /app/skia/dependencies/make_x264.sh
26
27 # install ffmpeg
28 ADD skia/dependencies/make_ffmpeg.sh  /app/skia/dependencies/make_ffmpeg.sh
29 # this one is fun. :psyduck:
30 # we have pthread not pthreads.. how does this work further up? kill me. 
31 RUN LDFLAGS="" /app/skia/dependencies/make_ffmpeg.sh
32
33 ADD .  /app/
34 WORKDIR /app/skia/recorder
35 RUN ./build.sh
36 # obvs still need more...