mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
45 lines
913 B
Bash
45 lines
913 B
Bash
# Copyright 2021-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson systemd
|
|
|
|
DESCRIPTION="Lightweight overlay volume/backlight/progress/anything bar for Wayland"
|
|
HOMEPAGE="https://github.com/francma/wob"
|
|
SRC_URI="https://github.com/francma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="+man +seccomp test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
dev-libs/inih
|
|
dev-libs/wayland
|
|
seccomp? ( sys-libs/libseccomp )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-libs/wayland-protocols
|
|
"
|
|
BDEPEND="
|
|
dev-util/wayland-scanner
|
|
man? ( app-text/scdoc )
|
|
test? ( dev-util/cmocka )
|
|
"
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_feature man man-pages)
|
|
$(meson_feature seccomp)
|
|
$(meson_feature test tests)
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
systemd_douserunit contrib/systemd/${PN}.{service,socket}
|
|
}
|