PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/hyprland/PAGBUILD.yaml main

68 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
pkgname: hyprland
pkgver: '0.56.2'
pkgrel: '4'
pkgdesc: 'Dynamic tiling Wayland compositor (Hyprland)'
url: 'https://hyprland.org'
arch: x86_64
license:
- BSD
depends:
- aquamarine
- hyprlang
- hyprutils
- hyprcursor
- hyprwire
- hyprgraphics
- hyprland-protocols
- wayland
- wayland-protocols
- libxkbcommon
- xorg-libdrm
- xorg-pixman
- libinput
- seatd
- mesa
- hwdata
- xorg-xwayland
- pango
- cairo
- glib
- re2
- libliftoff
- libjpeg-turbo
- libwebp
- file
- util-linux
- xcb-util
- xcb-util-wm
- xcb-util-errors
- muparser
- tomlplusplus
makedepends:
- meson
- ninja
- cmake
- pkgconf
- git
- hyprwayland-scanner
- wayland-protocols
- hyprland-protocols
- muparser
- tomlplusplus
source:
- 'https://github.com/hyprwm/Hyprland/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  cd ${pkgname}-${pkgver}
  # Archiwum GitHub nie zawiera submodulow git. CMake robi add_subdirectory(udis86),
  # wiec dostarczamy go recznie (hyprland-protocols jest z pakietu przez pkg-config).
  if [ ! -f subprojects/udis86/CMakeLists.txt ]; then
    rm -rf subprojects/udis86
    git clone --depth 1 https://github.com/canihavesomecoffee/udis86 subprojects/udis86
  fi
  cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release
  cmake --build build
package: |
  cd ${pkgname}-${pkgver}
  DESTDIR=${PKGDIR} cmake --install build