Package Details: hyprland-git 0.48.0.r62.gd775686-1

Git Clone URL: https://aur.archlinux.org/hyprland-git.git (read-only, click to copy)
Package Base: hyprland-git
Description: Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks
Upstream URL: https://github.com/hyprwm/Hyprland
Licenses: BSD-3-Clause
Conflicts: hyprland
Provides: hyprland, wayland-compositor
Submitter: hertog
Maintainer: Vaxry (zjeffer, alba4k)
Last Packager: alba4k
Votes: 94
Popularity: 1.82
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2025-04-11 23:37 (UTC)

Dependencies (56)

Required by (70)

Sources (2)

Pinned Comments

xiota commented on 2025-04-11 01:10 (UTC) (edited on 2025-04-11 01:11 (UTC) by xiota)

Here's the current depends tree to help people figure out (re)build order. Some duplicates are omitted.
hyprland-git
├─aquamarine-git
│ ├─hyprutils-git
│ └─hyprwayland-scanner-git
├─hyprcursor-git
│ └─hyprlang-git
│   └─hyprutils-git
├─hyprgraphics-git
│ └─hyprutils-git
└─hyprland-qtutils-git
  └─hyprland-qt-support-git
    └─hyprlang-git
      └─hyprutils-git

xdg-desktop-portal-hyprland-git
└─hyprlang-git
  └─hyprutils-git

alba4k commented on 2025-04-09 20:40 (UTC)

To report issues, open pull requests, or check out other hyprland-related packages, you can check out https://github.com/alba4k/hyprwm-pkgbuilds

Latest Comments

« First ‹ Previous 1 .. 31 32 33 34 35 36 37 38 39 Next › Last »

Youngermaster commented on 2023-03-03 21:12 (UTC) (edited on 2023-03-03 21:14 (UTC) by Youngermaster)

@voidspawn, for now you can make it work downloading the AUR Package and editing the PKGBUILD.

Run this* (this part was edited):

git clone https://aur.archlinux.org/hyprland-git.git
# or (If you have SSH support for AUR)
git clone ssh://aur@aur.archlinux.org/hyprland-git.git

And then edit the PKGBUILD (as @justinesmithies stated before) build section with:

build() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init
    make fixwlr
    cd "./subprojects/wlroots/" && meson build/ --prefix="${srcdir}/tmpwlr" --buildtype=release && ninja -C build/ && mkdir -p "${srcdir}/tmpwlr" && ninja -C build/ install && cd ../
    cd udis86 && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja && cmake --build ./build --config Release --target all -j$(shell nproc) && cd ../..
    make protocols
    make release
    cd ./hyprctl && make all && cd ..
}

voidspawn commented on 2023-03-02 15:26 (UTC)

i confirm the problem that justinesmithies is talking about, this packages can't build, i get the same error as him.

justinesmithies commented on 2023-02-27 19:17 (UTC) (edited on 2023-02-27 19:57 (UTC) by justinesmithies)

Hyprland-git no longer builds since todays updates. I get this error:

cmake --build ./build --config Release --target all -j16
ninja: error: '/home/justine/.cache/paru/clone/hyprland-git/src/hyprland/subprojects/udis86/build/libudis86/liblibudis86.a', needed by 'Hyprland', missing and no known rule to make it
make: *** [Makefile:144: release] Error 1

But I've been informed that by changing the build part of the PKGBUILD to below will fix this until the maintainer fixes the PKGBUILD here. PS It does work as I'm using this work around.

 build() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init
    make fixwlr
    cd "./subprojects/wlroots/" && meson build/ --prefix="${srcdir}/tmpwlr" --buildtype=release && ninja -C build/ && mkdir -p "${srcdir}/tmpwlr" && ninja -C build/ install && cd ../
    cd udis86 && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja && cmake --build ./build --config Release --target all -j$(shell nproc) && cd ../..
    make protocols
    make release
    cd ./hyprctl && make all && cd ..
}

q234rty commented on 2023-02-02 15:39 (UTC)

This shouldn't have a hard dependency on vulkan-validation-layer, that was only needed at runtime for the wlroots vulkan renderer. Hyprland has it's own renderer and doesn't support vulkan anyway.

dropsonde commented on 2022-12-12 22:20 (UTC) (edited on 2022-12-13 18:11 (UTC) by dropsonde)

Running makepkg -si on a fresh clone of this repo produces a /usr/bin/Hyprland which has linked libwlroots.so.12032 to the directory where it was built in my home directory. I checked with: ldd /usr/bin/Hyprland | grep wlroots

Does this happen for everyone, or is there some issue on my end? Or is the issue upstream?

Edit: Solved my own issue by removing the file from my build-dir, ldd now shows the linked libwlroots in /usr/lib like expected.

q234rty commented on 2022-12-11 15:01 (UTC)

Could the git submodules be added to sources like in https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules? Otherwise the submodules would be downloaded in build(), which is not great.

MarcusE1W commented on 2022-12-07 18:52 (UTC) (edited on 2022-12-11 15:30 (UTC) by MarcusE1W)

Update: 11 Dec Some problems solve themselves. Hyprland 0.19 beta-2 compiles just fine :-)

Old: ====================

==> Starting package()...
install: cannot stat 'build/Hyprland': No such file or directory

Error during install of v0.19 beta-1

q234rty commented on 2022-11-13 11:28 (UTC)

This doesn't build after https://github.com/hyprwm/Hyprland/commit/23cd1b8c66da3e85692891e985567f6f45f6e501

nyanbinary commented on 2022-10-13 15:43 (UTC)

Would like to see that as well.

CrezyDud commented on 2022-09-30 14:00 (UTC)

Can you make an option/seperate package to enable to use system wlroots(instead of build and copy, just copy from root(/))