2021-03-15 23:15:53 +03:00
|
|
|
id: io.github.NhekoReborn.Nheko
|
|
|
|
command: nheko
|
|
|
|
runtime: org.kde.Platform
|
2021-11-27 02:33:41 +03:00
|
|
|
#runtime-version: '5.15-21.08'
|
|
|
|
# use old runtime, newer one crashes on arm!
|
|
|
|
runtime-version: '5.15'
|
2021-03-15 23:15:53 +03:00
|
|
|
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:
|
2021-11-18 00:23:50 +03:00
|
|
|
- sha256: 6c7d2bcaea1433d977d8fed0b55b71c9d045a7cdf616e3cd2dce9007da753db3
|
2021-03-15 23:15:53 +03:00
|
|
|
type: archive
|
2021-11-18 00:23:50 +03:00
|
|
|
url: https://github.com/commonmark/cmark/archive/0.30.2.tar.gz
|
2021-03-15 23:15:53 +03:00
|
|
|
- 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-12-20 01:31:17 +03:00
|
|
|
- commit: 797183f27f1c8cdb9d4551aaa317bd13ff02401b
|
2021-03-15 23:15:53 +03:00
|
|
|
disable-shallow-clone: true
|
2021-12-20 01:31:17 +03:00
|
|
|
tag: 3.2.8
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://gitlab.matrix.org/matrix-org/olm.git
|
2021-11-18 00:23:50 +03:00
|
|
|
- buildsystem: meson
|
|
|
|
name: libsecret
|
|
|
|
config-opts:
|
|
|
|
- -Dmanpage=false
|
|
|
|
- -Dvapi=false
|
|
|
|
- -Dgtk_doc=false
|
|
|
|
- -Dintrospection=false
|
2021-11-22 07:06:17 +03:00
|
|
|
# https://gitlab.gnome.org/GNOME/libsecret/-/issues/49
|
|
|
|
- -Dgcrypt=false
|
2021-11-18 00:23:50 +03:00
|
|
|
sources:
|
|
|
|
- commit: 3fe635e64efd4b8dbc9ec3548b0bc8034c7665c4
|
|
|
|
tag: 0.20.4
|
|
|
|
type: git
|
|
|
|
url: https://gitlab.gnome.org/GNOME/libsecret.git
|
2021-03-15 23:15:53 +03:00
|
|
|
- config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DBUILD_TEST_APPLICATION=OFF
|
|
|
|
- -DQTKEYCHAIN_STATIC=ON
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
name: QtKeychain
|
|
|
|
sources:
|
2021-11-18 00:23:50 +03:00
|
|
|
- commit: f59ac26be709fd2d8d7a062fab1cf1e67a93806c
|
|
|
|
tag: v0.13.1
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://github.com/frankosterfeld/qtkeychain.git
|
|
|
|
- config-opts:
|
|
|
|
- -DJSON_BuildTests=OFF
|
|
|
|
buildsystem: cmake
|
|
|
|
name: nlohmann
|
|
|
|
sources:
|
2021-11-18 00:23:50 +03:00
|
|
|
- sha256: 1155fd1a83049767360e9a120c43c578145db3204d2b309eba49fbbedd0f4ed3
|
2021-03-15 23:15:53 +03:00
|
|
|
type: archive
|
2021-11-18 00:23:50 +03:00
|
|
|
url: https://github.com/nlohmann/json/archive/v3.10.4.tar.gz
|
2021-03-15 23:15:53 +03:00
|
|
|
- buildsystem: meson
|
|
|
|
name: gstreamer
|
|
|
|
sources:
|
2021-11-18 00:23:50 +03:00
|
|
|
- commit: 71c213f99ad5c8fc8f36a26238483f2bdf7d846a
|
|
|
|
tag: 1.18.5
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
|
|
|
|
- config-opts:
|
|
|
|
- -Dcompositor=enabled
|
|
|
|
- -Dgl=enabled
|
|
|
|
buildsystem: meson
|
|
|
|
name: gstreamer-plugins-base
|
|
|
|
sources:
|
2021-11-18 00:23:50 +03:00
|
|
|
- commit: 57fb883b3f8c6d7a397afc0dfc4a7c2e5af05579
|
|
|
|
tag: 1.18.5
|
2021-03-15 23:15:53 +03:00
|
|
|
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:
|
2021-11-18 00:23:50 +03:00
|
|
|
- commit: 56dec037a80266add6853e4b06e2dc379de757d1
|
|
|
|
tag: 1.18.5
|
2021-03-15 23:15:53 +03:00
|
|
|
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:
|
2021-11-18 00:23:50 +03:00
|
|
|
- commit: d3af58d5b31941caa26c3ded85d7a7b84a91f0cc
|
|
|
|
tag: 1.18.5
|
2021-03-15 23:15:53 +03:00
|
|
|
type: git
|
|
|
|
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
|
2021-11-15 03:23:29 +03:00
|
|
|
- buildsystem: qmake
|
|
|
|
name: qt-jdenticon
|
|
|
|
no-make-install: true
|
|
|
|
build-commands:
|
|
|
|
- mkdir -p /app/bin/
|
|
|
|
- cp libqtjdenticon.so /app/bin/
|
|
|
|
sources:
|
2021-12-20 01:31:17 +03:00
|
|
|
- commit: 0346c228f1d544581dfd72a4dceb84f8714570dd
|
|
|
|
tag: v0.3.0
|
2021-11-15 03:23:29 +03:00
|
|
|
type: git
|
|
|
|
url: https://github.com/Nheko-Reborn/qt-jdenticon.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-12-20 01:31:17 +03:00
|
|
|
- commit: fa108b25a92b0e037723debc4388a300e737dc2d
|
|
|
|
tag: v0.1.1
|
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-12-29 01:34:21 +03:00
|
|
|
- commit: 6a7eaa5006b1a18e132be7655e490d9819158dca
|
|
|
|
#tag: v0.6.1
|
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
|
2021-12-23 00:34:07 +03:00
|
|
|
- -DMAN=OFF
|
2021-03-15 23:15:53 +03:00
|
|
|
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
|