This commit is contained in:
Gerben Jan Dijkman 2022-02-07 13:42:03 +01:00
parent 70e8466b64
commit d7578c63ac

View File

@ -3,9 +3,7 @@
EAPI=8 EAPI=8
VALA_USE_DEPEND="vapigen" inherit systemd xdg-utils meson
inherit systemd xdg-utils meson vala
DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics" DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics"
HOMEPAGE="https://upower.freedesktop.org/" HOMEPAGE="https://upower.freedesktop.org/"
@ -33,7 +31,6 @@ DEPEND="
>=app-pda/libplist-2:= >=app-pda/libplist-2:=
) )
) )
vala? ( $(vala_depend) )
" "
RDEPEND="${DEPEND} RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-devicekit ) selinux? ( sec-policy/selinux-devicekit )
@ -52,9 +49,9 @@ DOCS=( AUTHORS HACKING NEWS README )
S="${WORKDIR}/${PN}-v${PV}" S="${WORKDIR}/${PN}-v${PV}"
src_prepare() { src_prepare() {
eapply_user eapply_user
use vala && vala_src_prepare default
xdg_environment_reset xdg_environment_reset
} }