commit: 42f6c9b13ca350706bfaa720996dfd4ecc914ebb Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Mon Dec 8 16:00:33 2025 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Mon Dec 8 16:01:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f6c9b1
x11-libs/libdrm: Version bump to 2.4.130 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> x11-libs/libdrm/Manifest | 1 + x11-libs/libdrm/libdrm-2.4.130.ebuild | 79 +++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest index 6d099cd651a2..b7e64afe305e 100644 --- a/x11-libs/libdrm/Manifest +++ b/x11-libs/libdrm/Manifest @@ -2,3 +2,4 @@ DIST libdrm-2.4.125.tar.xz 485592 BLAKE2B 4bfb60d95e57035c5068a05a218ed026e79fc9 DIST libdrm-2.4.127.tar.xz 487136 BLAKE2B 7f539f764194be9c48b1b35cefaff913f3e2db856e1e4642a3f51c6a0423bd90f4005ca1a5fea2fb696708a22e13bff887046d1763c9a1fccf88b264f4018e98 SHA512 2b1e9bdc864d1d8b890763a5154708bd44ee0cab5cb9156a7ec473d1d83b9fae7f4f66f660a68a3d1839ecca010163439c9991d9360f9be03be7ed8823a73ec6 DIST libdrm-2.4.128.tar.xz 432272 BLAKE2B 29c128197f94be9f52e79c5a775026f56f0218323c57ef6b2d15a8bdbb1e27e127e3bb41b903a9300daa969897058763d89b084403eb550fd1212cb7f1a77e71 SHA512 b80e6be1c9d0427e1c3ffd018213d7230333f037498cf98819a8a6c50d923ad3472002044e010ca9dc646ef79dbca241bd47eaa992014cb7063b31cdb84037c7 DIST libdrm-2.4.129.tar.xz 433392 BLAKE2B 99dfd32979216f2b0bafe2e017834ce35beca3da67443c3b6af353afe75bf3b8ebc5bd3c1e540fdb58487d0840cd1e96412eb6672212ecef8a3b923801522587 SHA512 3ee702cc4a578e9ab231caf8a84700e4dff6f3da70731610121ac2c3390f42e42ad144ea61c53582e3a8adfb1d6bf8254993c5c6eaf85a51421e26d51d341cd4 +DIST libdrm-2.4.130.tar.xz 435716 BLAKE2B d3c305b23f0a1120b9ee86b7d783ea12c782e2b156e7b5fd89d2d0f8b3849c16fba1971a12414834fc25c2cc99ae3bdad96627c365f42f3ea4ef806b48456dc0 SHA512 1346df2d25552346ceea526ac7b1f0c3c9e4815ac246ba4ca61f54b9e27a5938d0e8041f22348eadce267cd8f6fd27d8ec2b0630f39451c3ec61ff2254896341 diff --git a/x11-libs/libdrm/libdrm-2.4.130.ebuild b/x11-libs/libdrm/libdrm-2.4.130.ebuild new file mode 100644 index 000000000000..2c9fc648c342 --- /dev/null +++ b/x11-libs/libdrm/libdrm-2.4.130.ebuild @@ -0,0 +1,79 @@ +# 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/mesa/libdrm.git" +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~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} doc 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} + udev? ( virtual/udev )" +BDEPEND="${PYTHON_DEPS} + doc? ( $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]') )" + +python_check_deps() { + use doc || return 0 + 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) + $(meson_native_use_feature doc man-pages) + ) + + if use test || { multilib_is_native_abi && use tools; }; then + emesonargs+=( -Dtests=true ) + else + emesonargs+=( -Dtests=false ) + fi + meson_src_configure +}
