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_MACHINE}" == "x86_64"
41 enable_libdrm_intel = 1
42 requires += pkgconfig(libdrm_intel)
45 if "%{DISTRO_MACHINE}" == "i686"
46 enable_libdrm_intel = 1
47 requires += pkgconfig(libdrm_intel)
50 CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
52 configure_options += \
53 --libexecdir=/usr/lib \
56 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
57 --with-background-start-color-stop=0x880400 \
58 --with-background-end-color-stop=0x000000 \
59 --with-background-color=0x880400 \
60 --disable-gdm-transition \
61 --enable-systemd-integration \
62 --without-system-root-install \
63 --without-rhgb-compat-link \
66 if "%{enable_libdrm_intel}" == "0"
67 configure_options += --disable-libdrm_intel
75 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
76 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
77 cp -vf %{DIR_SOURCE}/boot-duration \
78 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
79 cp -vf %{DIR_SOURCE}/boot-duration \
80 %{BUILDROOT}%{localstatedir}/lib/plymouth
82 # Override plymouth-update-initrd to work dracut or mkinitrd
83 cp -vf %{DIR_SOURCE}/plymouth-update-initrd \
84 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
85 chmod 755 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
98 %{name}-libs = %{thisver}
99 %{name}-scripts = %{thisver}
100 %{name}-system-theme = %{thisver}
105 /etc/plymouth/plymouthd.conf
109 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
110 cp -f %{datadir}/plymouth/default-boot-duration \
111 %{localstatedir}/lib/plymouth/boot-duration
116 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
120 rm -f /boot/initrd-plymouth.img
128 package %{name}-devel
131 requires = plymouth-libs = %{thisver}
134 package %{name}-scripts
135 summary = Plymouth related scripts.
137 This package contains scripts that help to integrate
138 Plymouth with the system.
141 prerequires = /usr/bin/plymouth
144 plymouth = %{thisver}
154 %{sbindir}/plymouth-set-default-theme
155 %{sbindir}/plymouth-set-default-plugin
156 /usr/lib/plymouth/plymouth-update-initrd
157 /usr/lib/plymouth/plymouth-generate-initrd
158 /usr/lib/plymouth/plymouth-populate-initrd
162 package %{name}-plugin-label
163 summary = Plymouth label plugin.
165 This package contains the label plugin for Plymouth.
166 It provides the ability to render text on graphical boot
167 splashes using pango and cairo.
171 %{libdir}/plymouth/label.so
175 package %{name}-plugin-fade-throbber
176 summary = Plymouth fade-throbber plugin.
178 The package contains the fade-throbber plugin for Plymouth.
179 It features a centered image that fades in and out while
180 other images pulsate around during system boot up.
188 %{libdir}/plymouth/fade-throbber.so
192 package %{name}-plugin-throbgress
193 summary = Plymouth throbgress plugin.
195 This package contains the throbgress plugin for Plymouth.
196 It features a centered logo and animated spinner that spins
197 repeatedly while a progress bar advances at the bootom of the
206 %{libdir}/plymouth/throbgress.so
210 package %{name}-plugin-space-flares
211 summary = Plymouth space-flares plugin.
213 This package contains the space-flares plugin for Plymouth.
214 It features a corner image with animated flares.
222 %{libdir}/plymouth/space-flares.so
226 package %{name}-plugin-two-step
227 summary = Plymouth two-step plugin.
229 This package contains the two-step plugin for Plymouth.
230 It features a corner image with animated flares.
238 %{libdir}/plymouth/two-step.so
242 package %{name}-plugin-script
244 %{libdir}/plymouth/script.so
249 summary = The plymouth "%{theme_name}" theme.
251 This package contains the "%{theme_name}" boot
252 splash theme for plymouth.
256 %{name}-scripts = %{thisver}
260 %{datadir}/plymouth/themes/%{theme_name}
264 if [ "$(%{sbindir}/plymouth-set-default-theme)" = %{theme_name}" ]; then
265 %{sbindir}/plymouth-set-default-theme --reset
266 /usr/lib/plymouth/plymouth-generate-initrd
271 package %{name}-theme-fade-in
275 requires += %{name}-plugin-fade-throbber=%{thisver}
278 package %{name}-theme-spinner
282 requires += %{name}-plugin-two-step=%{thisver}
285 package %{name}-theme-spinfinity
287 theme_name = spinfinity
289 requires += %{name}-plugin-throbgress=%{thisver}
292 package %{name}-theme-script
296 requires += %{name}-plugin-script=%{thisver}
299 package %{name}-theme-solar
303 requires += %{name}-plugin-space-flares=%{thisver}
306 package %{name}-system-theme
307 summary = Plymouth default theme.
309 This metapackage tracks the current distribution default theme.
318 # Don't package any files.