Skip to content

Commit b0ad73a

Browse files
authored
More packages of the hypr* ecosystem (#29)
* New package: hyprlauncher * New package: hyprpwcenter * New package: hyprshutdown * Unify all patch names
1 parent e502f7e commit b0ad73a

14 files changed

Lines changed: 86 additions & 1 deletion

File tree

srcpkgs/hyprland/patches/02-fix-monitor-mode-sorting.patch renamed to srcpkgs/hyprland/patches/fix-monitor-mode-sorting.patch

File renamed without changes.
File renamed without changes.

srcpkgs/hyprland/patches/01-fix-string-view-conversion.patch renamed to srcpkgs/hyprland/patches/fix-string-view-conversion.patch

File renamed without changes.

srcpkgs/hyprland/patches/03-fix-xcb-connection-cast.patch renamed to srcpkgs/hyprland/patches/fix-xcb-connection-cast.patch

File renamed without changes.

srcpkgs/hyprland/patches/04-replace-embed-with-include.patch renamed to srcpkgs/hyprland/patches/replace-embed-with-include.patch

File renamed without changes.

srcpkgs/hyprlauncher/template

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Template file for 'hyprlauncher'
2+
pkgname=hyprlauncher
3+
version=0.1.5
4+
revision=1
5+
build_style=cmake
6+
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release"
7+
hostmakedepends="cmake hyprwire pkg-config"
8+
makedepends="cairo-devel fontconfig-devel hyprlang hyprtoolkit hyprutils hyprwire
9+
icu-devel libdrm-devel libqalculate-devel libxkbcommon-devel pango-devel pixman-devel"
10+
depends="wl-clipboard"
11+
short_desc="Multipurpose and versatile launcher / picker for Hyprland"
12+
maintainer="Encoded14 <linusken@posteo.com>"
13+
license="BSD-3-Clause"
14+
homepage="https://github.com/hyprwm/hyprlauncher"
15+
changelog="https://github.com/hyprwm/${pkgname}/releases"
16+
distfiles="https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${version}.tar.gz"
17+
checksum=907bf3ce39699d565d49adff1f9b2baee4b59fbb0c1c2b1ec41814f05065bec7
18+
19+
post_install() {
20+
vlicense LICENSE
21+
}

srcpkgs/hyprpaper/patches/02-fix-musl-cstring.patch renamed to srcpkgs/hyprpaper/patches/fix-musl-cstring.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
+#include <cstring>
88

99
using namespace Hyprutils::Memory;
10-
10+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/src/ui/graph/GraphNode.cpp 2026-02-10 15:41:09.000000000 +0100
2+
+++ b/src/ui/graph/GraphNode.cpp 2026-03-08 19:37:25.668189805 +0100
3+
@@ -80,9 +80,9 @@
4+
const auto& p = m_node->m_ports.at(i);
5+
6+
if (p->m_output)
7+
- outputVec.append_range(p->m_channels);
8+
+ outputVec.insert(outputVec.end(), p->m_channels.begin(), p->m_channels.end());
9+
else
10+
- inputVec.append_range(p->m_channels);
11+
+ inputVec.insert(inputVec.end(), p->m_channels.begin(), p->m_channels.end());
12+
}
13+
14+
size_t maxRows = std::max(inputVec.size(), outputVec.size());

srcpkgs/hyprpwcenter/template

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Template file for 'hyprpwcenter'
2+
pkgname=hyprpwcenter
3+
version=0.1.2
4+
revision=1
5+
build_style=cmake
6+
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release"
7+
hostmakedepends="cmake pkg-config"
8+
makedepends="cairo-devel hyprtoolkit hyprutils libdrm-devel pipewire-devel
9+
libxkbcommon-devel pango-devel pixman-devel"
10+
short_desc="GUI Pipewire control center built with hyprtoolkit"
11+
maintainer="Encoded14 <linusken@posteo.com>"
12+
license="BSD-3-Clause"
13+
homepage="https://github.com/hyprwm/hyprpwcenter"
14+
changelog="https://github.com/hyprwm/${pkgname}/releases"
15+
distfiles="https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${version}.tar.gz"
16+
checksum=ab4cfd4710566b07e98973d6723c24802d95774aa9c02aca839ff03e3bf09659
17+
18+
post_install() {
19+
vlicense LICENSE
20+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- a/src/state/HyprlandIPC.cpp 2026-01-27 22:57:41.000000000 +0100
2+
+++ b/src/state/HyprlandIPC.cpp 2026-03-08 20:23:18.392289081 +0100
3+
@@ -14,6 +14,7 @@
4+
#include <algorithm>
5+
#include <charconv>
6+
#include <csignal>
7+
+#include <cstring>
8+
9+
#include <hyprutils/memory/Casts.hpp>
10+
#include <hyprutils/utils/ScopeGuard.hpp>

0 commit comments

Comments
 (0)