Add hyprgraphics

This commit is contained in:
Paddy Milner 2025-09-28 10:53:04 +01:00
parent 665dc14a7a
commit 6ab89f1982

View file

@ -0,0 +1,28 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Hyprland graphics / resource utilities"
HOMEPAGE="https://github.com/hyprwm/hyprgraphics"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
inherit git-r3
EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
# Upstream states that the simpleWindow test is broken, see bug 936653
RESTRICT="test"
RDEPEND="
media-libs/libjxl
media-libs/libspng
"
DEPEND="${RDEPEND}"
src_prepare() {
# sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
cmake_src_prepare
}