Anonymous avatar Anonymous committed ab97441

Update lxsession ebuild

Comments (0)

Files changed (4)

lxde-base/lxsession/Manifest

-EBUILD lxsession-9999.ebuild 433 RMD160 3c650caefd439916511891f4462a2eac3e94c0ae SHA1 54a5f237a7fdabc3cb62ebc3e70eb124a808371c SHA256 86d76caef017374899b9b8a8e8d2646ec429db2c67af38a1fcf54fe5d8ad860c
+EBUILD lxsession-9999.ebuild 746 RMD160 0fd8fc793c4e7ce8722f964025e37717b78ee4a8 SHA1 e7c1a0c4479c007025236acb3e62335c3c3e9a90 SHA256 8404e5b90f99349648c059a2223e7f6afe911d3d78de67d5b541b3eb581062c8

lxde-base/lxsession/lxsession-9999.ebuild

 inherit lxde-git
 
 DESCRIPTION="LXDE session manager"
-IUSE="+hal"
+IUSE="+dbus +man nls"
 
 RDEPEND="dev-libs/glib:2
         x11-libs/gtk+:2
-        hal? ( sys-apps/hal )
-        >=lxde-base/lxde-common-0.5.0"
+	dbus? ( >=sys-apps/dbus-1 )
+	nls? ( sys-devel/gettext )
+        >=lxde-base/lxde-common-0.5.5"
 DEPEND="${REPEND}"
 add-lxde-man-deps
 
 DOCS="AUTHORS README"
 
 src_configure() {
-	econf $(use_enable hal) --enable-man
+	econf $(use_enable dbus) \
+		$(use_enable nls) \
+		$(use_enable man)
 }
+
+pkg_postinst() {
+        if [[ ${INFO} = yes ]]; then
+                ewarn "You need ConsoleKit to support shutdown and reboot function,"
+                ewarn "UPower to support suspend and hibernate, HAL supported temporary."
+        fi
+}
+
 x11-wm/openbox
 x11-misc/obconf
 x11-misc/parcellite
+sys-auth/consolekit
 lxde-base/lxterminal
 lxde-base/menu-cache
 x11-misc/pcmanfm
+sys-auth/consolekit
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.