fix: use correct ydotool branch
Some checks failed
/ ansible-semaphore (push) Successful in 2m1s
/ daliserver (push) Successful in 2m7s
/ forgejo (push) Successful in 3m41s
/ forgejo-runner (push) Successful in 1m42s
/ http-mqtt-bridge (push) Successful in 3m20s
/ keycloak-26 (push) Successful in 4m31s
/ linux-diversion-ath-regd-optional (push) Successful in 12m35s
/ lottieconverter (push) Successful in 55s
/ matterbridge (push) Successful in 2m42s
/ matrix-element-web (push) Successful in 2m46s
/ matrix-hydrogen (push) Successful in 1m17s
/ matrix.to (push) Successful in 3m12s
/ maubot (push) Failing after 4s
/ maubot-plugin-spaceapi (push) Successful in 1m28s
/ maubot-plugin-ultimaker (push) Successful in 1m29s
/ mautrix-signal (push) Successful in 1m15s
/ mautrix-telegram (push) Successful in 1m18s
/ mediawiki-extension-auth-remoteuser (push) Successful in 1m15s
/ mediawiki-extension-nativesvghandler (push) Successful in 1m17s
/ mediawiki-extension-openidconnect (push) Successful in 1m20s
/ mediawiki-extension-pluggableauth (push) Successful in 1m16s
/ python3-mautrix (push) Successful in 1m15s
/ python3-telethon (push) Successful in 1m17s
/ repo.s3lph.me-apt-source (push) Successful in 53s
/ republik-feeder (push) Successful in 32s
/ ydotool (push) Successful in 42s
/ prometheus2influxdb (push) Failing after 13m40s
/ prometheus-dnsbl-exporter (push) Failing after 13m45s
/ prometheus-ipmi-exporter (push) Failing after 13m50s
/ mqtt2prometheus (push) Failing after 13m56s

This commit is contained in:
s3lph 2024-11-23 22:44:58 +01:00
parent 37ef05964c
commit 9d28b94854
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -6,12 +6,13 @@ ROOT=$(pwd)
function fetch() {
git clone https://github.com/s3lph/ydotool "${SRCDIR}/ydotool"
cd "${SRCDIR}/ydotool"
git checkout feat-getpwnam
}
function prepare() {
apt install -y build-essential cmake pkg-config scdoc
cd "${SRCDIR}/ydotool"
apt install -y build-essential cmake pkg-config scdoc
export VERSION="$(git describe --tags | cut -d- -f1-2 | sed -re "s/-/~/g" -e "s/^v//g")-1"
export ISODATE="$(git log -1 --format="%aI")"
mkdir build