Try building only the qml gstreamer plugin in flatpak package

This commit is contained in:
Nicolas Werner 2023-01-18 05:04:45 +01:00
parent 05bfc2893f
commit 3fcd157a60
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 35 additions and 1 deletions

View file

@ -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

View file

@ -20,14 +20,26 @@ 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-*
- /files/share/gdb
- /files/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/validate/
- /lib/libgst*
modules: modules:
- name: lmdb - name: lmdb
sources: sources:
@ -154,6 +166,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