port to pika os 4
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 54s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-25 17:37:46 +03:00
parent 095cfc4377
commit 89c198d984
4 changed files with 13 additions and 12 deletions

View File

@ -1 +1 @@
5 6

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
goverlay (2:1.1.1-101pika1) pika; urgency=medium goverlay (2:1.1.1-101pika2) pika; urgency=medium
* New upstream release + Update to PikaOS 4 * New upstream release + Update to PikaOS 4

6
debian/control vendored
View File

@ -9,11 +9,10 @@ Build-Depends: debhelper-compat (= 13),
lcl-qt5, lcl-qt5,
lazarus-src, lazarus-src,
libgl-dev, libgl-dev,
libqt6pas6-dev,
Rules-Requires-Root: no Rules-Requires-Root: no
Standards-Version: 4.6.1 Standards-Version: 4.6.1
Homepage: https://github.com/benjamimgois/goverlay Homepage: https://github.com/benjamimgois/goverlay
Vcs-Browser: https://salsa.debian.org/games-team/goverlay
Vcs-Git: https://salsa.debian.org/games-team/goverlay.git
Package: goverlay Package: goverlay
Architecture: any Architecture: any
@ -22,8 +21,9 @@ Depends: ${misc:Depends},
mangohud, mangohud,
mesa-utils, mesa-utils,
vulkan-tools, vulkan-tools,
libqt6pas6,
git, git,
Recommends: vkbasalt, Recommends: vkbasalt, mangohud:i386
Suggests: breeze, Suggests: breeze,
adwaita-qt, adwaita-qt,
Description: Graphical UI to help manage Vulkan / OpenGL overlays Description: Graphical UI to help manage Vulkan / OpenGL overlays

15
main.sh
View File

@ -8,6 +8,14 @@ source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch echo "$PIKA_BUILD_ARCH" > pika-build-arch
# temp lib
if [[ $(cat ./.github/release-canary-v3) == "6" ]]
then
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6-dev_6.2.8-1_amd64.deb -O ./libqt6pas6-dev.deb
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6_6.2.8-1_amd64.deb -O ./libqt6pas6.deb
apt-get install ./libqt6pas6-dev.deb ./libqt6pas6.deb -y
fi
# Clone Upstream # Clone Upstream
git clone https://github.com/benjamimgois/goverlay -b "$VERSION" git clone https://github.com/benjamimgois/goverlay -b "$VERSION"
cp -rvf ./debian ./goverlay cp -rvf ./debian ./goverlay
@ -15,13 +23,6 @@ cd ./goverlay
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y
# temp lib
if [[ $(cat ../.github/release-canary-v3) == "5" ]]
then
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6-dev_6.2.8-1_amd64.deb -O ./libqt6pas6-dev.deb
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6_6.2.8-1_amd64.deb -O ./libqt6pas6.deb
apt-get install ./libqt6pas6-dev.deb ./libqt6pas6.deb -y
fi
# Build package # Build package
LOGNAME=root dh_make --createorig -y -l -p goverlay_"$VERSION" || echo "dh-make: Ignoring Last Error" LOGNAME=root dh_make --createorig -y -l -p goverlay_"$VERSION" || echo "dh-make: Ignoring Last Error"