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_radeon)
33 pkgconfig(libdrm_nouveau)
38 enable_libdrm_intel = 0
40 if "%{DISTRO_PLATFORM}" == "x86"
41 enable_libdrm_intel = 1
42 requires += pkgconfig(libdrm_intel)
45 CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
47 configure_options += \
48 --libexecdir=/usr/lib \
53 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
54 --with-background-start-color-stop=0x880400 \
55 --with-background-end-color-stop=0x000000 \
56 --with-background-color=0x880400 \
57 --disable-gdm-transition \
58 --enable-systemd-integration \
59 --without-system-root-install \
60 --without-rhgb-compat-link \
63 if "%{enable_libdrm_intel}" == "0"
64 configure_options += --disable-libdrm_intel
71 # Fix install location for systemd files.
72 make_install_targets += \
73 SYSTEMD_UNIT_DIR=%{unitdir}
76 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
77 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
78 cp -vf %{DIR_SOURCE}/boot-duration \
79 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
80 cp -vf %{DIR_SOURCE}/boot-duration \
81 %{BUILDROOT}%{localstatedir}/lib/plymouth
83 # Override plymouth-update-initrd to work dracut or mkinitrd
84 cp -vf %{DIR_SOURCE}/plymouth-update-initrd \
85 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
86 chmod 755 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
99 %{name}-libs = %{thisver}
100 %{name}-scripts = %{thisver}
101 %{name}-system-theme = %{thisver}
106 systemd-units < 185-3
110 /etc/plymouth/plymouthd.conf
114 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
115 cp -f %{datadir}/plymouth/default-boot-duration \
116 %{localstatedir}/lib/plymouth/boot-duration
119 # Just search for new unit files that were just installed.
120 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
123 # Reload systemd after update.
125 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
128 # Tell systemd that unitfiles have been removed.
130 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
132 rm -f /boot/initrd-plymouth.img
136 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
144 package %{name}-devel
147 requires = plymouth-libs = %{thisver}
150 package %{name}-scripts
151 summary = Plymouth related scripts.
153 This package contains scripts that help to integrate
154 Plymouth with the system.
157 prerequires = /usr/bin/plymouth
160 plymouth = %{thisver}
170 %{sbindir}/plymouth-set-default-theme
171 %{sbindir}/plymouth-set-default-plugin
172 /usr/lib/plymouth/plymouth-update-initrd
173 /usr/lib/plymouth/plymouth-generate-initrd
174 /usr/lib/plymouth/plymouth-populate-initrd
178 package %{name}-plugin-label
179 summary = Plymouth label plugin.
181 This package contains the label plugin for Plymouth.
182 It provides the ability to render text on graphical boot
183 splashes using pango and cairo.
187 %{libdir}/plymouth/label.so
191 package %{name}-plugin-fade-throbber
192 summary = Plymouth fade-throbber plugin.
194 The package contains the fade-throbber plugin for Plymouth.
195 It features a centered image that fades in and out while
196 other images pulsate around during system boot up.
204 %{libdir}/plymouth/fade-throbber.so
208 package %{name}-plugin-throbgress
209 summary = Plymouth throbgress plugin.
211 This package contains the throbgress plugin for Plymouth.
212 It features a centered logo and animated spinner that spins
213 repeatedly while a progress bar advances at the bootom of the
222 %{libdir}/plymouth/throbgress.so
226 package %{name}-plugin-space-flares
227 summary = Plymouth space-flares plugin.
229 This package contains the space-flares plugin for Plymouth.
230 It features a corner image with animated flares.
238 %{libdir}/plymouth/space-flares.so
242 package %{name}-plugin-two-step
243 summary = Plymouth two-step plugin.
245 This package contains the two-step plugin for Plymouth.
246 It features a corner image with animated flares.
254 %{libdir}/plymouth/two-step.so
258 package %{name}-plugin-script
260 %{libdir}/plymouth/script.so
265 summary = The plymouth "%{theme_name}" theme.
267 This package contains the "%{theme_name}" boot
268 splash theme for plymouth.
272 %{name}-scripts = %{thisver}
276 %{datadir}/plymouth/themes/%{theme_name}
280 if [ "$(%{sbindir}/plymouth-set-default-theme)" = %{theme_name}" ]; then
281 %{sbindir}/plymouth-set-default-theme --reset
282 /usr/lib/plymouth/plymouth-generate-initrd
287 package %{name}-theme-fade-in
291 requires += %{name}-plugin-fade-throbber=%{thisver}
294 package %{name}-theme-spinner
298 requires += %{name}-plugin-two-step=%{thisver}
301 package %{name}-theme-spinfinity
303 theme_name = spinfinity
305 requires += %{name}-plugin-throbgress=%{thisver}
308 package %{name}-theme-script
312 requires += %{name}-plugin-script=%{thisver}
315 package %{name}-theme-solar
319 requires += %{name}-plugin-space-flares=%{thisver}
322 package %{name}-system-theme
323 summary = Plymouth default theme.
325 This metapackage tracks the current distribution default theme.
334 # Don't package any files.