forked from kiss-community/repo
sway-tiny: git
This commit is contained in:
parent
7b2559f8c3
commit
247518cf22
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
export CFLAGS="$CFLAGS -Wno-unused-function -Wno-error"
|
||||
|
||||
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
|
||||
|
||||
mkdir -p \
|
||||
"$1/usr/bin" \
|
||||
"$1/etc/sway"
|
||||
|
||||
cp -f build/sway/sway "$1/usr/bin"
|
||||
cp -f config.in "$1/etc/sway/config"
|
|
@ -0,0 +1,3 @@
|
|||
14220131e6444df0d0058f080047b87985cf140888ec5fffb4e4f2c8265a5784
|
||||
af512d4abce21e200381f0d40e1e745c03a2f33f62c8453c50a9580851a6b228
|
||||
45de0d0b7135d4c11cd9a2e8ddf8c0f179ecfb45987d205e35711e1a0a432a99
|
|
@ -0,0 +1,8 @@
|
|||
flex make
|
||||
libxkbcommon
|
||||
linux-headers make
|
||||
meson make
|
||||
pixman
|
||||
pkgconf make
|
||||
wayland
|
||||
wayland-protocols make
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
chown root:input /bin/sway
|
||||
chmod g+s /bin/sway
|
|
@ -0,0 +1,3 @@
|
|||
https://github.com/DCVIII/sway/archive/cd493f533b3a6f85761ac92eefeea3252b059c65.tar.gz
|
||||
https://github.com/swaywm/wlroots/archive/a48e569d3860e91428c74e876a5d886314767c7b.tar.gz subprojects/wlroots
|
||||
https://github.com/DCVIII/seatd/archive/23ee555f432f9971a15522fc0b3f980d78ffa6cc.tar.gz subprojects/seatd
|
|
@ -0,0 +1 @@
|
|||
git 1
|
Loading…
Reference in New Issue