public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/directx-headers/
Date: Tue,  6 Sep 2022 16:03:29 +0000 (UTC)	[thread overview]
Message-ID: <1662480203.5731299155df8c5e614383a356813f04fd6bc082.mattst88@gentoo> (raw)

commit:     5731299155df8c5e614383a356813f04fd6bc082
Author:     Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk>
AuthorDate: Fri Aug  5 12:45:39 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 16:03:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57312991

dev-util/directx-headers: Add new ebuild

This is required to enable the d3d12 and dozen drivers in mesa

This enables OpenGL and Vulkan support within WSL

Signed-off-by: Mike Lothian <mike <AT> fireburn.co.uk>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/directx-headers/Manifest                  |  1 +
 .../directx-headers/directx-headers-1.606.4.ebuild | 30 ++++++++++++++++++++++
 .../directx-headers/directx-headers-9999.ebuild    | 30 ++++++++++++++++++++++
 dev-util/directx-headers/metadata.xml              | 11 ++++++++
 4 files changed, 72 insertions(+)

diff --git a/dev-util/directx-headers/Manifest b/dev-util/directx-headers/Manifest
new file mode 100644
index 000000000000..5decfb8a8c84
--- /dev/null
+++ b/dev-util/directx-headers/Manifest
@@ -0,0 +1 @@
+DIST directx-headers-1.606.4.tar.gz 352341 BLAKE2B 5b79e5fb0f807c7766708ac3467f0f8bbf82aa68e3aa71abc84c6791742ffe625a5fed4c36dceded9b372af5349e41e431266cadf21b173e4a659b39f840b41c SHA512 3fb4142f8ceedd8484f5f7dae5804a7a0012951de344936fbf22991d6ae659d4e5093e1627bfe51c3cb0859340b13171c4f6aa68377ec26ac05038acaad8c540

diff --git a/dev-util/directx-headers/directx-headers-1.606.4.ebuild b/dev-util/directx-headers/directx-headers-1.606.4.ebuild
new file mode 100644
index 000000000000..e0d36de615c0
--- /dev/null
+++ b/dev-util/directx-headers/directx-headers-1.606.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=DirectX-Headers
+inherit meson-multilib
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/microsoft/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+DESCRIPTION="DirectX header files and WSL stubs"
+HOMEPAGE="https://github.com/microsoft/DirectX-Headers"
+
+LICENSE="MIT"
+SLOT="0"
+
+multilib_src_configure() {
+	local emesonargs=(
+		-Dbuild-test=false
+	)
+
+	meson_src_configure
+}

diff --git a/dev-util/directx-headers/directx-headers-9999.ebuild b/dev-util/directx-headers/directx-headers-9999.ebuild
new file mode 100644
index 000000000000..e0d36de615c0
--- /dev/null
+++ b/dev-util/directx-headers/directx-headers-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=DirectX-Headers
+inherit meson-multilib
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/microsoft/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+DESCRIPTION="DirectX header files and WSL stubs"
+HOMEPAGE="https://github.com/microsoft/DirectX-Headers"
+
+LICENSE="MIT"
+SLOT="0"
+
+multilib_src_configure() {
+	local emesonargs=(
+		-Dbuild-test=false
+	)
+
+	meson_src_configure
+}

diff --git a/dev-util/directx-headers/metadata.xml b/dev-util/directx-headers/metadata.xml
new file mode 100644
index 000000000000..06575fa191e1
--- /dev/null
+++ b/dev-util/directx-headers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>x11@gentoo.org</email>
+		<name>X11</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">microsoft/DirectX-Headers</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2022-09-06 16:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 16:03 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-19  5:35 [gentoo-commits] repo/gentoo:master commit in: dev-util/directx-headers/ Matt Turner
2023-05-08 16:26 Matt Turner
2023-06-01 16:41 Arthur Zamarin
2023-06-05 15:40 Matt Turner
2023-12-10 18:37 Matt Turner
2024-01-14 20:17 Sam James
2024-01-14 20:17 Sam James
2024-01-24 17:00 Matt Turner
2024-03-19  5:06 Matt Turner
2024-03-22 14:53 Matt Turner
2024-04-04  3:21 Matt Turner
2024-04-24 17:16 Sam James
2024-04-24 18:22 Arthur Zamarin
2024-04-25 16:10 Matt Turner
2024-05-09 20:19 Sam James
2024-09-02 17:52 Matt Turner
2024-09-10 18:17 Matt Turner
2024-09-17  2:49 Matt Turner
2024-10-18  6:50 Arthur Zamarin
2024-10-18 10:18 Sam James
2024-11-06  1:22 Matt Turner
2025-01-04 21:22 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1662480203.5731299155df8c5e614383a356813f04fd6bc082.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox