Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/
Date: Sat, 02 Sep 2017 15:07:03
Message-Id: 1504364793.4d554223bfaf775fb3a83b954095d197b103362e.asturm@gentoo
1 commit: 4d554223bfaf775fb3a83b954095d197b103362e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 14:59:00 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 15:06:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d554223
7
8 x11-misc/sddm: 0.15.0 version bump
9
10 Gentoo-bug: 629532
11 Package-Manager: Portage-2.3.8, Repoman-2.3.3
12
13 x11-misc/sddm/Manifest | 1 +
14 x11-misc/sddm/sddm-0.15.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 63 insertions(+)
16
17 diff --git a/x11-misc/sddm/Manifest b/x11-misc/sddm/Manifest
18 index 491da324496..195294a8bd0 100644
19 --- a/x11-misc/sddm/Manifest
20 +++ b/x11-misc/sddm/Manifest
21 @@ -1 +1,2 @@
22 DIST sddm-0.14.0.tar.xz 3298360 SHA256 7e348258618b20f777767a98f9e377b48824b5cb5aad3a3f10f8482c1eb27778 SHA512 ae6f02e168dbb4ef1d5d360e6b26a2c45a9891fba9d53b73d41a5cc14906f3fcca3bde6d16d7bb109132d23e3e0e768c5976934fd2f59c23d919cc9f81fbd366 WHIRLPOOL d7d80c5d1e8eb5016fa6f5909026bb477293b4356b9caff92d741c936534504e35fdfe81feea8cb2312cdb53ed0e7cc5bda3af5fc4226d5a797baea97e431ecb
23 +DIST sddm-0.15.0.tar.gz 3520188 SHA256 a4211e5b66f674415e07bc1cc39c16f60ae6025418bcbaba1118cd51e57c3174 SHA512 4440acfc6f98ab8efe8e3a441e8dc9ee98615c3544f8adc899bc4f0334e4f1b0d37c1ef823b32cc466adc8fac942cd188b33eb49795e0468a136a959c65c7566 WHIRLPOOL 48d4ab7ac8d4527719d532e13956e59bdd6b94a094fdf83cb58f1c32d946b111f5ad9f2fefabe9fd6fac8bbccd2d4f8d63ef467d840b975b54d879d5f1b711f4
24
25 diff --git a/x11-misc/sddm/sddm-0.15.0.ebuild b/x11-misc/sddm/sddm-0.15.0.ebuild
26 new file mode 100644
27 index 00000000000..0099ac086cd
28 --- /dev/null
29 +++ b/x11-misc/sddm/sddm-0.15.0.ebuild
30 @@ -0,0 +1,62 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit cmake-utils user
37 +
38 +DESCRIPTION="Simple Desktop Display Manager"
39 +HOMEPAGE="https://github.com/sddm/sddm"
40 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
41 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
42 +
43 +LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
44 +SLOT="0"
45 +IUSE="consolekit elogind +pam systemd"
46 +
47 +REQUIRED_USE="?? ( elogind systemd )"
48 +
49 +RDEPEND="
50 + >=dev-qt/qtcore-5.6:5
51 + >=dev-qt/qtdbus-5.6:5
52 + >=dev-qt/qtgui-5.6:5
53 + >=dev-qt/qtdeclarative-5.6:5
54 + >=dev-qt/qtnetwork-5.6:5
55 + >=x11-base/xorg-server-1.15.1
56 + x11-libs/libxcb[xkb]
57 + consolekit? ( >=sys-auth/consolekit-0.9.4 )
58 + elogind? ( sys-auth/elogind )
59 + pam? ( sys-libs/pam )
60 + systemd? ( sys-apps/systemd:= )
61 + !systemd? ( sys-power/upower )"
62 +
63 +DEPEND="${RDEPEND}
64 + dev-python/docutils
65 + >=dev-qt/linguist-tools-5.6:5
66 + >=dev-qt/qttest-5.6:5
67 + kde-frameworks/extra-cmake-modules
68 + virtual/pkgconfig"
69 +
70 +# fix for flags handling and bug 563108
71 +PATCHES=( "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" )
72 +
73 +src_prepare() {
74 + use consolekit && eapply "${FILESDIR}/${PN}-0.14.0-consolekit.patch"
75 + cmake-utils_src_prepare
76 +}
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + -DENABLE_PAM=$(usex pam)
81 + -DNO_SYSTEMD=$(usex '!systemd')
82 + -DUSE_ELOGIND=$(usex 'elogind')
83 + -DBUILD_MAN_PAGES=ON
84 + -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
85 + )
86 + cmake-utils_src_configure
87 +}
88 +
89 +pkg_postinst() {
90 + enewgroup ${PN}
91 + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
92 +}