]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - plymouth/plymouth.nm
plymouth: Update to 0.8.8.
[people/ms/ipfire-3.x.git] / plymouth / plymouth.nm
index 957e321684fa497069f6599d82fcdb4dea25403e..cbecf07f8a0c960436d0a8a5771a8eecda225953 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 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
@@ -37,12 +37,7 @@ build
 
        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
@@ -51,6 +46,8 @@ build
 
        configure_options += \
                --libexecdir=/usr/lib \
+               --disable-libkms \
+               --disable-gtk \
                --enable-tracing \
                --disable-tests \
                --with-logo=%{datadir}/pixmaps/system-logo-white.png \
@@ -71,6 +68,10 @@ build
                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
@@ -128,7 +129,6 @@ packages
                script postun
                        /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
-                       # Remove initrd image with plymouth.
                        rm -f /boot/initrd-plymouth.img
                end