]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pixman: Update to 0.44.2
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Mar 2025 10:25:18 +0000 (10:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Mar 2025 10:25:18 +0000 (10:25 +0000)
This project transitioned to meson, and it seems that instead of
figuring out on what kind of system it is running, we are now supposed
to tell it. Weird.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
pixman/pixman.nm

index 862f0091252dec47135202e238c11e215054a7b3..131cdedd94561ad7f0bd2b86e8ac5a25a241a6cc 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = pixman
-version    = 0.42.2
+version    = 0.44.2
 release    = 1
 
 groups     = System/Libraries
@@ -21,12 +21,44 @@ source_dl  = https://xorg.freedesktop.org/archive/individual/lib/
 build
        requires
                libpng-devel
+               meson >= 1.3.0
                perl
-               pkg-config
        end
 
-       configure_options += \
-               --disable-static
+       # Common flags
+       meson += \
+               -Dgtk=disabled \
+               -Darm-simd=disabled \
+               -Dloongson-mmi=disabled \
+               -Dmips-dspr2=disabled \
+               -Dneon=disabled \
+               -Drvv=disabled \
+               -Dvmx=disabled
+
+       if "%{arch}" == "aarch64"
+               meson += \
+                       -Dmmx=disabled \
+                       -Dsse2=disabled \
+                       -Dssse3=disabled
+       end
+
+       if "%{arch}" == "x86_64"
+               meson += \
+                       -Da64-neon=disabled
+       end
+
+       build
+               %{meson}
+               %{meson_build}
+       end
+
+       test
+               %{meson_test}
+       end
+
+       install
+               %{meson_install}
+       end
 end
 
 packages