Skip to content

Commit 6f44e7b

Browse files
committed
bspwm: Add port
Signed-off-by: Dennis Bonke <[email protected]>
1 parent ed01b0e commit 6f44e7b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

bootstrap.d/x11-wm.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
packages:
2+
- name: bspwm
3+
source:
4+
subdir: 'ports'
5+
git: 'https://github.com/baskerville/bspwm.git'
6+
tag: '0.9.10'
7+
version: '0.9.10'
8+
tools_required:
9+
- system-gcc
10+
pkgs_required:
11+
- mlibc
12+
- libxcb
13+
- xcb-util
14+
- xcb-util-wm
15+
- xcb-util-keysyms
16+
configure:
17+
# bspwm does not seem to support out-of-tree builds, so we just copy
18+
# the source tree into the build directory instead
19+
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
20+
build:
21+
- args: ['make', '-j@PARALLELISM@']
22+
environ:
23+
CC: 'x86_64-managarm-gcc'
24+
- args: ['make', 'install']
25+
environ:
26+
PREFIX: '/usr'
27+
DESTDIR: '@THIS_COLLECT_DIR@'

bootstrap.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ imports:
3131
- file: bootstrap.d/x11-libs.yml
3232
- file: bootstrap.d/x11-misc.yml
3333
- file: bootstrap.d/x11-themes.yml
34+
- file: bootstrap.d/x11-wm.yml
3435

3536
general:
3637
patch_author: The Managarm Project

0 commit comments

Comments
 (0)