summaryrefslogtreecommitdiff
path: root/x11-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-05 02:07:17 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-05 02:07:17 +0000
commita6764d56b1c85c8272783500983011c143c72d80 (patch)
tree4012d67c099814931c6188b22a6b5eb4e77f1d6a /x11-libs
parent38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (diff)
gentoo auto-resync : 05:12:2024 - 02:07:17
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/Manifest.gzbin17849 -> 17852 bytes
-rw-r--r--x11-libs/libdrm/Manifest2
-rw-r--r--x11-libs/libdrm/libdrm-2.4.124.ebuild83
3 files changed, 85 insertions, 0 deletions
diff --git a/x11-libs/Manifest.gz b/x11-libs/Manifest.gz
index 4399088dc1f7..eb91482224a3 100644
--- a/x11-libs/Manifest.gz
+++ b/x11-libs/Manifest.gz
Binary files differ
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest
index 436529342e91..e7affb8c5928 100644
--- a/x11-libs/libdrm/Manifest
+++ b/x11-libs/libdrm/Manifest
@@ -1,4 +1,6 @@
DIST libdrm-2.4.123.tar.xz 481112 BLAKE2B 5a621682ef32bb9b9b69b153a36db4b85df54595ade9910091ff62a477ea30fc9e7f22ab5d9b8c8a5f9f1cf428cb400b5e62f3cf811227666de718ddd8cdcc34 SHA512 d3e6ba26bbd609fd87ca131690547eeb6a903c0a8c28b7f5cd5d0947619da09f31daf7bf4b6c38bf5e5dc173e2ccba476338ef682d8cf06d6b71ba73fc9b948d
+DIST libdrm-2.4.124.tar.xz 481244 BLAKE2B b463dfb78168c9c94d7dd7e241a233f6500bc6ef00487daf81b936975a3d4f056cc83a764aee6de7200f5804e3aa05c0b2d3fb7e10ada5e1bc414d9a8f120f2c SHA512 0408c3ae5780c57d19321a9a7b046d656e252b2f48e520b2beb18f83495bea39c445deb9a9a6795b46194051c2ea4da476e08c63972daf841064099df6dff365
EBUILD libdrm-2.4.123-r1.ebuild 2514 BLAKE2B 42af888eb1961e291182c6f7ebca9b185d2e639740614cf3059232587fae949993ec7fb2993947f0cff897381d84ffac2d1a5f8b329fefb51dc461b5e604ca03 SHA512 861f31281141dd5fef451c927a28f72ac0501da2008c281e20de8abe9172590f62f50a20111c9ff661f0cd99639547efb22b3a555fc918f40d1b047aa7d35e74
+EBUILD libdrm-2.4.124.ebuild 2522 BLAKE2B 2c7a2fc8f98e209274b956d1395a374ce6bef8f2525c19858393448f02dd3243cf867ed506fb0dfc9d6141accb5b8ed4ce767ef6ffc1f947bcadd049c5eda66d SHA512 fdff83825843fdd519520f1bc57873599050d2f05f5dc6c1380cfacb8b12da94c5a44813328d5a152f97040b95a54a83184a748ec67a733e045492dbb64ca121
EBUILD libdrm-9999.ebuild 2522 BLAKE2B 2c7a2fc8f98e209274b956d1395a374ce6bef8f2525c19858393448f02dd3243cf867ed506fb0dfc9d6141accb5b8ed4ce767ef6ffc1f947bcadd049c5eda66d SHA512 fdff83825843fdd519520f1bc57873599050d2f05f5dc6c1380cfacb8b12da94c5a44813328d5a152f97040b95a54a83184a748ec67a733e045492dbb64ca121
MISC metadata.xml 410 BLAKE2B 86cda23d38e7b6f3581545fcd036c4d6233380e3a61b3ad8a94b8fef4eb8ae3f3a9bd4680b0cac219c0decd4c2df58bf731fce668787b0b3bf7d88f054110a8d SHA512 5c10acae8f229f49f789c0447988a4a48cb2f7de996b9d0a68fe67c0a217d405bc4face3be503562210da7f480a17aebd64d6ae9b38d8d2ff2dc031c41b438d5
diff --git a/x11-libs/libdrm/libdrm-2.4.124.ebuild b/x11-libs/libdrm/libdrm-2.4.124.ebuild
new file mode 100644
index 000000000000..25b11549579e
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.124.ebuild
@@ -0,0 +1,83 @@
+# 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 ~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}
+ video_cards_amdgpu? (
+ tools? ( >=dev-util/cunit-2.1 )
+ test? ( >=dev-util/cunit-2.1 )
+ )
+ 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
+}