1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.freedesktop.org/wiki/Software/Plymouth
13 summary = Graphical Boot Animation and Logger.
16 Plymouth provides an attractive graphical boot animation in
17 place of the text messages that normally get shown. Text
18 messages are instead redirected to a log file for viewing
22 source_dl = http://www.freedesktop.org/software/plymouth/releases/
23 sources = %{thisapp}.tar.bz2
32 pkgconfig(libdrm_intel)
33 pkgconfig(libdrm_radeon)
34 pkgconfig(libdrm_nouveau)
39 CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
41 configure_options += \
42 --libexecdir=/usr/lib \
45 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
46 --with-background-start-color-stop=0x880400 \
47 --with-background-end-color-stop=0x000000 \
48 --with-background-color=0x880400 \
49 --disable-gdm-transition \
50 --enable-systemd-integration \
51 --without-system-root-install \
52 --without-rhgb-compat-link \
60 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
61 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
62 cp -vf %{DIR_SOURCE}/boot-duration \
63 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
64 cp -vf %{DIR_SOURCE}/boot-duration \
65 %{BUILDROOT}%{localstatedir}/lib/plymouth
67 # Override plymouth-update-initrd to work dracut or mkinitrd
68 cp -vf %{DIR_SOURCE}/plymouth-update-initrd \
69 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
70 chmod 755 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
83 %{name}-libs = %{thisver}
84 %{name}-scripts = %{thisver}
85 %{name}-system-theme = %{thisver}
90 /etc/plymouth/plymouthd.conf
94 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
95 cp -f %{datadir}/plymouth/default-boot-duration \
96 %{localstatedir}/lib/plymouth/boot-duration
101 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
105 rm -f /boot/initrd-plymouth.img
113 package %{name}-devel
116 requires = plymouth-libs = %{thisver}
119 package %{name}-scripts
120 summary = Plymouth related scripts.
122 This package contains scripts that help to integrate
123 Plymouth with the system.
126 prerequires = /usr/bin/plymouth
129 plymouth = %{thisver}
139 %{sbindir}/plymouth-set-default-theme
140 %{sbindir}/plymouth-set-default-plugin
141 /usr/lib/plymouth/plymouth-update-initrd
142 /usr/lib/plymouth/plymouth-generate-initrd
143 /usr/lib/plymouth/plymouth-populate-initrd
147 package %{name}-plugin-label
148 summary = Plymouth label plugin.
150 This package contains the label plugin for Plymouth.
151 It provides the ability to render text on graphical boot
152 splashes using pango and cairo.
156 %{libdir}/plymouth/label.so
160 package %{name}-plugin-fade-throbber
161 summary = Plymouth fade-throbber plugin.
163 The package contains the fade-throbber plugin for Plymouth.
164 It features a centered image that fades in and out while
165 other images pulsate around during system boot up.
173 %{libdir}/plymouth/fade-throbber.so
177 package %{name}-plugin-throbgress
178 summary = Plymouth throbgress plugin.
180 This package contains the throbgress plugin for Plymouth.
181 It features a centered logo and animated spinner that spins
182 repeatedly while a progress bar advances at the bootom of the
191 %{libdir}/plymouth/throbgress.so
195 package %{name}-plugin-space-flares
196 summary = Plymouth space-flares plugin.
198 This package contains the space-flares plugin for Plymouth.
199 It features a corner image with animated flares.
207 %{libdir}/plymouth/space-flares.so
211 package %{name}-plugin-two-step
212 summary = Plymouth two-step plugin.
214 This package contains the two-step plugin for Plymouth.
215 It features a corner image with animated flares.
223 %{libdir}/plymouth/two-step.so
227 package %{name}-plugin-script
229 %{libdir}/plymouth/script.so
234 summary = The plymouth "%{theme_name}" theme.
236 This package contains the "%{theme_name}" boot
237 splash theme for plymouth.
241 %{name}-scripts = %{thisver}
245 %{datadir}/plymouth/themes/%{theme_name}
249 if [ "$(%{sbindir}/plymouth-set-default-theme)" = %{theme_name}" ]; then
250 %{sbindir}/plymouth-set-default-theme --reset
251 /usr/lib/plymouth/plymouth-generate-initrd
256 package %{name}-theme-fade-in
260 requires += %{name}-plugin-fade-throbber=%{thisver}
263 package %{name}-theme-spinner
267 requires += %{name}-plugin-two-step=%{thisver}
270 package %{name}-theme-spinfinity
272 theme_name = spinfinity
274 requires += %{name}-plugin-throbgress=%{thisver}
277 package %{name}-theme-script
281 requires += %{name}-plugin-script=%{thisver}
284 package %{name}-theme-solar
288 requires += %{name}-plugin-space-flares=%{thisver}
291 package %{name}-system-theme
292 summary = Plymouth default theme.
294 This metapackage tracks the current distribution default theme.
303 # Don't package any files.