commit:     f899b578a2df9382a29b525c80b837e6518918a7
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 20 16:18:29 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 16:19:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f899b578

x11-libs/pixman: Version bump to 0.46.4

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/pixman/Manifest             |  1 +
 x11-libs/pixman/pixman-0.46.4.ebuild | 68 ++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/x11-libs/pixman/Manifest b/x11-libs/pixman/Manifest
index 4fb9fbd0a790..9ba461174a4a 100644
--- a/x11-libs/pixman/Manifest
+++ b/x11-libs/pixman/Manifest
@@ -1,3 +1,4 @@
 DIST pixman-0.44.2.tar.xz 650012 BLAKE2B 
856aa35ae705de522d70250beee8acc872b54d2b5caa9cee6bc12ffde7c293b3db76f56c75858cc5ab1bc592fb1d4078485c2def2ae4bcd5a50b6dfc2eb477eb
 SHA512 
b24907f9a0bf6a9aa3278d31986c562c5f2d68f8c178021497c8648aca9f91e4c6f1ecfacf93eb01ba4f03ce4cfc5970fc40bb0fe6724bac9210fc57da09cba4
 DIST pixman-0.46.0.tar.xz 660268 BLAKE2B 
5fc9d0df2f685afc1931ac12757d7ec0369c1f90b51f79b696479a2edd0c13e0684938871166318ca5c78b4955195ba5517e98e4666803b9062f4ed2b6593afa
 SHA512 
c7ef987b7db89c58278c537f862bc9eb17c19f8288a3b7e88f8501a0486662f1e2cb6a2c0b81d4bf0464310475192428d6e29d05a6ae3cfc1d2c0941fbb0b9a3
 DIST pixman-0.46.2.tar.xz 660260 BLAKE2B 
6d51d4f33f48a1cc991085b5e62e7537b738df78c4efcbce15c37533f24a1d87263401550530d123de86bd72a856d3fd0b1543188c76f074ea3e44d384f1116f
 SHA512 
9419e5a23f4b709e075c5dd33c46bb375d2407b6e90623fe3410a03171f4c5e0a511e8b4414557a39b68d46a4c1ac64f2ef0c9c6eab0b42a2be75d5d52a367fd
+DIST pixman-0.46.4.tar.xz 660536 BLAKE2B 
b00041009aeed3cd2548251489df6fcb5efb0415a8279451306558b2e736e2b012b11335b4ed3361e0126cad861873c0675dae24eb031b2434e45a7d39e087d8
 SHA512 
83b133e7969ba34f883f4e08dcc5d388c4397f43ce836c191c05945fe77c16ff501d531600780c12678a0d08105828a6bdeff2156b63f9c1a84087bc7f40ae9f

diff --git a/x11-libs/pixman/pixman-0.46.4.ebuild 
b/x11-libs/pixman/pixman-0.46.4.ebuild
new file mode 100644
index 000000000000..8cac0712d62c
--- /dev/null
+++ b/x11-libs/pixman/pixman-0.46.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/pixman/pixman.git";
+
+if [[ ${PV} = 9999* ]]; then
+       GIT_ECLASS="git-r3"
+fi
+
+inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing 
toolchain-funcs
+
+DESCRIPTION="Low-level pixel manipulation routines"
+HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/";
+if [[ ${PV} != 9999* ]]; then
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+       SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.xz";
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="cpu_flags_ppc_altivec cpu_flags_arm_neon loongson2f cpu_flags_x86_mmxext 
cpu_flags_x86_sse2 cpu_flags_x86_ssse3 static-libs test"
+RESTRICT="!test? ( test )"
+
+pkg_pretend() {
+       [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
+}
+
+pkg_setup() {
+       [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
+}
+
+multilib_src_configure() {
+       # Temporary workaround for a build failure (known gcc issue):
+       #
+       #  * https://bugs.gentoo.org/956715
+       #  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
+       #
+       use riscv && filter-lto
+
+       local emesonargs=(
+               $(meson_feature cpu_flags_x86_mmxext mmx)
+               $(meson_feature cpu_flags_x86_sse2 sse2)
+               $(meson_feature cpu_flags_x86_ssse3 ssse3)
+               $(meson_feature cpu_flags_ppc_altivec vmx)
+               $(meson_feature loongson2f loongson-mmi)
+               $(meson_feature test openmp) # only used in unit tests
+               $(meson_feature test tests)
+               -Ddefault_library=$(usex static-libs both shared)
+               -Ddemos=disabled
+               -Dgtk=disabled
+               -Dlibpng=disabled
+       )
+
+       if [[ ${ABI} == arm64 ]]; then
+               emesonargs+=($(meson_feature cpu_flags_arm_neon a64-neon))
+       elif [[ ${ABI} == arm ]]; then
+               emesonargs+=($(meson_feature cpu_flags_arm_neon neon))
+       fi
+
+       meson_src_configure
+}
+
+multilib_src_test() {
+       export OMP_NUM_THREADS=$(makeopts_jobs)
+       meson_src_test -t 100
+}

Reply via email to