Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 194873 | Differences between
and this patch

Collapse All | Expand All

(-)ksmserver-3.5.9.ebuild.orig (-7 / +33 lines)
Lines 6-22 Link Here
6
EAPI="1"
6
EAPI="1"
7
inherit kde-meta eutils
7
inherit kde-meta eutils
8
8
9
#SRC_URI="${SRC_URI}
10
#	mirror://gentoo/kdebase-3.5-patchset-07.tar.bz2"
11
12
DESCRIPTION="The reliable KDE session manager that talks the standard X11R6"
9
DESCRIPTION="The reliable KDE session manager that talks the standard X11R6"
13
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
10
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
14
IUSE="kdehiddenvisibility"
11
IUSE="dbus hal kdehiddenvisibility"
15
12
16
KMEXTRACTONLY="kdm/kfrontend/themer/"
13
KMEXTRACTONLY="kdm/kfrontend/themer/"
17
KMCOMPILEONLY="kdmlib/"
14
KMCOMPILEONLY="kdmlib/"
18
KMNODOCS=true
15
KMNODOCS=true
19
16
20
# Re-add those patches later on.
17
DEPEND="dbus? ( sys-apps/dbus )
21
#EPATCH_EXCLUDE="ksmserver-3.5.8-ksmserver_suspend.diff
18
		hal? ( sys-apps/hal )"
22
#				ksmserver-3.5.8-suspend_configure.diff"
19
20
PATCHES="${FILESDIR}/${P}-ksmserver_suspend.diff
21
		 ${FILESDIR}/${P}-suspend_configure.diff"
22
23
src_compile() {
24
   myconf="${myconf}
25
		   $(use_enable hal)
26
		   $(use_enable dbus)"
27
28
   kde-meta_src_compile
29
}
30
31
pkg_setup() {
32
	if ! built_with_use --missing true sys-apps/hal laptop; then
33
			eerror "Please re-emerge sys-apps/hal with the \"laptop\" USE flag."
34
			die "Fix use flag and re-emerge."
35
	fi
36
}
37
38
pkg_postinst() {
39
   kde_pkg_postinst
40
41
   if use dbus && use hal ; then
42
      echo
43
      elog "If you don't see any icons next to the suspend/hibernate buttons,"
44
      elog "make sure you use an iconset that provides the files"
45
      elog "\"suspend.png\" and \"hibernate.png\"."
46
      echo
47
   fi
48
}

Return to bug 194873