Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyprland #79

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
7d85558
* trigger manually *
zen0bit Mar 18, 2024
ab5e4ad
New package: hyprland-protocols-0.2
zen0bit Mar 16, 2024
1c5cbc4
New package: hyprlang-0.5.0
zen0bit Mar 16, 2024
682ba55
New package: hyprcusror-0.1.4
zen0bit Mar 16, 2024
17cdd21
New package: sdbus-cpp-1.5.0
zen0bit Mar 16, 2024
aabcf4c
New package: hypridle-0.1.1
zen0bit Mar 16, 2024
ada97d5
New package: hyprlock-0.2.0
zen0bit Mar 16, 2024
56978be
New package: hyprpaper-0.6.0
zen0bit Mar 16, 2024
824992b
New package: tomlplusplus-3.4.0
zen0bit Mar 16, 2024
3850c93
New package: hyprland-0.37.1
zen0bit Mar 16, 2024
cb496c1
New package: xdg-desktop-portal-hyprland-1.3.1
zen0bit Mar 16, 2024
8fb7ab1
hyprpicker: update to 0.2.0
zen0bit Mar 16, 2024
bd84839
hyprcursor: use main branch
zen0bit Mar 18, 2024
202b140
* trigger manually *
zen0bit Mar 18, 2024
32ca41f
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 12, 2024
9615b2e
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 13, 2024
1006293
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 14, 2024
a7edee8
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 15, 2024
5d64d75
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 16, 2024
1910848
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 17, 2024
5bb5f4d
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 18, 2024
a3cb99a
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 19, 2024
153cacd
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 20, 2024
4780c71
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 21, 2024
134d705
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 22, 2024
94222e1
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 23, 2024
95b03e0
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 24, 2024
25f4c13
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 25, 2024
8d1a5a3
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 26, 2024
5f86d87
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 27, 2024
84de473
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 28, 2024
4e60f59
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 29, 2024
05ceef8
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user Apr 30, 2024
7ff9816
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 1, 2024
7465368
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 2, 2024
8e3ace7
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 3, 2024
6d15c01
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 4, 2024
efc0786
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 5, 2024
2c760fe
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 6, 2024
78f75ef
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 7, 2024
e1d2783
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 8, 2024
47fc578
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 9, 2024
69c2a9d
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 10, 2024
0d32043
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 11, 2024
9e1c0ca
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 12, 2024
7e5b068
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 13, 2024
24d3151
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 14, 2024
b62f36c
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 15, 2024
fffb03c
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 16, 2024
1a25803
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 17, 2024
de27d02
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 18, 2024
5aa45e2
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 19, 2024
eab6623
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 20, 2024
547a2bf
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 21, 2024
095aae2
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 22, 2024
288863b
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 23, 2024
ba8a079
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 24, 2024
156caba
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 25, 2024
8438d9b
Merge branch 'master' of https://github.com/void-linux/void-packages
actions-user May 26, 2024
fcf40a5
Merge branch 'master' into hyprland
zen0bit Jul 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Check build
name: Check build anywhere

on:
pull_request:
paths:
- 'srcpkgs/**'
push:
branches:
- 'ci-**'
# branches:
# - 'ci-**'
paths:
- 'srcpkgs/**'

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: 'Build buildroot containers'
name: 'Build buildroot containers anywhere'

