/[gentoo-x86]/x11-apps/xinit/xinit-1.0.8-r1.ebuild
Gentoo

Contents of /x11-apps/xinit/xinit-1.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 9 02:08:44 2008 UTC (11 years, 6 months ago) by dirtyepic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix typo. Drop stable to ~mips to prevent repoman warnings.
(Portage version: 2.2_pre5)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.0.8-r1.ebuild,v 1.1 2008/04/08 20:45:37 cardoe Exp $
4
5 # Must be before x-modular eclass is inherited
6 # This is enabled due to modified Makefile.am from the patches
7 SNAPSHOT="yes"
8
9 inherit x-modular pam
10
11 DESCRIPTION="X Window System initializer"
12
13 LICENSE="${LICENSE} GPL-2"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
15 IUSE="hal minimal pam"
16
17 RDEPEND="x11-apps/xauth
18 x11-libs/libX11
19 hal? ( sys-auth/consolekit )"
20 DEPEND="${RDEPEND}"
21 PDEPEND="!minimal? ( x11-wm/twm
22 x11-apps/xclock
23 x11-apps/xrdb
24 x11-apps/xsm
25 x11-terms/xterm )"
26
27 PATCHES="${FILESDIR}/nolisten-tcp-and-black-background.patch
28 ${FILESDIR}/gentoo-startx-customization-1.0.8.patch
29 ${FILESDIR}/xinit-1.0.4-console-kit.patch"
30
31 CONFIGURE_OPTIONS="$(use_with hal consolekit)"
32
33 pkg_setup() {
34 if use hal; then
35 if ! built_with_use sys-apps/dbus X ; then
36 eerror "You MUST build sys-apps/dbus with the X USE flag enabled."
37 die "You MUST build sys-apps/dbus with the X USE flag enabled."
38 fi
39 fi
40 }
41
42 src_unpack() {
43 x-modular_unpack_source
44 x-modular_patch_source
45
46 sed -i -e "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" "${S}/Makefile.am"
47
48 x-modular_reconf_source
49 }
50
51 src_install() {
52 x-modular_src_install
53 exeinto /etc/X11
54 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh || die
55 exeinto /etc/X11/Sessions
56 doexe "${FILESDIR}"/Xsession || die
57 exeinto /etc/X11/xinit
58 doexe "${FILESDIR}"/xinitrc || die
59 newinitd "${FILESDIR}"/xdm.initd-1 xdm
60 newconfd "${FILESDIR}"/xdm.confd-1 xdm
61 newpamd "${FILESDIR}"/xserver.pamd xserver
62 newenvd "${FILESIDR}"/xsession.env.d 90xsession
63 }

  ViewVC Help
Powered by ViewVC 1.1.20