Add maintainers field and check dependencies
This commit is contained in:
@@ -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:
|
||||
- [email protected]
|
||||
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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user