feat: add qtengine

This commit is contained in:
2026-06-20 13:08:11 +02:00
parent f9b440f570
commit e8eb536aac
2 changed files with 31 additions and 0 deletions
+1
View File
@@ -402,6 +402,7 @@ qemu.recipe.py
qpdf.recipe.py
qt6ct.recipe.py
qt6.recipe.py
qtengine.recipe.py
qtkeychain.recipe.py
quickshell.recipe.py
re2.recipe.py
+30
View File
@@ -0,0 +1,30 @@
pkgname = "qtengine"
pkgver = "0.2.1"
qtver = "6.11.1"
source = f"https://github.com/kossLAN/qtengine.git"
source_type = "git"
builddir = f"/tmp/fempkgbuild/{pkgname}"
fembuilddir = builddir
outputdir = "/home/gabry/lfs-repo/binpkg"
manifestdir = "/home/gabry/lfs-repo/manifests"
destdir = f"{fembuilddir}/DESTDIR"
deps = ["extra-cmake-modules", "qt6", "kf6"]
build = [
# 64-bit build
f"cd {builddir} && mkdir build && cd build && cmake -G Ninja -D QT6_PLUGINDIR=/opt/qt6/plugins -DCMAKE_BUILD_TYPE=Release -D BUILD_QT5=OFF -DCMAKE_INSTALL_PREFIX=/usr ..",
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"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
# Make tarball + manifests
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
f"rm -rf {builddir}"
]