###############################################################################
name = plymouth
-version = 0.8.5.1
+version = 0.8.8
release = 1
groups = System/Base
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
# Tell systemd that unitfiles have been removed.
script postun
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+
+ rm -f /boot/initrd-plymouth.img
end
script posttransin
/usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
end
-
- script postun
- rm -f /boot/initrd-plymouth.img
- end
end
package %{name}-libs