]> 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 2e53c8a9057cfed12bd7621e015799b0b57fabfe..cbecf07f8a0c960436d0a8a5771a8eecda225953 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = plymouth
-version    = 0.8.5.1
+version    = 0.8.8
 release    = 1
 
 groups     = System/Base
@@ -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
@@ -127,15 +128,13 @@ packages
                # 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