-
Notifications
You must be signed in to change notification settings - Fork 51
/
clickable.yaml
81 lines (74 loc) · 3 KB
/
clickable.yaml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
clickable_minimum_required: 8.0.0
framework: ubuntu-sdk-20.04
prebuild: git submodule update --init
kill: harbour-amazfish
ignore_review_errors: true
builder: qmake
build_args:
- FLAVOR=uuitk
- CONFIG+=click
- INCLUDEPATH+=${QTMPRIS_LIB_INSTALL_DIR}/usr/include/${ARCH_TRIPLET}/qt5/MprisQt
- INCLUDEPATH+=${QTMPRIS_LIB_INSTALL_DIR}/usr/include/${ARCH_TRIPLET}/qt5
- LIBS+=-L${QTMPRIS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}
env_vars:
PKG_CONFIG_PATH: ${QTMPRIS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/pkgconfig:${NEMO_QML_PLUGIN_DBUS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/pkgconfig
dependencies_target:
- libkdb3-driver-sqlite
- qml-module-org-kde-bluezqt
- libkdb3-dev
- libkf5contacts-dev
- libkf5archive-dev
- libkf5coreaddons-dev
- libdbus-1-dev
- libtelepathy-qt5-dev
libraries:
qtmpris:
src_dir: 3rdparty/qtmpris
prebuild:
- mkdir -p ${ROOT}/3rdparty
- git -C ${SRC_DIR} pull || git clone https://github.com/sailfishos/qtmpris ${SRC_DIR}
builder: qmake
nemo-qml-plugin-dbus:
src_dir: 3rdparty/nemo-qml-plugin-dbus
prebuild:
- mkdir -p ${ROOT}/3rdparty
- git -C ${SRC_DIR} pull || git clone https://github.com/sailfishos/nemo-qml-plugin-dbus ${SRC_DIR}
builder: qmake
maplibre-gl-native:
src_dir: 3rdparty/maplibre-gl-native
prebuild:
- mkdir -p ${ROOT}/3rdparty
- rm -rf ${ROOT}/3rdparty/maplibre-gl-native
- git clone -b qt-v2.0.1 --recursive --shallow-submodules --depth 1 https://github.com/maplibre/maplibre-gl-native.git ${SRC_DIR}
- cd ${ROOT}/3rdparty/maplibre-gl-native && git apply --verbose ${ROOT}/click/disable-armhf-version-check.patch
- cd ${ROOT}/3rdparty/maplibre-gl-native && git apply --verbose ${ROOT}/click/enable-clang-cross-compiling.patch
- cd ${ROOT}/3rdparty/maplibre-gl-native && git apply --verbose ${ROOT}/click/fix-compilation-with-clickable.patch
builder: cmake
build_args:
- -DMBGL_WITH_QT=ON
- -DMBGL_WITH_WERROR=OFF
- -DMBGL_WITH_QT_HEADLESS=OFF
- -DMBGL_QT_LIBRARY_ONLY=ON
- -DMBGL_QT_STATIC=OFF
mapbox-gl-qml:
src_dir: 3rdparty/mapbox-gl-qml
prebuild:
- mkdir -p ${ROOT}/3rdparty
- rm -rf ${ROOT}/3rdparty/mapbox-gl-qml
- git clone -b 2.1.1 --recursive --shallow-submodules --depth 1 https://github.com/rinigus/mapbox-gl-qml.git ${SRC_DIR}
builder: cmake
build_args:
- -DCMAKE_CXX_STANDARD=14
install_lib:
- ${NEMO_QML_PLUGIN_DBUS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/libnemodbus.so*
- ${QTMPRIS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/libmpris-qt5.so*
- ${MAPLIBRE_GL_NATIVE_LIB_INSTALL_DIR}/lib/libQMapLibreGL.so*
- /usr/lib/${ARCH_TRIPLET}/libKDb3.so*
- /usr/lib/${ARCH_TRIPLET}/libKF5BluezQt.so*
install_data:
/usr/lib/${ARCH_TRIPLET}/qt5/plugins/kdb3: bin
install_qml:
- ${NEMO_QML_PLUGIN_DBUS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/qt5/qml/Nemo/DBus
- ${QTMPRIS_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/qt5/qml/org/nemomobile/mpris
- ${MAPBOX_GL_QML_LIB_INSTALL_DIR}/usr/lib/${ARCH_TRIPLET}/qt5/qml/MapboxMap
- /usr/lib/${ARCH_TRIPLET}/qt5/qml/org/kde/bluezqt