hypr: add some plugins

This commit is contained in:
2025-12-18 16:47:13 +01:00
parent a38f7bc107
commit bb1e23e8de
3 changed files with 62 additions and 0 deletions

30
dynamic-cursors.recipe.py Normal file
View File

@@ -0,0 +1,30 @@
pkgname = "dynamic-cursors"
pkgver = "0.52.0"
source = f"https://github.com/VirtCode/hypr-dynamic-cursors.git"
source_type = "git"
builddir = f"/tmp/fempkgbuild/hypr-dynamic-cursors"
fembuilddir = builddir
outputdir = "/home/gabry/lfs-repo/binpkg"
manifestdir = "/home/gabry/lfs-repo/manifests"
destdir = f"{fembuilddir}/DESTDIR"
deps = ["hyprland"]
build = [
# 64-bit build
f"cd {builddir} && git checkout 8c1679b87c54e97145cae83e622956d720e88bef",
f"su gabry -c 'XDG_RUNTIME_DIR=/run/user/$EUID hyprpm update || true'",
f"cd {builddir} && make -j$(nproc)",
f"cd {builddir} && install -v -d -m755 {destdir}/usr/share/hypr/plugins && install -v -m775 out/dynamic-cursors.so {destdir}/usr/share/hypr/plugins/",
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
f"install -v -m644 {builddir}/LICENSE.md {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",
# Cleanup
f"rm -rf {fembuilddir}"
]

30
hyprexpo.recipe.py Normal file
View File

@@ -0,0 +1,30 @@
pkgname = "hyprexpo"
pkgver = "0.52.0"
source = f"https://github.com/hyprwm/hyprland-plugins.git"
source_type = "git"
builddir = f"/tmp/fempkgbuild/hyprland-plugins"
fembuilddir = builddir
outputdir = "/home/gabry/lfs-repo/binpkg"
manifestdir = "/home/gabry/lfs-repo/manifests"
destdir = f"{fembuilddir}/DESTDIR"
deps = ["hyprland"]
build = [
# 64-bit build
f"cd {builddir} && git checkout 8c1212e96b81aa5f11fe21ca27defa2aad5b3cf3",
f"su gabry -c 'XDG_RUNTIME_DIR=/run/user/$EUID hyprpm update || true'",
f"cd {builddir}/hyprexpo && make -j$(nproc)",
f"cd {builddir}/hyprexpo && install -v -d -m755 {destdir}/usr/share/hypr/plugins && install -v -m775 hyprexpo.so {destdir}/usr/share/hypr/plugins/",
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",
# Cleanup
f"rm -rf {fembuilddir}"
]

View File

@@ -55,6 +55,7 @@ doxygen.recipe.py
dracut.recipe.py
duktape.recipe.py
dvd+rw-tools.recipe.py
dynamic-cursors.recipe.py
e2fsprogs.recipe.py
efibootmgr.recipe.py
efivar.recipe.py
@@ -131,6 +132,7 @@ harfbuzz.recipe.py
hicolor-icon-theme.recipe.py
highway.recipe.py
hwdata.recipe.py
hyprexpo.recipe.py
hyprland-libs.recipe.py
hyprland.recipe.py
hyprpicker.recipe.py