###############################################################################
name = plymouth
-version = 0.8.5.1
-release = 2
+version = 0.8.8
+release = 1
groups = System/Base
url = http://www.freedesktop.org/wiki/Software/Plymouth
enable_libdrm_intel = 0
- if "%{DISTRO_MACHINE}" == "x86_64"
- enable_libdrm_intel = 1
- requires += pkgconfig(libdrm_intel)
- end
-
- if "%{DISTRO_MACHINE}" == "i686"
+ if "%{DISTRO_PLATFORM}" == "x86"
enable_libdrm_intel = 1
requires += pkgconfig(libdrm_intel)
end
configure_options += \
--libexecdir=/usr/lib \
+ --disable-libkms \
+ --disable-gtk \
--enable-tracing \
--disable-tests \
--with-logo=%{datadir}/pixmaps/system-logo-white.png \
autoreconf -vfi
end
+ # Fix install location for systemd files.
+ make_install_targets += \
+ SYSTEMD_UNIT_DIR=%{unitdir}
+
install_cmds
mkdir -pv %{BUILDROOT}%{datadir}/plymouth
mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
script postun
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
- # Remove initrd image with plymouth.
rm -f /boot/initrd-plymouth.img
end