well, it seems what problem is in missing $DESTDIR and $PREFIX from original makefile, idk how this pkgbuild can work
Search Criteria
Package Details: hyprland-git 0.44.0.r46.0baf166d-1
Package Actions
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.13 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-10-17 15:07 (UTC) |
Dependencies (54)
- aquamarine-gitAUR
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- glslang (glslang-gitAUR)
- hyprcursor-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- libxrender
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-wsl2-gitAUR, mesa-amber)
- opengl-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-390xx-utilsAUR, nvidia-470xx-utilsAUR, nvidia-utils-betaAUR, mesa-minimal-gitAUR, mesa-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, nvidia-utils-teslaAUR, mesa-wsl2-gitAUR, nvidia-550xx-utilsAUR, nvidia-535xx-utilsAUR, mesa, mesa-amber, nvidia-utils)
- pango (pango-gitAUR)
- pixman (pixman-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR)
- tomlplusplus
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wayland-protocols (wayland-protocols-gitAUR)
- xcb-proto (xcb-proto-gitAUR)
- xcb-util
- xcb-util-errors
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland (xorg-xwayland-bug865-issue1578AUR, xorg-xwayland-gitAUR, xorg-xwayland-hidpi-xpropAUR)
- cmake (cmake-gitAUR) (make)
- gdb (gdb-gitAUR, gdb-debug-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hyprland-protocols-gitAUR (make)
- hyprwayland-scanner-gitAUR (make)
- jq (jq-gitAUR) (make)
- make (make-gitAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- xorgproto (xorgproto-gitAUR) (make)
- cmake (cmake-gitAUR) (optional) – to build and install plugins using hyprpm
- cpio (cpio-gitAUR) (optional) – to build and install plugins using hyprpm
- meson (meson-gitAUR) (optional) – to build and install plugins using hyprpm
Required by (57)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hyprdim (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprgui (requires hyprland) (optional)
- hyprgui-bin (requires hyprland) (optional)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland) (make)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland) (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars (requires hyprland)
- hyprland-plugin-hyprbars (requires hyprland) (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprexpo (requires hyprland)
- hyprland-plugin-hyprexpo (requires hyprland) (make)
- hyprland-plugin-hyprtrails (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland) (make)
- hyprland-plugin-hyprtrails-git (make)
- hyprland-plugin-hyprwinwrap (requires hyprland)
- hyprland-plugin-hyprwinwrap (requires hyprland) (make)
- hyprland-plugin-hyprwinwrap-git (make)
- hyprland-scratchpad-git (requires hyprland)
- hyprland-target (requires hyprland)
- hyprland-workspaces (requires hyprland)
- hyprlux (requires hyprland)
- hyproled-git (requires hyprland)
- hyprpanel (requires hyprland)
- hyprpanel-bin (requires hyprland)
- hyprpaper-gen-git (requires hyprland) (optional)
- hyprscratch (requires hyprland)
- hyprshade (requires hyprland)
- hyprshade-git (requires hyprland)
- hyprshade-rewrite-git (requires hyprland)
- hyprsome-git (requires hyprland)
- hyprswitch (requires hyprland)
- lxqt-wayland-session-git (requires hyprland) (optional)
- mist-de (requires hyprland)
- ml4w-hyprland (requires hyprland)
- ml4w-hyprland-git (requires hyprland)
- pyprland (requires hyprland)
- signal-desktop-fix-sway (requires hyprland) (optional)
- wallpickr-git (requires hyprland)
- wlr-layout-ui (requires hyprland) (optional)
- wlr-layout-ui-git (requires hyprland) (optional)
- xdg-desktop-portal-hyprland-git (requires hyprland) (optional)
Sources (2)
poli commented on 2022-04-13 17:24 (UTC) (edited on 2022-04-13 17:24 (UTC) by poli)
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=()
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
tobuild()
.Build with specific pull requests
Use
pick_mr <pull request number>
at the end ofprepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, useEnable legacy renderer
In the
build()
function, add-D legacy_renderer=true
to meson setupCompilation errors
If you encounter compilation errors, try the following first:
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
;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.