mutter/main.sh

23 lines
619 B
Bash
Raw Normal View History

2023-03-09 18:20:19 +01:00
DEBIAN_FRONTEND=noninteractive
2023-10-03 21:09:56 +02:00
apt-mark hold pbuilder
2023-10-03 21:15:31 +02:00
apt install gnome-pkg-tools -y
2023-06-26 23:31:01 +02:00
2023-03-09 18:20:19 +01:00
# Clone Upstream
2023-10-03 20:55:10 +02:00
git clone https://gitlab.gnome.org/GNOME/gnome-shell -b 45.0 gnome-shell-vrr
2023-03-09 18:20:19 +01:00
cp -rvf ./debian ./gnome-shell-vrr
cd ./gnome-shell-vrr
2023-10-03 20:55:10 +02: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
2023-03-09 18:20:19 +01:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2023-10-03 20:55:10 +02:00
LOGNAME=root dh_make --createorig -y -l -p gnome-shell-vrr_45.0
2023-06-26 23:17:01 +02:00
dpkg-buildpackage --no-sign
2023-03-09 18:20:19 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/