mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
64 lines
1.3 KiB
Bash
64 lines
1.3 KiB
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson optfeature
|
|
|
|
MY_COMMIT="cc1983d065ba2725214dc2ad7b597554c5f21856"
|
|
|
|
DESCRIPTION="A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES"
|
|
HOMEPAGE="https://noctalia.dev/ https://github.com/noctalia-dev/noctalia"
|
|
|
|
SRC_URI="https://github.com/noctalia-dev/noctalia/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
IUSE="+jemalloc"
|
|
|
|
DEPEND="
|
|
dev-cpp/sdbus-c++
|
|
dev-libs/glib:2
|
|
jemalloc? ( dev-libs/jemalloc:= )
|
|
dev-libs/libxml2
|
|
dev-libs/wayland
|
|
gnome-base/librsvg:2
|
|
media-libs/fontconfig
|
|
media-libs/freetype
|
|
media-libs/libwebp
|
|
media-libs/mesa
|
|
media-video/pipewire
|
|
net-misc/curl
|
|
sci-libs/libqalculate
|
|
sys-auth/polkit
|
|
sys-libs/pam
|
|
virtual/opengl
|
|
x11-libs/cairo[glib]
|
|
x11-libs/libxkbcommon
|
|
x11-libs/pango
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="
|
|
dev-libs/wayland
|
|
dev-libs/wayland-protocols
|
|
dev-util/wayland-scanner
|
|
"
|
|
|
|
DOCS=( README.md CREDITS.md example.toml )
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_feature jemalloc)
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
optfeature "external display brightness control" app-misc/ddcutil
|
|
optfeature "hardware-accelerated screen recording" media-video/gpu-screen-recorder
|
|
}
|