Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-server/
Date: Thu, 28 Feb 2019 05:47:48
Message-Id: 1551332686.f4d9d7a5278621e1af50506533344577a8e66626.mattst88@gentoo
1 commit: f4d9d7a5278621e1af50506533344577a8e66626
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 28 04:36:38 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 05:44:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d9d7a5
7
8 x11-base/xorg-server: Port to EAPI 7
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-base/xorg-server/xorg-server-9999.ebuild | 27 ++++++++-------------------
13 1 file changed, 8 insertions(+), 19 deletions(-)
14
15 diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
16 index d1cbe013ded..f9f7d582799 100644
17 --- a/x11-base/xorg-server/xorg-server-9999.ebuild
18 +++ b/x11-base/xorg-server/xorg-server-9999.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2018 Gentoo Authors
21 +# Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=7
26
27 XORG_DOC=doc
28 -inherit xorg-2 multilib versionator flag-o-matic
29 +inherit xorg-3 multilib flag-o-matic
30 EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git"
31
32 DESCRIPTION="X.Org X servers"
33 @@ -101,7 +101,7 @@ RDEPEND="${CDEPEND}
34 "
35
36 PDEPEND="
37 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
38 + xorg? ( >=x11-base/xorg-drivers-$(ver_cut 1-2) )"
39
40 REQUIRED_USE="!minimal? (
41 || ( ${IUSE_SERVERS} )
42 @@ -109,9 +109,8 @@ REQUIRED_USE="!minimal? (
43 minimal? ( !glamor !wayland )
44 xephyr? ( kdrive )"
45
46 -#UPSTREAMED_PATCHES=(
47 -# "${WORKDIR}/patches/"
48 -#)
49 +UPSTREAMED_PATCHES=(
50 +)
51
52 PATCHES=(
53 "${UPSTREAMED_PATCHES[@]}"
54 @@ -120,20 +119,12 @@ PATCHES=(
55 "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch
56 )
57
58 -pkg_pretend() {
59 - # older gcc is not supported
60 - [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
61 - die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
62 -}
63 -
64 pkg_setup() {
65 if use wayland && ! use glamor; then
66 ewarn "glamor is necessary for acceleration under Xwayland."
67 ewarn "Performance may be unacceptable without it."
68 fi
69 -}
70
71 -src_configure() {
72 # localstatedir is used for the log location; we need to override the default
73 # from ebuild.sh
74 # sysconfdir is used for the xorg.conf location; same applies
75 @@ -176,18 +167,16 @@ src_configure() {
76 --without-fop
77 --with-sha1=libcrypto
78 )
79 -
80 - xorg-2_src_configure
81 }
82
83 src_install() {
84 - xorg-2_src_install
85 + default
86
87 server_based_install
88
89 if ! use minimal && use xorg; then
90 # Install xorg.conf.example into docs
91 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
92 + dodoc "${S}"/hw/xfree86/xorg.conf.example
93 fi
94
95 newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup