diff options
author | Davide Pesavento <pesa@gentoo.org> | 2014-07-26 11:03:12 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2014-07-26 11:03:12 +0200 |
commit | 0855533d35065ec7c200752415cb827a9998483a (patch) | |
tree | 9ac7815dfa6be2f634a1a894ec7c7c6b73b21600 /x11-misc/sddm | |
parent | Merge pull request #69 from sema1011 (diff) | |
download | qt-0855533d35065ec7c200752415cb827a9998483a.tar.gz qt-0855533d35065ec7c200752415cb827a9998483a.tar.bz2 qt-0855533d35065ec7c200752415cb827a9998483a.zip |
[x11-misc/sddm] Partial sync with portage.
Fixes upower dependency wrt bug 517230.
Package-Manager: portage-2.2.10
Diffstat (limited to 'x11-misc/sddm')
-rw-r--r-- | x11-misc/sddm/metadata.xml | 3 | ||||
-rw-r--r-- | x11-misc/sddm/sddm-9999.ebuild | 22 |
2 files changed, 14 insertions, 11 deletions
diff --git a/x11-misc/sddm/metadata.xml b/x11-misc/sddm/metadata.xml index dbd986c2..d867da74 100644 --- a/x11-misc/sddm/metadata.xml +++ b/x11-misc/sddm/metadata.xml @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <herd>lxqt</herd> <maintainer> <email>jauhien@gentoo.org</email> <name>Jauhien Piatlicki</name> </maintainer> <use> - <flag name="consolekit">Enable ConsoleKit support</flag> + <flag name="consolekit">Use ck-launch-session from sys-auth/consolekit by default in Xsession (no native support)</flag> </use> <longdescription lang="en"> SDDM is a modern display manager for X11 aiming to be fast, simple diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index f079a17b..f317bb79 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -13,8 +13,10 @@ KEYWORDS="" LICENSE="GPL-2+ MIT CC-BY-3.0 public-domain" SLOT="0" IUSE="consolekit +qt4 qt5 systemd +upower" -REQUIRED_USE="^^ ( qt4 qt5 ) - ?? ( upower systemd )" +REQUIRED_USE=" + ^^ ( qt4 qt5 ) + ?? ( upower systemd ) +" RDEPEND="sys-libs/pam sys-auth/qauth[qt4?,qt5?] @@ -24,11 +26,18 @@ RDEPEND="sys-libs/pam qt5? ( dev-qt/qtdeclarative:5 dev-qt/qtdbus:5 ) systemd? ( sys-apps/systemd:= ) - upower? ( sys-power/upower:= )" + upower? ( || ( sys-power/upower:= sys-power/upower-pm-utils ) )" DEPEND="${RDEPEND} >=sys-devel/gcc-4.7.0 virtual/pkgconfig" +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + [[ $(gcc-version) < 4.7 ]] && \ + die 'The active compiler needs to be gcc 4.7 (or newer)' + fi +} + src_prepare() { use consolekit && epatch "${FILESDIR}/${P}-consolekit.patch" @@ -38,13 +47,6 @@ src_prepare() { -i CMakeLists.txt || die 'sed failed' } -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - [[ $(gcc-version) < 4.7 ]] && \ - die 'The active compiler needs to be gcc 4.7 (or newer)' - fi -} - src_configure() { local mycmakeargs=( $(cmake-utils_use_use qt5 QT5) |