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:50
Message-Id: 1502317229.55f3cd600b6730803473086842903db6f2187f88.prometheanfire@gentoo
1 commit: 55f3cd600b6730803473086842903db6f2187f88
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 22:15:31 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 9 22:20:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f3cd60
7
8 sys-boot/plymouth: 0.9.3 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 sys-boot/plymouth/Manifest | 1 +
13 sys-boot/plymouth/plymouth-0.9.3.ebuild | 95 +++++++++++++++++++++++++++++++++
14 2 files changed, 96 insertions(+)
15
16 diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest
17 index 5fd15751352..0b119724dc2 100644
18 --- a/sys-boot/plymouth/Manifest
19 +++ b/sys-boot/plymouth/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gentoo-logo.png 14501 SHA256 79ebc1d66693371a90e218ad421cfed05066b51a6645bd967bb7da356a0881fa SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c WHIRLPOOL 65496223badb9a96cc72ba6a2432860af0756eea57f67946d2466ff1c3c1171c84568c502aa576613b77767c41cf251856728b509c72003567d4cebd1943375e
22 DIST plymouth-0.9.2.tar.bz2 1231336 SHA256 2f0ce82042cf9c7eadd2517a1f74c8a85fa8699781d9f294a06eade29fbed57f SHA512 89356eb8326504fbf3155de262ce15de0847f0a0e6d157d873cf1dea9af464a6cb9e11d7143ee9a595b217a2487060b5835eba5ac142c3cd6d66689deb272e60 WHIRLPOOL 5f9e662dec633bb606cf4246611b442a0eb9eaa92942b37c53d1c48b6ca8ef96c5f4330d574b82de6a026ca175a770c1a45f52c7809c80d026126d805e707eba
23 +DIST plymouth-0.9.3.tar.xz 1102724 SHA256 9f8dd08a90ceaf6228dcd8c27759adf18fc9482f15b6c56dcbcced268b4e4a74 SHA512 d7b9ba97485cdac7ad6bcaf5a7f1a9c84ece54b8d46d5efce4170294c0aa6571656d7d9957b53aed9c1e51d4d525714f54b7dbb08d8ec0b196a1a4419fd186ed WHIRLPOOL a7ccc870fb6149da21873ec92b241f564ce76ee0319a626a423ed1f77820deb0d09ed52bab86fdd501a4827dd02bd7403e78af1cbbd4e9f77fc9bda57ce59fa3
24
25 diff --git a/sys-boot/plymouth/plymouth-0.9.3.ebuild b/sys-boot/plymouth/plymouth-0.9.3.ebuild
26 new file mode 100644
27 index 00000000000..ef1d1a8d76e
28 --- /dev/null
29 +++ b/sys-boot/plymouth/plymouth-0.9.3.ebuild
30 @@ -0,0 +1,95 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
37 +
38 +if [[ ${PV} == 9999 ]]; then
39 + EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
40 + inherit git-r3
41 +else
42 + SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
43 +fi
44 +
45 +inherit autotools readme.gentoo-r1 systemd toolchain-funcs
46 +
47 +DESCRIPTION="Graphical boot animation (splash) and logger"
48 +HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +[[ ${PV} == 9999 ]] || \
53 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
54 +IUSE="debug gdm +gtk +libkms +pango static-libs"
55 +
56 +CDEPEND="
57 + >=media-libs/libpng-1.2.16:=
58 + gtk? (
59 + dev-libs/glib:2
60 + >=x11-libs/gtk+-3.14:3
61 + x11-libs/cairo )
62 + libkms? ( x11-libs/libdrm[libkms] )
63 + pango? ( >=x11-libs/pango-1.21 )
64 +"
65 +DEPEND="${CDEPEND}
66 + virtual/pkgconfig
67 +"
68 +# Block due bug #383067
69 +RDEPEND="${CDEPEND}
70 + virtual/udev
71 + !<sys-kernel/dracut-0.37-r3
72 +"
73 +
74 +DOC_CONTENTS="
75 + Follow the following instructions to set up Plymouth:\n
76 + https://wiki.gentoo.org/wiki/Plymouth#Configuration
77 +"
78 +
79 +PATCHES=(
80 +)
81 +
82 +src_configure() {
83 + local myconf
84 + myconf="--with-system-root-install=no
85 + --localstatedir=/var
86 + --without-rhgb-compat-link
87 + --enable-systemd-integration
88 + --with-systemdunitdir="$(systemd_get_systemunitdir)"
89 + $(use_enable !static-libs shared)
90 + $(use_enable static-libs static)
91 + $(use_enable debug tracing)
92 + $(use_enable gtk gtk)
93 + $(use_enable libkms drm)
94 + $(use_enable pango)
95 + $(use_enable gdm gdm-transition)"
96 + eautoreconf
97 + econf ${myconf}
98 +}
99 +
100 +src_install() {
101 + default
102 +
103 + insinto /usr/share/plymouth
104 + newins "${DISTDIR}"/gentoo-logo.png bizcom.png
105 +
106 + # Install compatibility symlinks as some rdeps hardcode the paths
107 + dosym /usr/bin/plymouth /bin/plymouth
108 + dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
109 + dosym /usr/sbin/plymouthd /sbin/plymouthd
110 +
111 + readme.gentoo_create_doc
112 +
113 + # looks like make install create /var/run/plymouth
114 + # this is not needed for systemd, same should hold for openrc
115 + # so remove
116 + rm -rf "${D}"/var/run
117 +}
118 +
119 +pkg_postinst() {
120 + readme.gentoo_print_elog
121 + if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
122 + ewarn "If you want initramfs builder with plymouth support, please emerge"
123 + ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
124 + fi
125 +}