2021-03-15 23:15:53 +03:00
|
|
|
id: io.github.NhekoReborn.Nheko
|
|
|
|
command: nheko
|
|
|
|
runtime: org.kde.Platform
|
|
|
|
runtime-version: '5.15'
|
|
|
|
sdk: org.kde.Sdk
|
|
|
|
rename-icon: nheko
|
|
|
|
rename-desktop-file: nheko.desktop
|
|
|
|
rename-appdata-file: nheko.appdata.xml
|
|
|
|
finish-args:
|
|
|
|
- --device=dri
|
|
|
|
# needed for webcams, see #517
|
|
|
|
- --device=all
|
|
|
|
- --share=ipc
|
|
|
|
- --share=network
|
|
|
|
- --socket=pulseaudio
|
|
|
|
- --socket=wayland
|
|
|
|
- --socket=x11
|
|
|
|
- --talk-name=org.freedesktop.Notifications
|
2021-05-23 20:39:12 +03:00
|
|
|
- --talk-name=org.freedesktop.secrets
|
|
|
|
- --talk-name=org.freedesktop.StatusNotifierItem
|
|
|
|
- --talk-name=org.kde.*
|
2021-08-07 02:24:13 +03:00
|
|
|
# needed for SingleApplication to work
|
|
|
|
- --allow=per-app-dev-shm
|
2021-03-15 23:15:53 +03:00
|
|
|
cleanup:
|
|
|
|
- /include
|
|
|
|
- /bin/mdb*
|
|
|
|
- '*.a'
|
|
|
|
build-options:
|
|
|
|
arch:
|
|
|
|
aarch64:
|
|
|
|
cxxflags: -DBOOST_ASIO_DISABLE_EPOLL
|
|
|
|
modules:
|
|
|
|
- name: lmdb
|
|
|
|
sources:
|
|
|
|
- sha256: f3927859882eb608868c8c31586bb7eb84562a40a6bf5cc3e13b6b564641ea28
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz
|
|
|
|
make-install-args:
|
|
|
|
- prefix=/app
|
|
|
|
no-autogen: true
|
|
|
|
subdir: libraries/liblmdb
|
2021-06-30 16:01:59 +03:00
|
|
|
- name: libevent
|
|
|
|
buildsystem: autotools
|
|
|
|
config-opts:
|
|
|
|
- --disable-shared
|
|
|
|
- --prefix=/app
|
|
|
|
- --disable-openssl
|
|
|
|
sources:
|
|
|
|
- sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
|
|
|
|
make-install-args:
|
|
|
|
- prefix=/app
|
|
|
|
no-autogen: true
|
2021-03-15 23:15:53 +03:00
|
|
|
- name: cmark
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
builddir: true
|
|
|
|
config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMARK_TESTS=OFF
|
|
|
|
sources:
|
|
|
|
- sha256: 2558ace3cbeff85610de3bda32858f722b359acdadf0c4691851865bb84924a6
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/commonmark/cmark/archive/0.29.0.tar.gz
|
|
|
|
- name: spdlog
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DSPDLOG_BUILD_EXAMPLES=0
|
|
|
|
- -DSPDLOG_BUILD_BENCH=0
|
|
|
|
- -DSPDLOG_BUILD_TESTING=0
|
|
|
|
sources:
|
|
|
|
- sha256: 5197b3147cfcfaa67dd564db7b878e4a4b3d9f3443801722b3915cdeced656cb
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/gabime/spdlog/archive/v1.8.1.tar.gz
|
|
|
|
- config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
name: olm
|
|
|
|
sources:
|
2021-06-14 18:41:11 +03:00
|
|
|
- commit: 64afab93645957846d936a19b8501dbd3f2cc4a1
|
2021-03-15 23:15:53 +03:00
|
|
|
disable-shallow-clone: true
|
2021-06-14 18:41:11 +03:00
|
|
|
tag: 3.2.4
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://gitlab.matrix.org/matrix-org/olm.git
|
|
|
|
- config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DBUILD_TEST_APPLICATION=OFF
|
|
|
|
- -DQTKEYCHAIN_STATIC=ON
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
name: QtKeychain
|
|
|
|
sources:
|
|
|
|
- commit: 815fe610353ff8ad7e2f1121c368a74df8db5eb7
|
|
|
|
tag: v0.12.0
|
|
|
|
type: git
|
|
|
|
url: https://github.com/frankosterfeld/qtkeychain.git
|
|
|
|
- config-opts:
|
|
|
|
- -DJSON_BuildTests=OFF
|
|
|
|
buildsystem: cmake
|
|
|
|
name: nlohmann
|
|
|
|
sources:
|
|
|
|
- sha256: d51a3a8d3efbb1139d7608e28782ea9efea7e7933157e8ff8184901efd8ee760
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/nlohmann/json/archive/v3.7.0.tar.gz
|
|
|
|
- buildsystem: meson
|
|
|
|
name: gstreamer
|
|
|
|
sources:
|
|
|
|
- commit: a42fe476d3ee5576921f67a331464065ec33b9a4
|
|
|
|
tag: 1.18.3
|
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
|
|
|
|
- config-opts:
|
|
|
|
- -Dcompositor=enabled
|
|
|
|
- -Dgl=enabled
|
|
|
|
buildsystem: meson
|
|
|
|
name: gstreamer-plugins-base
|
|
|
|
sources:
|
|
|
|
- commit: 2cc319ee13f6b72df3d432b7c75aca81feb260e5
|
|
|
|
tag: 1.18.3
|
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
|
|
|
|
- config-opts:
|
|
|
|
- -Dpulse=enabled
|
|
|
|
- -Dqt5=enabled
|
|
|
|
- -Drtp=enabled
|
|
|
|
- -Drtpmanager=enabled
|
|
|
|
- -Dvpx=enabled
|
|
|
|
buildsystem: meson
|
|
|
|
name: gstreamer-plugins-good
|
|
|
|
sources:
|
|
|
|
- commit: e816c6cd73c9e0676828c9e227a049ebad3d019f
|
|
|
|
tag: 1.18.3
|
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
|
|
|
|
- config-opts:
|
|
|
|
- -Ddtls=enabled
|
|
|
|
- -Dgl=enabled
|
|
|
|
- -Dopenh264=enabled
|
|
|
|
- -Dopus=enabled
|
|
|
|
- -Dsrtp=enabled
|
|
|
|
- -Dwebrtc=enabled
|
|
|
|
- -Dflite=disabled
|
|
|
|
buildsystem: meson
|
|
|
|
name: gstreamer-plugins-bad
|
|
|
|
sources:
|
|
|
|
- commit: 382e373d9be363f1e21b12990a4d12f1ecb6df41
|
|
|
|
tag: 1.18.3
|
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
|
2021-06-30 14:05:18 +03:00
|
|
|
- buildsystem: meson
|
2021-06-30 16:01:59 +03:00
|
|
|
config-opts:
|
|
|
|
- -Ddefault_library=static
|
2021-06-30 14:05:18 +03:00
|
|
|
name: coeurl
|
|
|
|
sources:
|
2021-08-12 02:29:43 +03:00
|
|
|
- commit: 3901507db25cf3f9364b58cd8c7880640900c992
|
2021-06-30 14:05:18 +03:00
|
|
|
type: git
|
|
|
|
url: https://nheko.im/nheko-reborn/coeurl.git
|
2021-03-15 23:15:53 +03:00
|
|
|
- config-opts:
|
|
|
|
- -DBUILD_LIB_TESTS=OFF
|
|
|
|
- -DBUILD_LIB_EXAMPLES=OFF
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DBUILD_SHARED_LIBS=OFF
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
name: mtxclient
|
|
|
|
sources:
|
2021-11-08 19:00:52 +03:00
|
|
|
- commit: fc5d01c775bde656b6d69954189522d138efe022
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://github.com/Nheko-Reborn/mtxclient.git
|
|
|
|
- config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DLMDBXX_INCLUDE_DIR=.deps/lmdbxx
|
|
|
|
- -DCOMPILE_QML=ON
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
name: nheko
|
|
|
|
sources:
|
|
|
|
- path: .
|
|
|
|
type: dir
|
|
|
|
skip:
|
|
|
|
- build-flatpak
|
|
|
|
- dest: .deps/lmdbxx
|
|
|
|
sha256: 5e12eb3aefe9050068af7df2c663edabc977ef34c9e7ba7b9d2c43e0ad47d8df
|
|
|
|
type: archive
|
|
|
|
url: https://github.com/hoytech/lmdbxx/archive/1.0.0.tar.gz
|