summaryrefslogtreecommitdiff
path: root/x11-libs/libdrm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-01 19:24:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-01 19:24:10 +0100
commitb052fbf151106a4f47cac7fdf0ffff983decb773 (patch)
tree5d21279a4eeaf4076caee87654b610a0fe8a4051 /x11-libs/libdrm
parentc3b55a6be7da027d97d8aef00ef88c3011121a42 (diff)
gentoo auto-resync : 01:09:2022 - 19:24:10
Diffstat (limited to 'x11-libs/libdrm')
-rw-r--r--x11-libs/libdrm/Manifest4
-rw-r--r--x11-libs/libdrm/libdrm-2.4.113.ebuild66
-rw-r--r--x11-libs/libdrm/libdrm-9999.ebuild3
3 files changed, 71 insertions, 2 deletions
diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest
index 5f33cdb4fd13..ceca69743045 100644
--- a/x11-libs/libdrm/Manifest
+++ b/x11-libs/libdrm/Manifest
@@ -1,4 +1,6 @@
DIST libdrm-2.4.112.tar.xz 451872 BLAKE2B a41cbd714e169edd8c6bc6bba5cec8a7a703f553665575c35f43909e2927ed3c1652ddba25b98e63974f0734ca26e818e6ee75613159eb68ea85ba45934df393 SHA512 df8a207d9cce220ee2cf67877eda65394733fbfd0ff85fdbadb2b20ba9bacc41421b32452506c8caecddaf8361564ca68cd6c74d4faf3b1569ab30a3243e4340
+DIST libdrm-2.4.113.tar.xz 457064 BLAKE2B 30dab032f047a4bd3646b53c64c118d02855ee003025bb97b904f95101d2e945b0ed3d9ae00eb733f9a273afca3c18d10fa215b67c9c364a9819140a99d40115 SHA512 fca9834ce090f63ce6dc6d04491a2c5e86162fdddfc8ea70d55a6cdeb401be656388aae1577e58f463a78d8dc502be0a641908784819874e20bbec9a39a057e0
EBUILD libdrm-2.4.112.ebuild 1946 BLAKE2B 331f6d44600bdeb4a397e6f7fe630d481eb02658279e391cb237e2e1bb5856c7ff87e4910ce65d9e6281abe76c402c0bc24c84dc22d53f7ac092f269d1d12d9f SHA512 f1e10b879303377ec4060565865a8b3cd342a26b49c4aabf28dacca835ae8baaa818783b40d5f6bce1db9afc7cf495484bf7e9c36d41990eebac70a2a7dbdc3d
-EBUILD libdrm-9999.ebuild 2004 BLAKE2B 431567b24fef046be72295a2932bdd715766ef4c67d7abffae78c44f9a96b6f1948d7a43863c47d7a194fa00a32b9d47320f7c2f034591869f3c4506e5323f7a SHA512 7f3e1a630ee322fecb0d2e3c324fa397500b35e6dcc6ca8e55a1ca560dfa4f540e7ae64773b3ac47baf6319ee591d6408d3f36728a562bbd0a59961862bc1165
+EBUILD libdrm-2.4.113.ebuild 2043 BLAKE2B cfdef7c119fc261d57730dc157fcf05aedb81e36cf98ba78ddfe368ae74aec136da38dd910b321955fefd7bfd6dd7bc18e5d6b732ad1583370fad2d35efb3fbd SHA512 caf7a1667a174ef2fa6855cc174dd3c4e4627c9c024239e2a7130bea5aeae84a90cffdaad19438898e5e58a3413613c3261b3bdb901aecb576fb0fa1b505967f
+EBUILD libdrm-9999.ebuild 2043 BLAKE2B cfdef7c119fc261d57730dc157fcf05aedb81e36cf98ba78ddfe368ae74aec136da38dd910b321955fefd7bfd6dd7bc18e5d6b732ad1583370fad2d35efb3fbd SHA512 caf7a1667a174ef2fa6855cc174dd3c4e4627c9c024239e2a7130bea5aeae84a90cffdaad19438898e5e58a3413613c3261b3bdb901aecb576fb0fa1b505967f
MISC metadata.xml 304 BLAKE2B e47f11b45b5c90804d5dfd27dbe2f2156099661ac7546152fb4e62046fd030838a0944d7dea35efd2f7b527eb88992c5049a40282dea58097b991c6bcd843693 SHA512 b798cffebaf330272494b6ef84c9c587a920e27ac0ae26336ff256de21768274cfcbe8feb61b7f63bff52294e460f945ada9ab9ddaeaea91d17bc1d6d41360da
diff --git a/x11-libs/libdrm/libdrm-2.4.113.ebuild b/x11-libs/libdrm/libdrm-2.4.113.ebuild
new file mode 100644
index 000000000000..efae644e1d3b
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.113.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 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_{8..11} )
+
+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=""
+else
+ 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
+
+IUSE="${IUSE_VIDEO_CARDS} valgrind"
+RESTRICT="test" # see bug #236845
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ valgrind? ( dev-util/valgrind )"
+BDEPEND="${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')"
+
+python_check_deps() {
+ python_has_version "dev-python/docutils[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ # Udev is only used by tests now.
+ -Dudev=false
+ -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)
+ -Dtests=false # Tests are restricted
+ )
+ meson_src_configure
+}
diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild
index 17fce5980bab..efae644e1d3b 100644
--- a/x11-libs/libdrm/libdrm-9999.ebuild
+++ b/x11-libs/libdrm/libdrm-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git"
PYTHON_COMPAT=( python3_{8..11} )
@@ -60,6 +60,7 @@ multilib_src_configure() {
$(meson_feature video_cards_vmware vmwgfx)
# valgrind installs its .pc file to the pkgconfig for the primary arch
-Dvalgrind=$(usex valgrind auto disabled)
+ -Dtests=false # Tests are restricted
)
meson_src_configure
}