Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/plymouth/
Date: Wed, 09 Aug 2017 22:20:52
Message-Id: 1502317232.b1d74d3c7e50c8d93221278532d25060f12b34b4.prometheanfire@gentoo
1 commit: b1d74d3c7e50c8d93221278532d25060f12b34b4
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 22:20:15 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 9 22:20:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d74d3c
7
8 sys-boot/plymouth: fixing up 9999
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 sys-boot/plymouth/plymouth-0.9.3.ebuild | 2 +-
13 sys-boot/plymouth/plymouth-9999.ebuild | 47 ++++++++++++++++-----------------
14 2 files changed, 24 insertions(+), 25 deletions(-)
15
16 diff --git a/sys-boot/plymouth/plymouth-0.9.3.ebuild b/sys-boot/plymouth/plymouth-0.9.3.ebuild
17 index ef1d1a8d76e..ea9aa1bd7d6 100644
18 --- a/sys-boot/plymouth/plymouth-0.9.3.ebuild
19 +++ b/sys-boot/plymouth/plymouth-0.9.3.ebuild
20 @@ -9,7 +9,7 @@ if [[ ${PV} == 9999 ]]; then
21 EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
22 inherit git-r3
23 else
24 - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
25 + SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
26 fi
27
28 inherit autotools readme.gentoo-r1 systemd toolchain-funcs
29
30 diff --git a/sys-boot/plymouth/plymouth-9999.ebuild b/sys-boot/plymouth/plymouth-9999.ebuild
31 index e05e8ca9e1e..ea9aa1bd7d6 100644
32 --- a/sys-boot/plymouth/plymouth-9999.ebuild
33 +++ b/sys-boot/plymouth/plymouth-9999.ebuild
34 @@ -1,20 +1,18 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 +# Copyright 1999-2017 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=5
40 +EAPI=6
41
42 -SRC_URI="
43 - https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
44 +SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
45
46 if [[ ${PV} == 9999 ]]; then
47 EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
48 - AUTOTOOLS_AUTORECONF="1"
49 inherit git-r3
50 else
51 - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2"
52 + SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
53 fi
54
55 -inherit autotools-utils readme.gentoo systemd toolchain-funcs
56 +inherit autotools readme.gentoo-r1 systemd toolchain-funcs
57
58 DESCRIPTION="Graphical boot animation (splash) and logger"
59 HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
60 @@ -48,28 +46,29 @@ DOC_CONTENTS="
61 https://wiki.gentoo.org/wiki/Plymouth#Configuration
62 "
63
64 -src_prepare() {
65 - autotools-utils_src_prepare
66 -}
67 +PATCHES=(
68 +)
69
70 src_configure() {
71 - local myeconfargs=(
72 - --with-system-root-install=no
73 - --localstatedir=/var
74 - --without-rhgb-compat-link
75 - --enable-systemd-integration
76 - "$(systemd_with_unitdir)"
77 - $(use_enable debug tracing)
78 - $(use_enable gtk gtk)
79 - $(use_enable libkms drm)
80 - $(use_enable pango)
81 - $(use_enable gdm gdm-transition)
82 - )
83 - autotools-utils_src_configure
84 + local myconf
85 + myconf="--with-system-root-install=no
86 + --localstatedir=/var
87 + --without-rhgb-compat-link
88 + --enable-systemd-integration
89 + --with-systemdunitdir="$(systemd_get_systemunitdir)"
90 + $(use_enable !static-libs shared)
91 + $(use_enable static-libs static)
92 + $(use_enable debug tracing)
93 + $(use_enable gtk gtk)
94 + $(use_enable libkms drm)
95 + $(use_enable pango)
96 + $(use_enable gdm gdm-transition)"
97 + eautoreconf
98 + econf ${myconf}
99 }
100
101 src_install() {
102 - autotools-utils_src_install
103 + default
104
105 insinto /usr/share/plymouth
106 newins "${DISTDIR}"/gentoo-logo.png bizcom.png