51 lines
781 B
Bash
Executable File
51 lines
781 B
Bash
Executable File
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3 meson
|
|
|
|
DESCRIPTION="Vala rewrite of SimplePanel"
|
|
HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel"
|
|
EGIT_REPO_URI="https://gitlab.com/vala-panel-project/vala-panel.git"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
IUSE="+drawing X wayland"
|
|
REQUIRED_USE=""
|
|
|
|
|
|
RDEPEND="
|
|
x11-libs/libwnck
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/fix-xfce-panel-stuff.patch
|
|
)
|
|
|
|
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
|
|
}
|