mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST libinput-1.25.0.tar.bz2 812020 BLAKE2B 03034b6315c281d7eee6a7bc1f4c799c2c7f74add7a195501de75feb6b98fa8dc601b7573da5586b2b2882c3cfaddfad62f5c1b836402dce1f463bdb2884945d SHA512 b9dc3f3b5f34c82399dfb7ccb5f65d19a596c415f0198b39e3f360f5b87c42124a5355c8d9f6f42cc9ae2d4f9a90fe5da6260136fa83d278048392f93381a84b
|
||||
DIST libinput-1.26.0.tar.bz2 821648 BLAKE2B 50df13597f5bba9cf6ff283bc6fe63ad28d76137c2ec4d1aee7c8a5342ca319f222e8dd486a4b943f9c6e42c79896d229cd1f64f1667b87478666f631516a49b SHA512 7cd6a46ff6f43eab4cc7558b77804005aa94d75b9b07b8d954c57b8521b2dfb182018043bebaf5f3ab7ec8b56fc7313cbd193b4670c065ccc51c719d518b7c98
|
||||
DIST libinput-1.26.1.tar.bz2 823409 BLAKE2B c9b807d40bb247330c31769cbcff1a2a506504ac952841463e5fb67717b5d002de204caa8be3298d3920c20a85c55b453a6d63a8940a6b0f088cb474f4fe73c0 SHA512 d4611fc75ee6091f3139134f348db79d710560c27a936c7a8c0dc50657d6e1bdbdb1b44fb4c2c668a5b45934d91d3aef336d4096806807354472b25e298cdab6
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
# Copyright 2014-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit meson optfeature python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
if [[ $(ver_cut 3) -lt 900 ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
IUSE="doc input_devices_wacom test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.27:= )
|
||||
>=dev-libs/libevdev-1.9.902
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-libs/check-0.9.10 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-text/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
# test? ( dev-debug/valgrind )
|
||||
|
||||
python_check_deps() {
|
||||
if use doc; then
|
||||
python_has_version \
|
||||
"dev-python/commonmark[${PYTHON_USEDEP}]" \
|
||||
"dev-python/recommonmark[${PYTHON_USEDEP}]" \
|
||||
"dev-python/sphinx[${PYTHON_USEDEP}]" \
|
||||
">=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}]" \
|
||||
|| return
|
||||
fi
|
||||
if use test; then
|
||||
python_has_version \
|
||||
"dev-python/pytest[${PYTHON_USEDEP}]" \
|
||||
"dev-python/pytest-xdist[${PYTHON_USEDEP}]" \
|
||||
|| return
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed "s@, '-Werror'@@" -i meson.build || die #744250
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
$(meson_use test tests)
|
||||
-Dudev-dir="${EPREFIX}$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "measure and replay tools" dev-python/libevdev
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
@@ -36,6 +36,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
|
||||
"${FILESDIR}/${PN}-1.940.0-avoid-runtime-check.patch"
|
||||
)
|
||||
|
||||
PERL_RM_FILES=(
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 5219e8c5181b3a819b89032766340d5c1b11c3c5 Mon Sep 17 00:00:00 2001
|
||||
From: Luca Barbato <lu_zero@gentoo.org>
|
||||
Date: Sat, 29 Jun 2024 21:10:06 +0200
|
||||
Subject: [PATCH] Remove the runtime check
|
||||
|
||||
Makes simpler to cross-build. At least for Gentoo it is fine since we
|
||||
control the versions on our own.
|
||||
---
|
||||
Makefile.PL | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 94c72f2..d4b1aea 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -196,7 +196,6 @@ EOM
|
||||
exit MISSING_PREREQ;
|
||||
}
|
||||
|
||||
- check_openssl_version($prefix, $exec);
|
||||
my %args = (
|
||||
CCCDLFLAGS => $opts->{cccdlflags},
|
||||
OPTIMIZE => $opts->{optimize},
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -20,7 +20,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86"
|
||||
IUSE="+gdk-pixbuf gif jpeg openexr +png test"
|
||||
REQUIRED_USE="test? ( png )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST libdrm-2.4.120.tar.xz 479564 BLAKE2B 218d674da334c32aae27a31c10992cb276b08543704c875c7d7bf8f3dd348d1cf1c95f35b0afc8f3034d83152c2df460f84807388a21b241792db3e81c98dbfc SHA512 6dc16e5134a669eeb59debb1dc2d15b857483ab7476dc2b94bd05a32d8953f046f5656f6cf9e1a63e97e7156fb65ebb58b6a29fe45cb6326058baaf820626e70
|
||||
DIST libdrm-2.4.121.tar.xz 480840 BLAKE2B 23b8c68e12e5d3ed34dcf9577ef934e7990526018f76933a35434c7ea69ba081850e2d4e00e783880bcfe570d62910161364515ce8fde715743abbcb39d3ffb4 SHA512 cc8816d61884caa0e404348d1caeb0b2952fb50e1dc401716adfe08121096e2a67826db0bda0d8b163d67c5ee048870177670d5eac28a5abe5792d09ba77ab2e
|
||||
DIST libdrm-2.4.122.tar.xz 481012 BLAKE2B ca6aaf0fe55dfcfe33a0d39a7b3ea07aa4cbe772294ec7f419a4edbb40cbce14c399e180e35dd781ef225a16daae8f40d4893599eb018b68cc78e4e981f2e6e2 SHA512 ea6bac94416d4ba0e9805e142ae62904236bc49f803d4fc10c92968a4df64c818dd42524ad7a4e988062836783a148e27094050bb2754f751a368627f794ad13
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git"
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
fi
|
||||
|
||||
inherit ${GIT_ECLASS} python-any-r1 meson-multilib
|
||||
|
||||
DESCRIPTION="X.Org libdrm library"
|
||||
HOMEPAGE="https://dri.freedesktop.org/ https://gitlab.freedesktop.org/mesa/drm"
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
SRC_URI="https://dri.freedesktop.org/libdrm/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
VIDEO_CARDS="amdgpu exynos freedreno intel nouveau omap radeon tegra vc4 vivante vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="${IUSE_VIDEO_CARDS} test tools udev valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
valgrind? ( dev-debug/valgrind )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
video_cards_amdgpu? (
|
||||
tools? ( >=dev-util/cunit-2.1 )
|
||||
test? ( >=dev-util/cunit-2.1 )
|
||||
)
|
||||
udev? ( virtual/udev )"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/docutils[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \
|
||||
symbols-check.py || die # bug #925550
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use udev)
|
||||
-Dcairo-tests=disabled
|
||||
$(meson_feature video_cards_amdgpu amdgpu)
|
||||
$(meson_feature video_cards_exynos exynos)
|
||||
$(meson_feature video_cards_freedreno freedreno)
|
||||
$(meson_feature video_cards_intel intel)
|
||||
$(meson_feature video_cards_nouveau nouveau)
|
||||
$(meson_feature video_cards_omap omap)
|
||||
$(meson_feature video_cards_radeon radeon)
|
||||
$(meson_feature video_cards_tegra tegra)
|
||||
$(meson_feature video_cards_vc4 vc4)
|
||||
$(meson_feature video_cards_vivante etnaviv)
|
||||
$(meson_feature video_cards_vmware vmwgfx)
|
||||
# valgrind installs its .pc file to the pkgconfig for the primary arch
|
||||
-Dvalgrind=$(usex valgrind auto disabled)
|
||||
$(meson_native_use_bool tools install-test-programs)
|
||||
)
|
||||
|
||||
if use test || { multilib_is_native_abi && use tools; }; then
|
||||
emesonargs+=( -Dtests=true )
|
||||
else
|
||||
emesonargs+=( -Dtests=false )
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user