forked from FemboyOS/fempkg_recipes
caelestia-shell: fix /opt/qt6 symlink shenanigans
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
pkgname = "caelestia-shell"
|
pkgname = "caelestia-shell"
|
||||||
pkgver = "1.3.4"
|
pkgver = "1.3.4"
|
||||||
|
qtver = "6.10.1"
|
||||||
source = f"https://github.com/caelestia-dots/shell.git"
|
source = f"https://github.com/caelestia-dots/shell.git"
|
||||||
source_type = "git"
|
source_type = "git"
|
||||||
builddir = f"/tmp/fempkgbuild/shell"
|
builddir = f"/tmp/fempkgbuild/shell"
|
||||||
@@ -15,6 +16,7 @@ build = [
|
|||||||
# 64-bit build
|
# 64-bit build
|
||||||
f"cd {builddir} && mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DINSTALL_QSCONFDIR=/etc/xdg/quickshell/caelestia -DINSTALL_QMLDIR=/opt/qt6/qml ..",
|
f"cd {builddir} && mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DINSTALL_QSCONFDIR=/etc/xdg/quickshell/caelestia -DINSTALL_QMLDIR=/opt/qt6/qml ..",
|
||||||
f"cd {builddir}/build && ninja",
|
f"cd {builddir}/build && ninja",
|
||||||
|
f"mkdir -p {destdir}/opt/qt-{qtver} && ln -sf qt-{qtver} {destdir}/opt/qt6",
|
||||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||||
f"cd {builddir} && wget https://rocketleaguechatp.duckdns.org/app2unit-caelestia.patch && patch -p1 -d {destdir}/etc/xdg/quickshell/caelestia < app2unit-caelestia.patch",
|
f"cd {builddir} && wget https://rocketleaguechatp.duckdns.org/app2unit-caelestia.patch && patch -p1 -d {destdir}/etc/xdg/quickshell/caelestia < app2unit-caelestia.patch",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user