You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
3 years ago
|
|
||
6 years ago
|
inherit autotools pam toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="WINGs Display Manager"
|
||
|
HOMEPAGE="https://github.com/voins/wdm"
|
||
|
SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
3 years ago
|
KEYWORDS="~alpha amd64 ppc ~ppc64 ~sparc x86"
|
||
6 years ago
|
IUSE="pam selinux truetype"
|
||
|
|
||
3 years ago
|
DEPEND="
|
||
3 years ago
|
virtual/libcrypt:=
|
||
6 years ago
|
>=x11-wm/windowmaker-0.70.0
|
||
|
x11-libs/libXmu
|
||
|
x11-libs/libXpm
|
||
|
x11-libs/libXt
|
||
5 years ago
|
pam? ( sys-libs/pam )
|
||
6 years ago
|
truetype? ( x11-libs/libXft )
|
||
|
"
|
||
3 years ago
|
RDEPEND="${DEPEND}
|
||
|
pam? ( >=sys-auth/pambase-20080219.1 )
|
||
|
"
|
||
|
BDEPEND="
|
||
6 years ago
|
sys-devel/gettext
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
3 years ago
|
|
||
6 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-terminateServer.patch
|
||
|
"${FILESDIR}"/${P}-remove-fakehome.patch
|
||
|
"${FILESDIR}"/${P}-pkg_config.patch
|
||
|
"${FILESDIR}"/${P}-ar.patch
|
||
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
|
src_configure() {
|
||
|
tc-export AR
|
||
|
econf \
|
||
|
--with-wdmdir="${EPREFIX}"/etc/X11/wdm \
|
||
|
$(use_enable pam) \
|
||
|
$(use_enable selinux)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
5 years ago
|
rm -f "${ED}"/etc/pam.d/wdm || die
|
||
4 years ago
|
|
||
|
if use pam; then
|
||
|
pamd_mimic system-local-login wdm auth account password session
|
||
|
fi
|
||
6 years ago
|
}
|