diff options
author | Mike Lothian <mike@fireburn.co.uk> | 2022-08-05 13:45:39 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-09-06 12:03:23 -0400 |
commit | 5731299155df8c5e614383a356813f04fd6bc082 (patch) | |
tree | 9a3346beb24ee4ea3b004676b0d336dea91e32b9 /dev-util/directx-headers | |
parent | dev-lang/lua: remove wrong 5.1.6 (diff) | |
download | gentoo-5731299155df8c5e614383a356813f04fd6bc082.tar.gz gentoo-5731299155df8c5e614383a356813f04fd6bc082.tar.bz2 gentoo-5731299155df8c5e614383a356813f04fd6bc082.zip |
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@fireburn.co.uk>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/directx-headers')
-rw-r--r-- | dev-util/directx-headers/Manifest | 1 | ||||
-rw-r--r-- | dev-util/directx-headers/directx-headers-1.606.4.ebuild | 30 | ||||
-rw-r--r-- | dev-util/directx-headers/directx-headers-9999.ebuild | 30 | ||||
-rw-r--r-- | dev-util/directx-headers/metadata.xml | 11 |
4 files changed, 72 insertions, 0 deletions
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> |