Date: Wednesday, May 3, 2023 @ 19:46:02
Author: alerque
Revision: 1458504
archrelease: copy trunk to community-x86_64
Added:
hyprland/repos/community-x86_64/PKGBUILD
(from rev 1458503, hyprland/trunk/PKGBUILD)
Deleted:
hyprland/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 182 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 92 insertions(+), 90 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-03 19:45:53 UTC (rev 1458503)
+++ PKGBUILD 2023-05-03 19:46:02 UTC (rev 1458504)
@@ -1,90 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: ThatOneCalculator <[email protected]>
-
-pkgname=hyprland
-pkgver=0.24.1
-pkgrel=1
-pkgdesc='a highly customizable dynamic tiling Wayland compositor'
-arch=(x86_64 aarch64)
-url="https://github.com/hyprwm/${pkgname^}"
-license=(BSD)
-depends=(cairo
- gcc-libs
- glibc
- glslang
- libdisplay-info
- libdrm
- libglvnd
- libinput
- libliftoff
- libx11
- libxcb
- libxcomposite
- libxfixes
- libxkbcommon
- libxrender
- opengl-driver
- pango
- pixman
- pixman
- polkit
- seatd
- systemd-libs
- vulkan-icd-loader
- vulkan-validation-layers
- wayland
- wayland-protocols
- xcb-proto
- xcb-util
- xcb-util-errors
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-xinput
- xorg-xwayland)
-depends+=(libdisplay-info.so)
-makedepends=(cmake
- gdb
- meson
- ninja
- vulkan-headers
- xorgproto)
-_archive="${pkgname^}-$pkgver"
-source=("$_archive.tar.gz::$url/releases/download/v$pkgver/source-v$pkgver.tar.gz")
-sha256sums=('91725f5b2382ffa53bed02d61efde5216290073fb2aff6bb414da3c0cd66ef36')
-
-prepare() {
- ln -sf hyprland-source "$_archive"
- cd "$_archive"
- make fixwlr
- sed -i -e '/^release:/{n;s/-D/-DCMAKE_SKIP_RPATH=ON -D/}' Makefile
-}
-
-build() {
- cd "$_archive"
- pushd subprojects/wlroots
- meson build/ --prefix="$srcdir/tmpwlr" --buildtype=release
- ninja -C build/
- mkdir -p "$srcdir/tmpwlr"
- ninja -C build/ install
- popd
- pushd subprojects/udis86
- cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./
-B./build -G Ninja
- cmake --build ./build --config Release --target all
- popd
- make protocols
- make release
- pushd hyprctl
- make all
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 -t "$pkgdir/usr/bin" build/Hyprland
- install -Dm0755 -t "$pkgdir/usr/bin" hyprctl/hyprctl
- install -Dm0644 -t "$pkgdir/usr/share/$pkgname" assets/*.png
- install -Dm0644 -t "$pkgdir/usr/share/wayland-sessions"
"example/$pkgname.desktop"
- install -Dm0644 -t "$pkgdir/usr/share/$pkgname" "example/$pkgname.conf"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
- install -Dm0755 -t "$pkgdir/usr/lib"
"$srcdir/tmpwlr/lib/libwlroots.so.12032"
-}
Copied: hyprland/repos/community-x86_64/PKGBUILD (from rev 1458503,
hyprland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-03 19:46:02 UTC (rev 1458504)
@@ -0,0 +1,92 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: ThatOneCalculator <[email protected]>
+
+pkgname=hyprland
+pkgver=0.25.0
+pkgrel=1
+pkgdesc='a highly customizable dynamic tiling Wayland compositor'
+arch=(x86_64 aarch64)
+url="https://github.com/hyprwm/${pkgname^}"
+license=(BSD)
+depends=(cairo
+ gcc-libs
+ glibc
+ glslang
+ libdisplay-info
+ libdrm
+ libglvnd
+ libinput
+ libliftoff
+ libx11
+ libxcb
+ libxcomposite
+ libxfixes
+ libxkbcommon
+ libxrender
+ opengl-driver
+ pango
+ pixman
+ pixman
+ polkit
+ seatd
+ systemd-libs
+ vulkan-icd-loader
+ vulkan-validation-layers
+ wayland
+ wayland-protocols
+ xcb-proto
+ xcb-util
+ xcb-util-errors
+ xcb-util-keysyms
+ xcb-util-renderutil
+ xcb-util-wm
+ xorg-xinput
+ xorg-xwayland)
+depends+=(libdisplay-info.so)
+makedepends=(cmake
+ gdb
+ meson
+ ninja
+ vulkan-headers
+ xorgproto)
+_archive="${pkgname^}-$pkgver"
+source=("$_archive.tar.gz::$url/releases/download/v$pkgver/source-v$pkgver.tar.gz")
+sha256sums=('c91029085daa80437b1ef5ac10cd849795a8ce32d36663eff949af5f9337217b')
+
+prepare() {
+ ln -sf hyprland-source "$_archive"
+ cd "$_archive"
+ make fixwlr
+ sed -i -e '/^release:/{n;s/-D/-DCMAKE_SKIP_RPATH=ON -D/}' Makefile
+ # https://github.com/hyprwm/Hyprland/issues/2226
+ sed -i -e 's/\(.*GIT_COMMIT_HASH \)\(.*\)/\1"\2"/' src/defines.hpp
+}
+
+build() {
+ cd "$_archive"
+ pushd subprojects/wlroots
+ meson build/ --prefix="$srcdir/tmpwlr" --buildtype=release
+ ninja -C build/
+ mkdir -p "$srcdir/tmpwlr"
+ ninja -C build/ install
+ popd
+ pushd subprojects/udis86
+ cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./
-B./build -G Ninja
+ cmake --build ./build --config Release --target all
+ popd
+ make protocols
+ make release
+ pushd hyprctl
+ make all
+}
+
+package() {
+ cd "$_archive"
+ install -Dm0755 -t "$pkgdir/usr/bin" build/Hyprland
+ install -Dm0755 -t "$pkgdir/usr/bin" hyprctl/hyprctl
+ install -Dm0644 -t "$pkgdir/usr/share/$pkgname" assets/*.png
+ install -Dm0644 -t "$pkgdir/usr/share/wayland-sessions"
"example/$pkgname.desktop"
+ install -Dm0644 -t "$pkgdir/usr/share/$pkgname" "example/$pkgname.conf"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+ install -Dm0755 -t "$pkgdir/usr/lib"
"$srcdir/tmpwlr/lib/libwlroots.so.12032"
+}