enlightenment: wayland-devel belongs into hostmakedepends

This commit is contained in:
Duncaen 2023-04-29 17:08:26 +02:00
parent 3ed8d865a4
commit 8f57e4500b
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -5,7 +5,7 @@ revision=1
build_style=meson
configure_args="--sysconfdir=/etc -Dpam=true -Dsystemd=false
$(vopt_bool wayland wl)"
hostmakedepends="efl pkg-config gettext $(vopt_if wayland xorg-server-xwayland)"
hostmakedepends="efl pkg-config gettext $(vopt_if wayland 'xorg-server-xwayland wayland-devel')"
makedepends="gettext-devel efl-devel pam-devel xkeyboard-config libexif-devel
$(vopt_if wayland 'libxkbcommon-devel MesaLib-devel wayland-devel')"
depends="desktop-file-utils hicolor-icon-theme xkeyboard-config
@ -21,10 +21,6 @@ lib32disabled=yes
build_options="wayland"
build_options_default="wayland"
if [ "$CROSS_BUILD" -a "$build_option_wayland" ]; then
hostmakedepends+=" wayland-devel"
fi
post_install() {
# Use our native tools to shutdown/suspend.
sed -i 's/^action:.*halt.*/action: halt shutdown -h now/g' ${DESTDIR}/etc/${pkgname}/sysactions.conf