x11-misc/wdm - 1.28-r10 (gentoo)

Search

Package Information

Description:
WINGs Display Manager
Homepage:
https://github.com/voins/wdm
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.28-r10 8 ~alpha amd64 ppc ~ppc64 ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools flag-o-matic 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"
KEYWORDS="~alpha amd64 ppc ~ppc64 ~sparc x86"
IUSE="pam selinux truetype"

DEPEND="
	virtual/libcrypt:=
	x11-libs/libX11
	x11-libs/libXau
	x11-libs/libXdmcp
	x11-libs/libXinerama
	x11-libs/libXmu
	x11-wm/windowmaker:=
	pam? ( sys-libs/pam )
	truetype? ( x11-libs/libXft )
"
RDEPEND="${DEPEND}
	pam? ( >=sys-auth/pambase-20080219.1 )
"
BDEPEND="
	sys-devel/gettext
	virtual/pkgconfig
"

PATCHES=(
	"${FILESDIR}"/${P}-terminateServer.patch
	"${FILESDIR}"/${P}-remove-fakehome.patch
	"${FILESDIR}"/${P}-remove-sigsetmask.patch
	"${FILESDIR}"/${P}-pkg_config.patch
	"${FILESDIR}"/${P}-ar.patch
	"${FILESDIR}"/${P}-prototype.patch
)

src_prepare() {
	default
	eautoreconf
}
src_configure() {
	tc-export AR

	# lto-type-mismatch
	# bug #941640
	filter-lto

	econf \
		--with-wdmdir="${EPREFIX}"/etc/X11/wdm \
		$(use_enable pam) \
		$(use_enable selinux)
}

src_install() {
	default

	rm -f "${ED}"/etc/pam.d/wdm || die

	if use pam; then
		pamd_mimic system-local-login wdm auth account password session
	fi
}

USE Flags

pam

Dependencies

DEPEND

	virtual/libcrypt:=
	x11-libs/libX11
	x11-libs/libXau
	x11-libs/libXdmcp
	x11-libs/libXinerama
	x11-libs/libXmu
	x11-wm/windowmaker:=
	pam? ( sys-libs/pam )
	truetype? ( x11-libs/libXft )

RDEPEND

	virtual/libcrypt:=
	x11-libs/libX11
	x11-libs/libXau
	x11-libs/libXdmcp
	x11-libs/libXinerama
	x11-libs/libXmu
	x11-wm/windowmaker:=
	pam? ( sys-libs/pam )
	truetype? ( x11-libs/libXft )

	pam? ( >=sys-auth/pambase-20080219.1 )

BDEPEND

	sys-devel/gettext
	virtual/pkgconfig