Get Ly ebuild from supertux88
This commit is contained in:
parent
9a34b0ba07
commit
0008749be9
@ -1,40 +1,31 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DESCRIPTION="Display manager with console UI"
|
|
||||||
HOMEPAGE="https://github.com/fairyglade/ly"
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/fairyglade/ly.git"
|
|
||||||
EGIT_BRANCH="master"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
|
|
||||||
EGIT_SUBMODULES=( '*' )
|
|
||||||
|
|
||||||
LICENSE="WTFPL"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
|
|
||||||
IUSE="systemd"
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/pam
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-apps/xauth
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
|
|
||||||
src_install() {
|
DESCRIPTION="a TUI display manager"
|
||||||
if use systemd ; then
|
HOMEPAGE="https://github.com/fairyglade/ly"
|
||||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" installsystemd || die "make install systemd failed"
|
EGIT_REPO_URI="https://github.com/fairyglade/ly.git"
|
||||||
elog "Run \`systemctl enable ly.service\`" to enable ly
|
|
||||||
else
|
LICENSE="WTFPL-2"
|
||||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" installopenrc || die "make install openrc failed"
|
SLOT="0"
|
||||||
elog "Run \`rc-update add ly\`" to enable ly
|
IUSE="openrc runit systemd"
|
||||||
fi
|
|
||||||
|
DEPEND="sys-libs/pam
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-base/xorg-server
|
||||||
|
x11-apps/xauth"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
openrc? ( sys-apps/openrc )
|
||||||
|
runit? ( sys-process/runit )
|
||||||
|
systemd? ( sys-apps/systemd )"
|
||||||
|
|
||||||
|
src_install(){
|
||||||
|
default
|
||||||
|
|
||||||
|
use openrc && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install installopenrc
|
||||||
|
use runit && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install installrunit
|
||||||
|
use systemd && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install installsystemd
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user