Prepare for publication: license, disclaimer, limitations, kernel 7.3.7, polkit action rename
- LICENSE: ebuilds GPL-2.0-only (LICENSE.GPL-2), everything else MIT. - README: unofficial/no-affiliation and account-risk disclaimer; requirements and limitations (NVIDIA/ZFS/r8125 EAC modules not packaged, keys, ESP, one tested machine). - AGENTS.md: the values table is the author's example machine. - progress: CachyOS's key is on Epic's trusted list (was wrong). - overlay: kernel 7.3.7_p2 with module cleanup, compat -r3 (polkit action de.root64.engler-labs.eac-openrc-compat), pkgcheck fixes.
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{13..14} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="systemd shims and socket activation for the EAC Linux v2 service on OpenRC"
|
||||
HOMEPAGE="https://git.engler-labs.root64.de/fabolous005/eac-gentoo-openrc"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
!sys-apps/systemd
|
||||
sys-apps/openrc
|
||||
sys-apps/util-linux
|
||||
sys-auth/elogind
|
||||
sys-auth/polkit
|
||||
sys-process/procps
|
||||
"
|
||||
|
||||
src_install() {
|
||||
local lib=/usr/libexec/${PN}
|
||||
|
||||
dobin "${FILESDIR}"/systemctl "${FILESDIR}"/systemd-run "${FILESDIR}"/eac-run
|
||||
exeinto ${lib}
|
||||
doexe "${FILESDIR}"/systemd-run-agent "${FILESDIR}"/socket-activate "${FILESDIR}"/socket-activate-ctl
|
||||
python_fix_shebang "${ED}"/usr/bin/systemd-run "${ED}"${lib}/systemd-run-agent "${ED}"${lib}/socket-activate
|
||||
|
||||
insinto /usr/share/polkit-1/actions
|
||||
doins "${FILESDIR}"/de.root64.engler-labs.eac-openrc-compat.policy
|
||||
|
||||
newinitd "${FILESDIR}"/socket-activate.initd socket-activate
|
||||
dosym socket-activate /etc/init.d/socket-activate.easyanticheat_eos
|
||||
newconfd "${FILESDIR}"/easyanticheat_eos.confd socket-activate.easyanticheat_eos
|
||||
|
||||
# EAC's helper links libsystemd.so.0; elogind exports the same LIBSYSTEMD_* symbol versions.
|
||||
dosym libelogind.so.0 /usr/$(get_libdir)/libsystemd.so.0
|
||||
|
||||
dodoc "${FILESDIR}"/README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Start game launchers through eac-run, e.g. eac-run EpicGamesLauncher,"
|
||||
elog "and run a session-wide polkit authentication agent (not pkttyagent)."
|
||||
elog "Details: ${EROOT}/usr/share/doc/${PF}/README.md*"
|
||||
}
|
||||
Reference in New Issue
Block a user