Package Details: hyprland-git 0.44.0.r46.0baf166d-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
Submitter: hertog
Maintainer: Vaxry (zjeffer, alba4k)
Last Packager: alba4k
Votes: 94
Popularity: 8.30
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-10-17 15:07 (UTC)

Required by (56)

Sources (2)

Pinned Comments

zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)

Tips & tricks, common issues

using ccache/sccache

Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option -Db_pch=false to build().

build() {
  ...
  meson setup build \
    -D b_pch=false
  ...
}

Build with specific pull requests

Use pick_mr <pull request number> at the end of prepare() to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, use

prepare() {
    ...

    pick_mr 6268
}

Enable legacy renderer

In the build() function, add -D legacy_renderer=true to meson setup

Compilation errors

If you encounter compilation errors, try the following first:

  • If errors are raised by generated source files under protocols/, such as protocols/linux-dmabuf-v1.hpp, then rebuild or install hyprwayland-scanner-git;
  • Compile with makepkg --cleanbuild.

Symbol not declared

Errors like

  • <symbol> was not declared in this scope
  • <symbol> has not been declared

are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.

Latest Comments

« First ‹ Previous 1 .. 25 26 27 28 29 30

poli commented on 2022-04-13 17:24 (UTC) (edited on 2022-04-13 17:24 (UTC) by poli)

well, it seems what problem is in missing $DESTDIR and $PREFIX from original makefile, idk how this pkgbuild can work

poli commented on 2022-04-13 09:01 (UTC) (edited on 2022-04-13 13:19 (UTC) by poli)

yeah, my solution working pastebin: https://pastebin.com/gaJSBa8g

UPD: no it s not

poli commented on 2022-04-12 22:55 (UTC) (edited on 2022-04-12 23:00 (UTC) by poli)

about privileges... maybe problem cause in "make" in build() instead of "make PREFIX=/usr" and "PREFIX=/usr" in package() should be removed?

FabioLolix commented on 2022-04-12 22:44 (UTC)

pkgver can be fixed, there is this problem too https://github.com/vaxerski/Hyprland/issues/16

(btw pkgname don't have to be in pkgdesc=)

poli commented on 2022-04-12 22:25 (UTC)

also chroot does not have enough privileges to create .desktop, /usr/bin and /usr/share files

poli commented on 2022-04-12 22:23 (UTC)

as i can see, pkgver() is useless, it returns '', what breaks building

FabioLolix commented on 2022-04-12 21:38 (UTC)

Hello,

  • git is missing from makedepends
  • declaring _pkgname=${pkgname%-} is pointless, just use pkgname%-
  • pkgbuild have 2 source=()