-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Patched qtwayland that outputs a fixed screen size | ||
# Clone qtwayland submodule, checkout 5.12.9 (5.12.8 leaks timers, see https://bugreports.qt.io/browse/QTBUG-82914), apply patch, qmake, make | ||
|
||
apt update && apt install -y qt5-qmake qtbase5-dev qtbase5-dev-tools | ||
|
||
cd /tmp | ||
git clone --branch v5.12.9 https://github.com/qt/qtwayland.git | ||
cd qtwayland | ||
|
||
git apply /tmp/agnos/patch | ||
|
||
mkdir /tmp/build && cd /tmp/build | ||
qmake /tmp/qtwayland | ||
|
||
export MAKEFLAGS="-j$(nproc)" | ||
make | ||
|
||
checkinstall -yD --install=no --pkgversion="5.12.8" --pkgname=qtwayland5 --pkgarch=arm64 --replaces=qtwayland5,libqt5waylandclient5,libqt5waylandcompositor5 | ||
mv qtwayland5*.deb /tmp/qtwayland5.deb |
This file was deleted.
Oops, something went wrong.