mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
x11-libs/pixman: Sync with Gentoo
It's from Gentoo commit 879fd8fb561f475666058da2124624a52205da4e.
This commit is contained in:
parent
9069ea6d91
commit
a64f013e83
@ -1,2 +1,3 @@
|
|||||||
DIST pixman-0.44.2.tar.xz 650012 BLAKE2B 856aa35ae705de522d70250beee8acc872b54d2b5caa9cee6bc12ffde7c293b3db76f56c75858cc5ab1bc592fb1d4078485c2def2ae4bcd5a50b6dfc2eb477eb SHA512 b24907f9a0bf6a9aa3278d31986c562c5f2d68f8c178021497c8648aca9f91e4c6f1ecfacf93eb01ba4f03ce4cfc5970fc40bb0fe6724bac9210fc57da09cba4
|
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.0.tar.xz 660268 BLAKE2B 5fc9d0df2f685afc1931ac12757d7ec0369c1f90b51f79b696479a2edd0c13e0684938871166318ca5c78b4955195ba5517e98e4666803b9062f4ed2b6593afa SHA512 c7ef987b7db89c58278c537f862bc9eb17c19f8288a3b7e88f8501a0486662f1e2cb6a2c0b81d4bf0464310475192428d6e29d05a6ae3cfc1d2c0941fbb0b9a3
|
||||||
|
DIST pixman-0.46.2.tar.xz 660260 BLAKE2B 6d51d4f33f48a1cc991085b5e62e7537b738df78c4efcbce15c37533f24a1d87263401550530d123de86bd72a856d3fd0b1543188c76f074ea3e44d384f1116f SHA512 9419e5a23f4b709e075c5dd33c46bb375d2407b6e90623fe3410a03171f4c5e0a511e8b4414557a39b68d46a4c1ac64f2ef0c9c6eab0b42a2be75d5d52a367fd
|
||||||
|
@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
|
|||||||
GIT_ECLASS="git-r3"
|
GIT_ECLASS="git-r3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="Low-level pixel manipulation routines"
|
DESCRIPTION="Low-level pixel manipulation routines"
|
||||||
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
||||||
@ -32,6 +32,13 @@ pkg_setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
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=(
|
local emesonargs=(
|
||||||
$(meson_feature cpu_flags_x86_mmxext mmx)
|
$(meson_feature cpu_flags_x86_mmxext mmx)
|
||||||
$(meson_feature cpu_flags_x86_sse2 sse2)
|
$(meson_feature cpu_flags_x86_sse2 sse2)
|
||||||
|
68
sdk_container/src/third_party/portage-stable/x11-libs/pixman/pixman-0.46.2.ebuild
vendored
Normal file
68
sdk_container/src/third_party/portage-stable/x11-libs/pixman/pixman-0.46.2.ebuild
vendored
Normal file
@ -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
|
||||||
|
}
|
@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
|
|||||||
GIT_ECLASS="git-r3"
|
GIT_ECLASS="git-r3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
inherit flag-o-matic ${GIT_ECLASS} meson-multilib multiprocessing toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="Low-level pixel manipulation routines"
|
DESCRIPTION="Low-level pixel manipulation routines"
|
||||||
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/"
|
||||||
@ -32,6 +32,13 @@ pkg_setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
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=(
|
local emesonargs=(
|
||||||
$(meson_feature cpu_flags_x86_mmxext mmx)
|
$(meson_feature cpu_flags_x86_mmxext mmx)
|
||||||
$(meson_feature cpu_flags_x86_sse2 sse2)
|
$(meson_feature cpu_flags_x86_sse2 sse2)
|
||||||
|
Loading…
Reference in New Issue
Block a user