Skip to content

Commit a18a087

Browse files
Flatcar Buildbottormath1
authored andcommitted
x11-libs/pixman: Sync with Gentoo
It's from Gentoo commit f899b578a2df9382a29b525c80b837e6518918a7. Signed-off-by: Mathieu Tortuyaux <[email protected]>
1 parent 350a9e8 commit a18a087

File tree

3 files changed

+70
-1
lines changed

3 files changed

+70
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
DIST pixman-0.44.2.tar.xz 650012 BLAKE2B 856aa35ae705de522d70250beee8acc872b54d2b5caa9cee6bc12ffde7c293b3db76f56c75858cc5ab1bc592fb1d4078485c2def2ae4bcd5a50b6dfc2eb477eb SHA512 b24907f9a0bf6a9aa3278d31986c562c5f2d68f8c178021497c8648aca9f91e4c6f1ecfacf93eb01ba4f03ce4cfc5970fc40bb0fe6724bac9210fc57da09cba4
22
DIST pixman-0.46.0.tar.xz 660268 BLAKE2B 5fc9d0df2f685afc1931ac12757d7ec0369c1f90b51f79b696479a2edd0c13e0684938871166318ca5c78b4955195ba5517e98e4666803b9062f4ed2b6593afa SHA512 c7ef987b7db89c58278c537f862bc9eb17c19f8288a3b7e88f8501a0486662f1e2cb6a2c0b81d4bf0464310475192428d6e29d05a6ae3cfc1d2c0941fbb0b9a3
33
DIST pixman-0.46.2.tar.xz 660260 BLAKE2B 6d51d4f33f48a1cc991085b5e62e7537b738df78c4efcbce15c37533f24a1d87263401550530d123de86bd72a856d3fd0b1543188c76f074ea3e44d384f1116f SHA512 9419e5a23f4b709e075c5dd33c46bb375d2407b6e90623fe3410a03171f4c5e0a511e8b4414557a39b68d46a4c1ac64f2ef0c9c6eab0b42a2be75d5d52a367fd
4+
DIST pixman-0.46.4.tar.xz 660536 BLAKE2B b00041009aeed3cd2548251489df6fcb5efb0415a8279451306558b2e736e2b012b11335b4ed3361e0126cad861873c0675dae24eb031b2434e45a7d39e087d8 SHA512 83b133e7969ba34f883f4e08dcc5d388c4397f43ce836c191c05945fe77c16ff501d531600780c12678a0d08105828a6bdeff2156b63f9c1a84087bc7f40ae9f

sdk_container/src/third_party/portage-stable/x11-libs/pixman/pixman-0.46.0.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-func
1414
DESCRIPTION="Low-level pixel manipulation routines"
1515
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
1616
if [[ ${PV} != 9999* ]]; then
17-
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"
17+
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"
1818
SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.xz"
1919
fi
2020

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Copyright 1999-2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
EGIT_REPO_URI="https://gitlab.freedesktop.org/pixman/pixman.git"
7+
8+
if [[ ${PV} = 9999* ]]; then
9+
GIT_ECLASS="git-r3"
10+
fi
11+
12+
inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
13+
14+
DESCRIPTION="Low-level pixel manipulation routines"
15+
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
16+
if [[ ${PV} != 9999* ]]; then
17+
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"
18+
SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.xz"
19+
fi
20+
21+
LICENSE="MIT"
22+
SLOT="0"
23+
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"
24+
RESTRICT="!test? ( test )"
25+
26+
pkg_pretend() {
27+
[[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
28+
}
29+
30+
pkg_setup() {
31+
[[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
32+
}
33+
34+
multilib_src_configure() {
35+
# Temporary workaround for a build failure (known gcc issue):
36+
#
37+
# * https://bugs.gentoo.org/956715
38+
# * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
39+
#
40+
use riscv && filter-lto
41+
42+
local emesonargs=(
43+
$(meson_feature cpu_flags_x86_mmxext mmx)
44+
$(meson_feature cpu_flags_x86_sse2 sse2)
45+
$(meson_feature cpu_flags_x86_ssse3 ssse3)
46+
$(meson_feature cpu_flags_ppc_altivec vmx)
47+
$(meson_feature loongson2f loongson-mmi)
48+
$(meson_feature test openmp) # only used in unit tests
49+
$(meson_feature test tests)
50+
-Ddefault_library=$(usex static-libs both shared)
51+
-Ddemos=disabled
52+
-Dgtk=disabled
53+
-Dlibpng=disabled
54+
)
55+
56+
if [[ ${ABI} == arm64 ]]; then
57+
emesonargs+=($(meson_feature cpu_flags_arm_neon a64-neon))
58+
elif [[ ${ABI} == arm ]]; then
59+
emesonargs+=($(meson_feature cpu_flags_arm_neon neon))
60+
fi
61+
62+
meson_src_configure
63+
}
64+
65+
multilib_src_test() {
66+
export OMP_NUM_THREADS=$(makeopts_jobs)
67+
meson_src_test -t 100
68+
}

0 commit comments

Comments
 (0)