sway-no-seat: git

This commit is contained in:
Dylan Araps 2021-07-08 12:06:02 +03:00
parent fc9dad39c5
commit 7b2559f8c3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
6 changed files with 53 additions and 0 deletions

29
wayland/sway-no-seat/build Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh -e
# Remove conflict between static libseat and wlroots.
sed 's/\(const long NSEC\)/static \1/' \
subprojects/seatd/common/log.c > _
mv -f _ subprojects/seatd/common/log.c
export DESTDIR="$1"
meson \
--prefix=/usr \
-Dexamples=false \
-Dxwayland=disabled \
-Dx11-backend=disabled \
-Dxcb-errors=disabled \
-Dxcb-icccm=disabled \
-Dwlroots:examples=false \
-Dwlroots:xcb-errors=disabled \
-Dwlroots:x11-backend=disabled \
-Dwlroots:default_library=static \
-Dseatd:libseat-juiltin=enabled \
-Dseatd:default_library=static \
--force-fallback-for=wlroots,seatd \
. build
ninja -C build
meson install -C build --skip-subprojects
rm -rf "${1:?}/usr/share"

View File

@ -0,0 +1,4 @@
b411c21e7e87956b78fd91e64383086228d16e391116088a839ee005e563b376
af512d4abce21e200381f0d40e1e745c03a2f33f62c8453c50a9580851a6b228
45de0d0b7135d4c11cd9a2e8ddf8c0f179ecfb45987d205e35711e1a0a432a99
e76a11fba8bc82965e5477b5fe5700b07234fc55a9001f80b2fa1e3daa005020

View File

@ -0,0 +1,12 @@
cairo
flex make
json-c
libxkbcommon
linux-headers make
meson make
pango
pcre
pixman
pkgconf make
wayland
wayland-protocols make

View File

@ -0,0 +1,4 @@
#!/bin/sh -e
chown root:input /bin/sway
chmod g+s /bin/sway

View File

@ -0,0 +1,3 @@
https://github.com/swaywm/sway/archive/4832fc937fae5a5e2af8828a7092c9026bd300e0.tar.gz
https://github.com/swaywm/wlroots/archive/a48e569d3860e91428c74e876a5d886314767c7b.tar.gz subprojects/wlroots
https://github.com/DCVIII/seatd/archive/23ee555f432f9971a15522fc0b3f980d78ffa6cc.tar.gz subprojects/seatd

View File

@ -0,0 +1 @@
git 1