Skip to content
Snippets Groups Projects
Verified Commit fea93cea authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 0.42.0-1

parent 220ce094
No related branches found
Tags 28.3.0-1
No related merge requests found
pkgbase = hyprland
pkgdesc = a highly customizable dynamic tiling Wayland compositor
pkgver = 0.41.2
pkgrel = 3
pkgver = 0.42.0
pkgrel = 1
url = https://github.com/hyprwm/Hyprland
arch = x86_64
arch = aarch64
......@@ -14,6 +14,8 @@ pkgbase = hyprland
makedepends = vulkan-headers
makedepends = xorgproto
depends = cairo
depends = aquamarine
depends = libaquamarine.so
depends = gcc-libs
depends = glibc
depends = glib2
......@@ -38,6 +40,7 @@ pkgbase = hyprland
depends = libx11
depends = libxcb
depends = libxcomposite
depends = libxcursor
depends = libxfixes
depends = libxkbcommon
depends = libxkbcommon.so
......@@ -74,7 +77,7 @@ pkgbase = hyprland
optdepends = cmake: to build and install plugins using hyprpm
optdepends = cpio: to build and install plugins using hyprpm
optdepends = meson: to build and install plugins using hyprpm
source = Hyprland-0.41.2.tar.gz::https://github.com/hyprwm/Hyprland/releases/download/v0.41.2/source-v0.41.2.tar.gz
sha256sums = c2de1ea4f02ae817d42268874f6be692d807dcff9817a0cd438f9a221b045369
source = Hyprland-0.42.0.tar.gz::https://github.com/hyprwm/Hyprland/releases/download/v0.42.0/source-v0.42.0.tar.gz
sha256sums = 278c137ad28f5e4ef9d65032b18cb230799c982d008654a90b5060dd32eaa54a
pkgname = hyprland
......@@ -4,13 +4,14 @@
# Contributor: Gabriel Fox <inbox@gabrielfox.dev>
pkgname=hyprland
pkgver=0.41.2
pkgrel=3
pkgver=0.42.0
pkgrel=1
pkgdesc='a highly customizable dynamic tiling Wayland compositor'
arch=(x86_64 aarch64)
url="https://github.com/hyprwm/${pkgname^}"
license=(BSD-3-Clause)
depends=(cairo # libcairo.so
aquamarine libaquamarine.so
gcc-libs # libgcc_s.so libstdc++.so
glibc # libc.so libm.so
glib2 libgobject-2.0.so
......@@ -26,6 +27,7 @@ depends=(cairo # libcairo.so
libx11
libxcb # libxcb-dri3.so libxcb-present.so libxcb-render.so libxcb-res.so libxcb-shm.so libxcb.so libxcb-xfixes.so libxcb-xinput.so
libxcomposite # libxcb-composite.so
libxcursor
libxfixes
libxkbcommon libxkbcommon.so
libxrender
......@@ -61,7 +63,7 @@ optdepends=('cmake: to build and install plugins using hyprpm'
'meson: to build and install plugins using hyprpm')
_archive="${pkgname^}-$pkgver"
source=("$_archive.tar.gz::$url/releases/download/v$pkgver/source-v$pkgver.tar.gz")
sha256sums=('c2de1ea4f02ae817d42268874f6be692d807dcff9817a0cd438f9a221b045369')
sha256sums=('278c137ad28f5e4ef9d65032b18cb230799c982d008654a90b5060dd32eaa54a')
prepare() {
ln -sf hyprland-source "$_archive"
......@@ -77,14 +79,6 @@ build() {
package() {
cd "$_archive"
find src \( -name '*.h' -o -name '*.hpp' \) -exec install -Dm0644 {} "$pkgdir/usr/include/hyprland/{}" \;
pushd subprojects/wlroots-hyprland/include
find . -name '*.h' -exec install -Dm0644 {} "$pkgdir/usr/include/hyprland/wlroots-hyprland/{}" \;
popd
pushd subprojects/wlroots-hyprland/build/include
find . -name '*.h' -exec install -Dm0644 {} "$pkgdir/usr/include/hyprland/wlroots-hyprland/{}" \;
popd
mkdir -p "$pkgdir/usr/include/hyprland/protocols"
cp protocols/*-protocol.h "$pkgdir/usr/include/hyprland/protocols"
pushd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
popd
......@@ -100,6 +94,4 @@ package() {
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
find subprojects/wlroots-hyprland/build -name 'libwlroots.so.*' -type f -execdir \
install -Dm0755 -t "$pkgdir/usr/lib/" {} \;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment