Add package flags

This commit is contained in:
2026-06-26 21:07:08 +03:00
parent fb853a2c65
commit 0c64a9440f
2 changed files with 19 additions and 9 deletions
+3 -7
View File
@@ -12,16 +12,12 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
meson setup build --prefix=/usr -Dxpresent=disabled
meson setup build --prefix=/usr \
-Dxpresent="$BPM_PKG_FLAG_XPRESENT" \
-Dxinerama="$BPM_PKG_FLAG_XINERAMA"
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
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {