Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4656,7 +4656,7 @@ libngtcp2_crypto_ossl.so.0 ngtcp2-1.13.0_1
libprom.so prometheus-client-c-0.1.3_1
libqlementine.so.1 qlementine-1.2.2_1
libdatovka.so.8 libdatovka-0.7.0_1
libhyprutils.so.10 hyprutils-0.11.0_1
libhyprutils.so.13 hyprutils-0.14.2_1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to rebuild hyprpicker for the new version if you bump this.

libblake3.so.0 libblake3-1.8.2_1
libsexp.so.1 sfsexp-1.4.1_1
libeot.so.0 libeot-0.01_1
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/hyprutils-devel
33 changes: 29 additions & 4 deletions srcpkgs/hyprutils/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,42 @@
# Template file for 'hyprutils'
pkgname=hyprutils
version=0.11.0
version=0.14.2
revision=1
archs="x86_64"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this limit? It should be made to work on all architectures if possible.

build_style=cmake
hostmakedepends="pkg-config"
configure_args=" --no-warn-unused-cli -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="cmake pkg-config clang21"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding cmake here is not needed I believe.

makedepends="pixman-devel"
short_desc="Hyprland utilities library used across the ecosystem"
short_desc="Small C++ library used across the Hypr* ecosystem"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the project description. Drop this change.

maintainer="ii8 <murray.calavera@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprutils"
distfiles="https://github.com/hyprwm/hyprutils/archive/refs/tags/v${version}.tar.gz"
checksum=1f097eb9915081f1b929973701643bcd8581b469c242eae5446275b120a3b229
checksum=2061b7b08c8104fb02a609553b28f6c8580e5ec38633015845f1c4553980175b

pre_configure() {
export CC=clang
export CXX=clang++
export CXXFLAGS="${CXXFLAGS} -stdlib=libstdc++"
export LDFLAGS="${LDFLAGS} -stdlib=libstdc++"

configure_args+=" -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \
-DCMAKE_CXX_STANDARD=23 \
-DCMAKE_CXX_FLAGS=-stdlib=libstdc++ -DCMAKE_EXE_LINKER_FLAGS=-stdlib=libstdc++ -DCMAKE_SHARED_LINKER_FLAGS=-stdlib=libstdc++"
}

@ii8 ii8 Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross compilation will not work if you do this.


post_install() {
vlicense LICENSE
}

hyprutils-devel_package() {
depends="hyprutils-${version}_${revision}"
short_desc+=" - development files"

pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}

Check failure on line 42 in srcpkgs/hyprutils/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

Last line is empty
Loading