enlightenment: restore localization support

Also remove the execinfo musl bits since execinfo.h doesn't exist
in our musl masterdirs by default, so it does nothing.

Fixes https://github.com/void-linux/void-packages/issues/22839
This commit is contained in:
q66 2020-06-12 22:58:45 +02:00
parent 4b29802469
commit a8c1997352

View file

@ -1,12 +1,12 @@
# Template file for 'enlightenment'
pkgname=enlightenment
version=0.24.1
revision=1
revision=2
build_style=meson
configure_args="--sysconfdir=/etc -Dpam=true -Dbluez4=false -Dsystemd=false
$(vopt_bool wayland wl)"
hostmakedepends="efl pkg-config $(vopt_if wayland xorg-server-xwayland)"
makedepends="efl-devel pam-devel xkeyboard-config
hostmakedepends="efl pkg-config gettext $(vopt_if wayland xorg-server-xwayland)"
makedepends="gettext-devel efl-devel pam-devel xkeyboard-config
$(vopt_if wayland 'libxkbcommon-devel MesaLib-devel wayland-devel')"
depends="desktop-file-utils hicolor-icon-theme xkeyboard-config
$(vopt_if wayland xorg-server-xwayland)"
@ -25,13 +25,6 @@ if [ "$CROSS_BUILD" -a "$build_option_wayland" ]; then
hostmakedepends+=" wayland-devel"
fi
post_extract() {
# disable backtrace support on musl for now
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
vsed -i '/HAVE_EXECINFO_H/d' meson.build
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