Add maintainers field and check dependencies
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
name: flatpak
|
name: flatpak
|
||||||
description: Linux application sandboxing and distribution framework
|
description: Linux application sandboxing and distribution framework
|
||||||
version: 1.16.3
|
version: 1.16.3
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://flatpak.org/
|
url: https://flatpak.org/
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
@@ -38,6 +40,8 @@ make_depends:
|
|||||||
- python-pyparsing
|
- python-pyparsing
|
||||||
- wayland-protocols
|
- wayland-protocols
|
||||||
- xmlto
|
- xmlto
|
||||||
|
check_depends:
|
||||||
|
- socat
|
||||||
- valgrind
|
- valgrind
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/flatpak/flatpak/releases/download/${BPM_PKG_VERSION}/flatpak-${BPM_PKG_VERSION}.tar.xz
|
- 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_bubblewrap=bwrap \
|
||||||
-Dsystem_dbus_proxy=xdg-dbus-proxy \
|
-Dsystem_dbus_proxy=xdg-dbus-proxy \
|
||||||
-Dgtkdoc=enabled \
|
-Dgtkdoc=enabled \
|
||||||
-Dtests=false \
|
|
||||||
build
|
build
|
||||||
meson compile -C 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
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user