diff --git a/wayland/sway-no-seat/build b/wayland/sway-no-seat/build new file mode 100755 index 00000000..c3046d18 --- /dev/null +++ b/wayland/sway-no-seat/build @@ -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" diff --git a/wayland/sway-no-seat/checksums b/wayland/sway-no-seat/checksums new file mode 100644 index 00000000..c120e74e --- /dev/null +++ b/wayland/sway-no-seat/checksums @@ -0,0 +1,4 @@ +b411c21e7e87956b78fd91e64383086228d16e391116088a839ee005e563b376 +af512d4abce21e200381f0d40e1e745c03a2f33f62c8453c50a9580851a6b228 +45de0d0b7135d4c11cd9a2e8ddf8c0f179ecfb45987d205e35711e1a0a432a99 +e76a11fba8bc82965e5477b5fe5700b07234fc55a9001f80b2fa1e3daa005020 diff --git a/wayland/sway-no-seat/depends b/wayland/sway-no-seat/depends new file mode 100644 index 00000000..593999dd --- /dev/null +++ b/wayland/sway-no-seat/depends @@ -0,0 +1,12 @@ +cairo +flex make +json-c +libxkbcommon +linux-headers make +meson make +pango +pcre +pixman +pkgconf make +wayland +wayland-protocols make diff --git a/wayland/sway-no-seat/post-install b/wayland/sway-no-seat/post-install new file mode 100755 index 00000000..b8c1adcf --- /dev/null +++ b/wayland/sway-no-seat/post-install @@ -0,0 +1,4 @@ +#!/bin/sh -e + +chown root:input /bin/sway +chmod g+s /bin/sway diff --git a/wayland/sway-no-seat/sources b/wayland/sway-no-seat/sources new file mode 100644 index 00000000..71402314 --- /dev/null +++ b/wayland/sway-no-seat/sources @@ -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 diff --git a/wayland/sway-no-seat/version b/wayland/sway-no-seat/version new file mode 100644 index 00000000..a383ea1a --- /dev/null +++ b/wayland/sway-no-seat/version @@ -0,0 +1 @@ +git 1