Initial commit

This commit is contained in:
2026-04-05 11:48:45 +03:00
commit 019c148ec5
4 changed files with 65 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Ignore BPM archives and signatures
*.bpm
*.bpm.sig
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Ignore this package
echo "ignore"
+39
View File
@@ -0,0 +1,39 @@
name: wlroots-0.19
description: A modular Wayland compositor library
version: 0.19.3
revision: 1
url: https://gitlab.freedesktop.org/wlroots/wlroots
license: MIT
maintainers:
- [email protected]
architecture: any
type: source
depends:
- libdisplay-info
- libglvnd
- libinput
- libxcb
- libxkbcommon
- lcms2
- mesa
- seatd
- udev
- vulkan-loader
- wayland
- xcb-util-errors
- xcb-util-renderutil
- xcb-util-wm
optional_depends:
- xorg-xwayland
make_depends:
- glslang
- meson
- ninja
- vulkan-headers
- wayland-protocols
- xorg-xwayland
downloads:
- url: https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${BPM_PKG_VERSION}/wlroots-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: a6ff89b64ea15e424d1b0db4a22145fccf5ec2ff2e7b8af0fa35e2ac8975986f
+19
View File
@@ -0,0 +1,19 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
meson setup build --prefix=/usr --libdir=/usr/lib
meson compile -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() {
meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/${BPM_PKG_NAME}/LICENSE
}