From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E37E158083 for ; Mon, 2 Sep 2024 17:52:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5208EE2A91; Mon, 2 Sep 2024 17:52:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 316BDE2A8F for ; Mon, 2 Sep 2024 17:52:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC7C6343152 for ; Mon, 2 Sep 2024 17:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DD3E1F40 for ; Mon, 2 Sep 2024 17:52:27 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1725299540.7ba4baf5130821f26645e8ac5f02057f4f80ed29.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libdrm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libdrm/Manifest x11-libs/libdrm/libdrm-2.4.123.ebuild X-VCS-Directories: x11-libs/libdrm/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 7ba4baf5130821f26645e8ac5f02057f4f80ed29 X-VCS-Branch: master Date: Mon, 2 Sep 2024 17:52:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 07cf60d0-4508-4b02-9028-4288e59c6042 X-Archives-Hash: 9f7ab729596ec6cb2216f7b298719688 commit: 7ba4baf5130821f26645e8ac5f02057f4f80ed29 Author: Matt Turner gentoo org> AuthorDate: Mon Sep 2 17:44:59 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Sep 2 17:52:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba4baf5 x11-libs/libdrm: Version bump to 2.4.123 Signed-off-by: Matt Turner gentoo.org> x11-libs/libdrm/Manifest | 1 + x11-libs/libdrm/libdrm-2.4.123.ebuild | 81 +++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest index 400e9aeb051a..64ee45a21490 100644 --- a/x11-libs/libdrm/Manifest +++ b/x11-libs/libdrm/Manifest @@ -1,3 +1,4 @@ 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 +DIST libdrm-2.4.123.tar.xz 481112 BLAKE2B 5a621682ef32bb9b9b69b153a36db4b85df54595ade9910091ff62a477ea30fc9e7f22ab5d9b8c8a5f9f1cf428cb400b5e62f3cf811227666de718ddd8cdcc34 SHA512 d3e6ba26bbd609fd87ca131690547eeb6a903c0a8c28b7f5cd5d0947619da09f31daf7bf4b6c38bf5e5dc173e2ccba476338ef682d8cf06d6b71ba73fc9b948d diff --git a/x11-libs/libdrm/libdrm-2.4.123.ebuild b/x11-libs/libdrm/libdrm-2.4.123.ebuild new file mode 100644 index 000000000000..3f5e53d9399c --- /dev/null +++ b/x11-libs/libdrm/libdrm-2.4.123.ebuild @@ -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 +}