xwayland/main.sh

19 lines
492 B
Bash
Raw Normal View History

# Clone Upstream
2024-01-28 17:47:48 +01:00
git clone https://gitlab.freedesktop.org/xorg/xserver.git -b xwayland-23.2.4 ./xwayland
2023-07-14 18:43:36 +02:00
cp -rvf ./debian ./xwayland/
cd ./xwayland
2023-11-11 15:50:28 +01:00
for i in $(cat ../patches/series) ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
# Get build deps
2023-11-13 18:29:52 +01:00
apt update
2023-08-21 18:34:03 +02:00
apt upgrade -y
apt-get build-dep ./ -y
# Build package
2023-07-14 18:43:36 +02:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/