The module architecture was incorrectly constructed as: linux-x86_64-0.27 But Enlightenment expects: linux-gnu-x86_64-0.27.1 Changes: - Detect system ABI (gnu/musl) via features.h header check - Use full Enlightenment version instead of just major.minor - Correct architecture format: <system>-<abi>-<cpu>-<version> This ensures the module installs to the correct directory that Enlightenment will find when loading modules. Also updated Gentoo ebuild to set S variable for correct source directory extraction (git archives extract to 'eiwd' not 'eiwd-0.1.0').
56 lines
1.1 KiB
Bash
56 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson
|
|
|
|
DESCRIPTION="Enlightenment Wi-Fi module using iwd backend"
|
|
HOMEPAGE="https://git.nemunai.re/nemunaire/eiwd"
|
|
SRC_URI="https://git.nemunai.re/nemunaire/eiwd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~arm64"
|
|
IUSE="nls"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
RDEPEND="
|
|
>=x11-wm/enlightenment-0.25.0
|
|
>=dev-libs/efl-1.26.0
|
|
>=net-wireless/iwd-1.0
|
|
sys-apps/dbus
|
|
"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
BDEPEND="
|
|
>=dev-build/meson-0.56.0
|
|
virtual/pkgconfig
|
|
nls? ( sys-devel/gettext )
|
|
"
|
|
|
|
DOCS=( README.md INSTALL.md CONTRIBUTING.md )
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_use nls)
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
einstalldocs
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "To use eiwd, you need to:"
|
|
elog "1. Ensure iwd service is running: rc-service iwd start"
|
|
elog "2. Enable the module in Enlightenment: Settings -> Modules -> IWD"
|
|
elog "3. Add the gadget to your shelf"
|
|
elog ""
|
|
elog "For non-root Wi-Fi management, configure polkit rules."
|
|
elog "See /usr/share/doc/${PF}/INSTALL.md for details."
|
|
}
|