mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 11:21:28 +00:00
meson wrap
This commit is contained in:
parent
83b4c0648d
commit
9e53764f13
|
@ -15,13 +15,7 @@ packages:
|
||||||
- libxkbcommon
|
- libxkbcommon
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~sircmpwn/sway
|
- https://git.sr.ht/~sircmpwn/sway
|
||||||
- https://git.sr.ht/~sircmpwn/wlroots
|
|
||||||
tasks:
|
tasks:
|
||||||
- wlroots: |
|
|
||||||
cd wlroots
|
|
||||||
meson --prefix=/usr build
|
|
||||||
ninja -C build
|
|
||||||
sudo ninja -C build install
|
|
||||||
- setup: |
|
- setup: |
|
||||||
cd sway
|
cd sway
|
||||||
meson build
|
meson build
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ build/
|
||||||
.lvimrc
|
.lvimrc
|
||||||
config-debug
|
config-debug
|
||||||
wayland-*-protocol.*
|
wayland-*-protocol.*
|
||||||
|
subprojects/wlroots/
|
||||||
|
|
|
@ -26,8 +26,6 @@ arch:
|
||||||
- libinput
|
- libinput
|
||||||
- libxkbcommon
|
- libxkbcommon
|
||||||
script:
|
script:
|
||||||
- git clone https://github.com/swaywm/wlroots
|
|
||||||
- 'cd wlroots && meson --prefix=/usr build && ninja -C build && sudo ninja -C build install'
|
|
||||||
- meson build --buildtype=$BUILD_TYPE
|
- meson build --buildtype=$BUILD_TYPE
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
sway_common_deps = [
|
||||||
|
wlroots
|
||||||
|
]
|
||||||
|
|
||||||
lib_sway_common = static_library('sway-common',
|
lib_sway_common = static_library('sway-common',
|
||||||
files(
|
files(
|
||||||
'log.c',
|
'log.c',
|
||||||
|
@ -7,5 +11,6 @@ lib_sway_common = static_library('sway-common',
|
||||||
'readline.c',
|
'readline.c',
|
||||||
'ipc-client.c'
|
'ipc-client.c'
|
||||||
),
|
),
|
||||||
include_directories: sway_inc
|
include_directories: sway_inc,
|
||||||
|
dependencies: [sway_common_deps]
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,7 +20,7 @@ prefix = get_option('prefix')
|
||||||
|
|
||||||
jsonc = dependency('json-c', version: '>=0.12.1')
|
jsonc = dependency('json-c', version: '>=0.12.1')
|
||||||
pcre = dependency('libpcre')
|
pcre = dependency('libpcre')
|
||||||
wlroots = dependency('wlroots')
|
wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
|
||||||
wayland_server = dependency('wayland-server')
|
wayland_server = dependency('wayland-server')
|
||||||
wayland_client = dependency('wayland-client')
|
wayland_client = dependency('wayland-client')
|
||||||
wayland_egl = dependency('wayland-egl')
|
wayland_egl = dependency('wayland-egl')
|
||||||
|
|
4
subprojects/wlroots.wrap
Normal file
4
subprojects/wlroots.wrap
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[wrap-git]
|
||||||
|
directory=wlroots
|
||||||
|
url=https://github.com/swaywm/wlroots.git
|
||||||
|
revision=head
|
Loading…
Reference in a new issue