diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b865f14..743f4bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,6 +96,11 @@ jobs: run: | flatpak run --command=xvfb-run org.flatpak.Builder//localtest -a flatpak-builder --version + # Needed by flatpak-github-actions + - name: Check if dbus-daemon works + run: | + flatpak run --command=dbus-daemon org.flatpak.Builder//localtest --version + # Needed by OBS - name: Check if gh works run: | diff --git a/org.flatpak.Builder.BaseApp.json b/org.flatpak.Builder.BaseApp.json index 05465ed..cd7a342 100644 --- a/org.flatpak.Builder.BaseApp.json +++ b/org.flatpak.Builder.BaseApp.json @@ -119,6 +119,25 @@ ] }, "xvfb.json", + { + "name": "dbus", + "config-opts": [ + "--disable-static" + ], + "sources": [ + { + "type": "archive", + "url": "https://dbus.freedesktop.org/releases/dbus/dbus-1.14.10.tar.xz", + "sha256": "ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f", + "x-checker-data": { + "type": "anitya", + "project-id": 5356, + "stable-only": true, + "url-template": "https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz" + } + } + ] + }, { "name": "stemmer", "buildsystem": "simple",