Try building only the qml gstreamer plugin in flatpak package

pull/1304/head
Nicolas Werner 2 years ago
parent 05bfc2893f
commit bbb551f222
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      .gitlab-ci.yml
  2. 33
      io.github.NhekoReborn.Nheko.yaml

@ -172,6 +172,8 @@ build-flatpak-amd64:
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-22.08 - flatpak --noninteractive install --user flathub org.kde.Platform//5.15-22.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-22.08 - flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-22.08
# see https://github.com/flatpak/flatpak-builder/issues/495
- git config --global protocol.file.allow always
script: script:
- export VERSION=$(git describe) - export VERSION=$(git describe)
- mkdir -p build-flatpak - mkdir -p build-flatpak
@ -202,6 +204,8 @@ build-flatpak-arm64:
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-22.08 - flatpak --noninteractive install --user flathub org.kde.Platform//5.15-22.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-22.08 - flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-22.08
# see https://github.com/flatpak/flatpak-builder/issues/495
- git config --global protocol.file.allow always
script: script:
- export VERSION=$(git describe) - export VERSION=$(git describe)
- if [ "$(grep MemTotal /proc/meminfo | tr -cd '[0-9]')" -lt "6000000" ]; then export EXTRA_FLAGS='--jobs=3'; fi - if [ "$(grep MemTotal /proc/meminfo | tr -cd '[0-9]')" -lt "6000000" ]; then export EXTRA_FLAGS='--jobs=3'; fi

@ -20,14 +20,27 @@ finish-args:
- --allow=per-app-dev-shm - --allow=per-app-dev-shm
cleanup: cleanup:
- /include - /include
- /lib/pkgconfig
- /bin/mdb* - /bin/mdb*
- '*.a' - '*.a'
- /libexec - /libexec
- /lib/cmake/ - /lib/cmake
- /bin/cmark - /bin/cmark
- /bin/event_rpcgen.py - /bin/event_rpcgen.py
- /bin/playout - /bin/playout
- /bin/secret-tool - /bin/secret-tool
- /bin/gst-*
- /share/gdb
- /share/gst*
- /lib/girepository-1.0/
- /lib/gst-validate-launcher/
- /lib/gstreamer-1.0/include
- /lib/gstreamer-1.0/include/
- /lib/gstreamer-1.0/libgstcoreelements.so
- /lib/gstreamer-1.0/libgstopengl*
- /lib/gstreamer-1.0/libgstximagesink.so
- /lib/gstreamer-1.0/validate/
- /lib/libgst*
modules: modules:
- name: lmdb - name: lmdb
sources: sources:
@ -154,6 +167,24 @@ modules:
- sha256: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f - sha256: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
type: archive type: archive
url: https://github.com/google/re2/archive/refs/tags/2022-06-01.tar.gz url: https://github.com/google/re2/archive/refs/tags/2022-06-01.tar.gz
- buildsystem: meson
name: gstreamer
sources:
- commit: f7806a854aad960eae3288db4a67a574f92428fe
tag: 1.20.5
type: git
url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
config-opts:
- --auto-features=disabled
- -Dgood=enabled
- -Dgst-plugins-good:qt5=enabled
- -Dqt5=enabled
- -Dbase=enabled
- -Dgst-plugins-base:gl=enabled
- -Dgst-plugins-base:gl_platform=glx,egl
- -Dgst-plugins-base:gl_winsys=x11,wayland
- -Dgst-plugins-base:x11=enabled
- -Dgst-plugins-base:xshm=enabled
- buildsystem: qmake - buildsystem: qmake
name: qt-jdenticon name: qt-jdenticon
no-make-install: true no-make-install: true

Loading…
Cancel
Save