febuild/x11-misc/vala-panel/vala-panel-24.05.ebuild

49 lines
768 B
Bash
Executable File

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Vala rewrite of SimplePanel"
HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel"
SRC_URI="https://gitlab.com/vala-panel-project/vala-panel/-/archive/24.05/vala-panel-24.05.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="+drawing X wayland"
REQUIRED_USE=""
KEYWORDS="~amd64"
RDEPEND="
x11-libs/libwnck
"
DEPEND="${RDEPEND}"
src_configure() {
local emesonargs=(
$(meson_use drawing)
)
if use X; then
emesonargs+=(
-Dplatforms=X
)
fi
if use wayland; then
emesonargs+=(
-Dplatforms=wayland
)
fi
meson_src_configure
}
src_install() {
meson_src_install
rm -r ${D}/usr/share/doc/vala-panel-appmenu
}