blob: 1336e4f452182c838da074164651e8a48fdcd531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="RC init files for starting display and login managers"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:X11"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
sys-apps/gentoo-functions
!<=sys-apps/sysvinit-2.98
!<=x11-apps/xinit-1.4.1
"
src_install() {
newinitd "${FILESDIR}"/display-manager-setup.initd-r1 display-manager-setup
newinitd "${FILESDIR}"/display-manager.initd-r6 display-manager
newinitd "${FILESDIR}"/xdm.initd xdm
newconfd "${FILESDIR}"/display-manager.confd display-manager
newbin "${FILESDIR}"/startDM-r1 startDM
# backwards compatibility
dosym "${ESYSROOT}"/usr/bin/startDM /etc/X11/startDM.sh
}
|