diff --git a/pkg.info b/pkg.info index b8b9aa0..4c77af2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: flatpak description: Linux application sandboxing and distribution framework version: 1.16.3 -revision: 1 +revision: 2 url: https://flatpak.org/ license: LGPL2.1-or-later +maintainers: + - enumdev@enumerated.dev architecture: any type: source depends: @@ -38,6 +40,8 @@ make_depends: - python-pyparsing - wayland-protocols - xmlto +check_depends: + - socat - valgrind downloads: - url: https://github.com/flatpak/flatpak/releases/download/${BPM_PKG_VERSION}/flatpak-${BPM_PKG_VERSION}.tar.xz diff --git a/source.sh b/source.sh index b0ad865..471044a 100644 --- a/source.sh +++ b/source.sh @@ -14,11 +14,16 @@ build() { -Dsystem_bubblewrap=bwrap \ -Dsystem_dbus_proxy=xdg-dbus-proxy \ -Dgtkdoc=enabled \ - -Dtests=false \ build meson compile -C build } +# The check function is executed in the source directory +# This function is used to run tests to verify the package has been compiled correctly +check() { + meson test -C build --print-errorlogs +} + # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() {