2020-03-25 19:04:56 +11:00
|
|
|
id: io.github.mirukana.mirage
|
|
|
|
runtime: org.kde.Platform
|
|
|
|
sdk: org.kde.Sdk
|
2020-05-23 05:04:58 +10:00
|
|
|
runtime-version: "5.14"
|
2020-03-25 19:04:56 +11:00
|
|
|
|
|
|
|
command: mirage
|
|
|
|
finish-args:
|
|
|
|
- --share=ipc
|
|
|
|
- --share=network
|
|
|
|
- --socket=x11
|
|
|
|
- --socket=wayland
|
2021-03-02 00:37:09 +11:00
|
|
|
- --socket=pulseaudio
|
2020-03-25 19:04:56 +11:00
|
|
|
- --device=dri
|
2020-07-18 03:25:07 +10:00
|
|
|
- --filesystem=host
|
2020-03-25 19:04:56 +11:00
|
|
|
- --talk-name=org.freedesktop.Notifications
|
|
|
|
|
|
|
|
rename-icon: mirage
|
|
|
|
rename-desktop-file: mirage.desktop
|
|
|
|
|
|
|
|
cleanup:
|
|
|
|
- /app/include
|
|
|
|
- /app/usr/tests
|
|
|
|
- /app/lib/cmake
|
|
|
|
- /app/bin/cairosvg
|
|
|
|
- /app/bin/chardetect
|
|
|
|
- /app/bin/futurize
|
|
|
|
- /app/bin/jsonschema
|
|
|
|
- /app/bin/pasteurize
|
|
|
|
- /app/bin/pwiz.py
|
2021-03-02 00:37:09 +11:00
|
|
|
- /app/bin/watchgod
|
2020-03-25 19:04:56 +11:00
|
|
|
|
|
|
|
modules:
|
|
|
|
- name: pyotherside
|
|
|
|
buildsystem: qmake
|
|
|
|
make-install-args:
|
|
|
|
- INSTALL_ROOT=/app
|
|
|
|
post-install:
|
|
|
|
- mkdir -p /app/lib/qml
|
|
|
|
- ln -s /app/usr/lib/qml/io /app/lib/qml
|
|
|
|
sources:
|
|
|
|
- type: archive
|
|
|
|
url: https://github.com/thp/pyotherside/archive/1.5.3.tar.gz
|
|
|
|
sha256: 00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805
|
|
|
|
|
|
|
|
- name: olm
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.matrix.org/matrix-org/olm.git
|
2021-03-02 00:37:09 +11:00
|
|
|
tag: 3.2.2
|
|
|
|
commit: 3745ea57bbce319ac2f190e02062e45a46d23471
|
2020-03-25 19:04:56 +11:00
|
|
|
disable-shallow-clone: true
|
|
|
|
config-opts:
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
2020-03-27 20:40:23 +11:00
|
|
|
|
2020-03-25 19:04:56 +11:00
|
|
|
- name: libzen
|
|
|
|
subdir: Project/GNU/Library
|
|
|
|
config-opts:
|
|
|
|
- --enable-shared
|
|
|
|
- --disable-static
|
|
|
|
cleanup:
|
|
|
|
- /bin
|
|
|
|
- /include
|
|
|
|
- /lib/pkgconfig
|
|
|
|
- /lib/*.la
|
2020-03-27 20:40:23 +11:00
|
|
|
sources:
|
2020-03-25 19:04:56 +11:00
|
|
|
- type: archive
|
|
|
|
url: https://mediaarea.net/download/source/libzen/0.4.37/libzen_0.4.37.tar.xz
|
|
|
|
sha256: 38c0a68b715b55d6685d2759eecda040adf37bd066955d79a5d01f91977bd9a0
|
|
|
|
|
|
|
|
- name: libmediainfo
|
|
|
|
subdir: Project/GNU/Library
|
|
|
|
config-opts:
|
|
|
|
- --enable-shared
|
|
|
|
- --disable-static
|
|
|
|
- --with-libcurl
|
|
|
|
cleanup:
|
|
|
|
- /bin
|
|
|
|
- /include
|
|
|
|
- /lib/pkgconfig
|
|
|
|
- /lib/*.la
|
|
|
|
sources:
|
|
|
|
- type: archive
|
|
|
|
url: https://mediaarea.net/download/source/libmediainfo/19.09/libmediainfo_19.09.tar.xz
|
|
|
|
sha256: ff06e1a449dfbe6f2c51f27ae1187d3e72386cb54476fbb189ffaacf845f478e
|
|
|
|
|
|
|
|
# Python dependencies
|
|
|
|
- name: PLACEHOLDER PYTHON DEPENDENCIES
|
|
|
|
|
2020-03-27 20:40:23 +11:00
|
|
|
# matrix-nio separate
|
2020-03-25 19:04:56 +11:00
|
|
|
- name: python3-matrix-nio
|
|
|
|
buildsystem: simple
|
2020-03-27 20:40:23 +11:00
|
|
|
build-commands:
|
2020-03-25 19:04:56 +11:00
|
|
|
- pip3 install --prefix=${FLATPAK_DEST} .
|
2021-03-02 00:37:09 +11:00
|
|
|
# network access required for poetry
|
|
|
|
build-options:
|
|
|
|
build-args:
|
|
|
|
- --share=network
|
2020-03-27 20:40:23 +11:00
|
|
|
sources:
|
2020-03-25 19:04:56 +11:00
|
|
|
- type: git
|
|
|
|
url: https://github.com/mirukana/matrix-nio.git
|
2021-03-02 00:37:09 +11:00
|
|
|
commit: cd95f409ea2d4c20c619225e44245c178074da68
|
2020-03-25 19:04:56 +11:00
|
|
|
|
|
|
|
- name: mirage
|
|
|
|
buildsystem: qmake
|
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: ../..
|
2020-03-26 22:44:02 +11:00
|
|
|
skip:
|
|
|
|
- build
|
|
|
|
- .git
|
|
|
|
- .flatpak-builder
|
2020-03-25 19:04:56 +11:00
|
|
|
|
|
|
|
# - name: mirage
|
|
|
|
# buildsystem: qmake
|
|
|
|
# sources:
|
|
|
|
# - type: git
|
|
|
|
# url: https://github.com/mirukana/mirage.git
|
2020-04-03 22:56:42 +11:00
|
|
|
# tag: v0.4.3
|