on:
workflow_dispatch:
Expand All @@ -9,8 +9,8 @@ on:
paths:
- common/container/**
push:
branches:
- master
# branches:
# - master
paths:
- common/container/**

Expand Down
4 changes: 4 additions & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4494,6 +4494,10 @@ libunicode_loader.so.0.4 libunicode-0.4.0_1
force-stage.so.0.1 void-force-stage-0.1_1
libliftoff.so.0 libliftoff-0.4.1_1
libscfg.so libscfg-0.1.1_1
libsdbus-c++.so.1 sdbus-cpp-1.5.0_1
libhyprlang.so.2 hyprlang-0.5.0_1
libhyprcursor.so.0 hyprcursor-0.1.4_1
libtomlplusplus.so.3 tomlplusplus-3.4.0_1
libmsgraph-0.so.1 msgraph-0.2.1_1
libgtk-session-lock.so.0 gtk-session-lock-0.2.0_1
libcamera.so.0.2 libcamera-0.2.0_1
Expand Down
19 changes: 19 additions & 0 deletions srcpkgs/hyprcursor/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Template file for 'hyprcursor'
pkgname=hyprcursor
version=0.1.4
revision=1
build_style=cmake
hostmakedepends="pkg-config cairo-devel"
makedepends="hyprlang librsvg-devel libzip-devel"
short_desc="Hyprland cursor format, library and utilities"
maintainer="zenobit <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprcursor"
# Temporary use main branch until new release (instead of patch)
# distfiles="https://github.com/hyprwm/hyprcursor/archive/refs/tags/v${version}.tar.gz"
distfiles="https://github.com/hyprwm/hyprcursor/archive/refs/heads/main.zip"
checksum=fcc199fa728df104c5633171598b94e44663214c00f46c2a616f75bd09d26ef2

post_install() {
vlicense LICENSE
}
18 changes: 18 additions & 0 deletions srcpkgs/hypridle/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'hypridle'
pkgname=hypridle
version=0.1.1
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="hyprlang sdbus-cpp wayland-devel wayland-protocols"
short_desc="Hyprland's idle daemon"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hypridle"
#changelog="https://github.com/hyprwm/hyptidle/releases"
distfiles="https://github.com/hyprwm/hypridle/archive/refs/tags/v${version}.tar.gz"
checksum=55dffb5b4cd25f034c6fdd98a9fa1d6763ff6e07b1d51b9e0b4cdd4fe65bc798

post_install() {
vlicense LICENSE
}
1 change: 1 addition & 0 deletions srcpkgs/hyprland-devel
17 changes: 17 additions & 0 deletions srcpkgs/hyprland-protocols/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Template file for 'hyprland-protocols'
pkgname=hyprland-protocols
version=0.2
revision=1
build_style=meson
hostmakedepends="wayland-devel"
makedepends="wayland-devel"
short_desc="Wayland protocol extensions for Hyprland"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprland-protocols"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0

post_install() {
vlicense LICENSE
}
124 changes: 124 additions & 0 deletions srcpkgs/hyprland/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# Template file for 'hyprland'
pkgname=hyprland
version=0.37.1
revision=1
hostmakedepends="
cmake
cpio
glslang
hwids
jq
meson
ninja
pkg-config
wayland-devel
"
makedepends="
cairo-devel
hyprcursor
hyprlang
libdisplay-info-devel
libdrm-devel
libgbm-devel
libglvnd-devel
libinput-devel
libliftoff-devel
libseat-devel
libxcb-devel
libxkbcommon-devel
pango-devel
tomlplusplus
wayland-devel
wayland-protocols
xcb-util-errors-devel
xcb-util-renderutil-devel
xcb-util-wm-devel
xorg-server-xwayland
"
short_desc="Dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://hyprland.org/"
changelog="https://github.com/hyprwm/Hyprland/releases"
distfiles="https://github.com/hyprwm/Hyprland/releases/download/v${version}/source-v${version}.tar.gz"
checksum=bf3c33f7643218af3c44411c28e9a20fcd02225e56d732a8a4a446d9a298f862

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
depends+=" libexecinfo"
fi

do_build() {
# build hyprland
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
cmake --no-warn-unused-cli \
-DCMAKE_CXX_FLAGS="-lexecinfo" \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DNO_SYSTEMD:STRING=true \
-S . -B ./build -G Ninja
else
cmake --no-warn-unused-cli \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DNO_SYSTEMD:STRING=true \
-S . -B ./build -G Ninja
fi

cmake --build ./build --config Release --target all -j${XBPS_MAKEJOBS}
chmod -R 777 ./build
}

do_install() {
# license
vlicense LICENSE

# binaries
vbin build/Hyprland
vbin build/hyprctl/hyprctl
vbin build/hyprpm/hyprpm

# assets
vmkdir usr/share/wayland-sessions
vmkdir usr/share/hyprland
vmkdir usr/share/xdg-desktop-portal

install -Dm0644 assets/*.png ${DESTDIR}/usr/share/hyprland
vinstall assets/header.svg 644 usr/share/hyprland
vinstall assets/hyprland-portals.conf 644 usr/share/xdg-desktop-portal
vinstall example/hyprland.desktop 644 usr/share/wayland-sessions
vinstall example/hyprland.conf 644 usr/share/hyprland

vman docs/Hyprland.1
vman docs/hyprctl.1

# wlroots
vinstall subprojects/wlroots/build/libwlroots.so.13032 644 usr/lib

# headers
vmkdir usr/include/hyprland
vmkdir usr/include/hyprland/protocols
vmkdir usr/include/hyprland/wlroots
vmkdir usr/share/pkgconfig

find src -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland

pushd subprojects/wlroots/include
find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots
popd

pushd subprojects/wlroots/build/include
find . -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland/wlroots
popd

vinstall build/hyprland.pc 644 usr/share/pkgconfig
install -Dm0644 protocols/*-protocol.h ${DESTDIR}/usr/include/hyprland/protocols

}

hyprland-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${hostmakedepends} ${makedepends}"
short_desc="Dynamic tiling Wayland compositor - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
}
}
13 changes: 13 additions & 0 deletions srcpkgs/hyprlang/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Template file for 'hyprlang'
pkgname=hyprlang
version=0.5.0
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
short_desc="Official implementation library for the hypr config language"
maintainer="Makrennel <[email protected]>"
license="LGPL-3.0-only"
homepage="https://hyprland.org/hyprlang/index.html"
changelog="https://github.com/hyprwm/hyprlang/releases"
distfiles="https://github.com/hyprwm/hyprlang/archive/refs/tags/v${version}.tar.gz"
checksum=c59e705f2c2ff9ea4e2b183fdf0bc20a62b7162604a657d6352716a1fd5061b2
18 changes: 18 additions & 0 deletions srcpkgs/hyprlock/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'hyprlock'
pkgname=hyprlock
version=0.2.0
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="cairo-devel hyprlang libdrm-devel libxkbcommon-devel MesaLib-devel pango-devel pam-devel wayland-devel wayland-protocols"
short_desc="Hyprland's GPU-accelerated screen locking utility"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprlock"
changelog="https://github.com/hyprwm/${pkgname}/releases"
distfiles="https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=3d56220ac03016163e196bc2c08e5b16e83583fa9446ad52e32ddbb56c293994

post_install() {
vlicense LICENSE
}
39 changes: 39 additions & 0 deletions srcpkgs/hyprpaper/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Template file for 'hyprpaper'
pkgname=hyprpaper
version=0.6.0
revision=1
hostmakedepends="pkg-config cmake wayland-devel"
makedepends="
pango-devel
cairo-devel
libjpeg-turbo-devel
wayland-devel
wayland-protocols
wlroots-devel
hyprland-protocols
hyprlang
libwebp-devel
file-devel
"
short_desc="Fast wallpaper utility for wlroots compositors with IPC controls"
maintainer="Makrennel <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprpaper"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=71d8294ffbcbaae628c4eabdcb3b7fb1974d6bed7794b787bb77934d0a3f4538

do_build() {
cmake \
--no-warn-unused-cli \
-G "Unix Makefiles" \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-B build
make protocols
make -C build all
}

do_install() {
vbin build/hyprpaper
vlicense LICENSE
}
15 changes: 15 additions & 0 deletions srcpkgs/sdbus-cpp/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Template file for 'sdbus-cpp'
pkgname=sdbus-cpp
version=1.5.0
revision=1
build_style=cmake
hostmakedepends="cmake meson ninja pkg-config git m4 rsync gperf"
makedepends="libmount-devel libcap-devel libelogind elogind-devel elogind"
depends="libmount libcap libelogind elogind-devel elogind"
short_desc="High-level C++ D-Bus library to provide API in modern C++"
maintainer="Makrennel <[email protected]>"
license="LGPL-2.1-only"
homepage="https://github.com/Kistler-Group/sdbus-cpp"
changelog="https://github.com/Kistler-Group/${pkgname}/releases"
distfiles="https://github.com/Kistler-Group/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=577986929f911320fb9ef6a3e2badd464dc38411ebc25d2966f5cb85c39f0897
16 changes: 16 additions & 0 deletions srcpkgs/tomlplusplus/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Template file for 'tomlplusplus'
pkgname=tomlplusplus
version=3.4.0
revision=1
build_style="meson"
hostmakedepends="pkg-config cmake"
short_desc="Header-only TOML config file parser and serializer for C++17"
maintainer="Makrennel <[email protected]>"
license="MIT"
homepage="https://marzer.github.io/tomlplusplus/"
distfiles="https://github.com/marzer/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=8517f65938a4faae9ccf8ebb36631a38c1cadfb5efa85d9a72e15b9e97d25155

post_install() {
vlicense LICENSE
}
42 changes: 42 additions & 0 deletions srcpkgs/xdg-desktop-portal-hyprland/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Template file for 'xdg-desktop-portal-hyprland'
pkgname=xdg-desktop-portal-hyprland
version=1.3.1
revision=1
build_style=cmake
hostmakedepends="
pkg-config
wayland-devel
scdoc
cmake
git
"
makedepends="
wayland-devel
wayland-protocols
hyprland-protocols
pipewire-devel
libgbm-devel
libdrm-devel
elogind-devel
qt6-base-devel
hyprlang
sdbus-cpp
"
depends="
xdg-desktop-portal
pipewire
qt6-base
qt6-wayland
hyprlang
sdbus-cpp
"
short_desc="Backend of xdg-desktop-portal for Hyprland"
maintainer="Makrennel <[email protected]>"
license="MIT"
homepage="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum="60b390f326b84cc52657b735e3d7ba8f03aa3363672100dba47580984491611f"

post_install() {
vlicense LICENSE
}
Loading