Add package flags
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user