Commit 8bce7c48 authored by Volker Krause's avatar Volker Krause Committed by Torsten Rahn
Browse files

Add build environment for maps.kde.org

parent 5b9471e0
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get -y install \
cmake \
g++ \
git \
libprotobuf-dev \
libqt5svg5-dev \
libshp-dev \
protobuf-compiler \
qtbase5-dev \
qtdeclarative5-dev
COPY build-tilegenerator.sh /usr/bin/
build: image
mkdir -p output
docker run -it --rm -v `pwd`/output:/output vkrause/marble-builder build-tilegenerator.sh
image: Dockerfile build-tilegenerator.sh
docker build -t vkrause/marble-builder .
#!/bin/bash
cd
git clone https://invent.kde.org/education/marble
cd marble
mkdir build
cd build
cmake -DSTATIC_BUILD=1 \
-DMARBLE_NO_WEBKITWIDGETS=TRUE \
-DMARBLE_NO_DBUS=TRUE \
-DBUILD_MARBLE_TOOLS=ON \
-DBUILD_MARBLE_APPS=OFF \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
-DCMAKE_BUILD_TYPE=Release ..
make -j 4
# extract the relevant output
mkdir -p /output/usr/bin
cp tools/vectorosm-tilecreator/marble-vectorosm-tirex-backend /output/usr/bin/
cp tools/vectorosm-tilecreator/marble-vectorosm-process-land-polygons /output/usr/bin/
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