app-emulation/vkd3d: version bump
authorMaxime Lombard <berillions@gmail.com>
Sat, 22 Dec 2018 18:14:54 +0000 (19:14 +0100)
committerNick Sarnie <sarnex@gentoo.org>
Sun, 23 Dec 2018 03:48:55 +0000 (22:48 -0500)
Version bump to 1.1.

Closes: https://github.com/gentoo/gentoo/pull/10681

Signed-of-by: Maxime Lombard <berillions@gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
app-emulation/vkd3d/Manifest
app-emulation/vkd3d/vkd3d-1.1.ebuild [new file with mode: 0644]

index 257e8321d9770d3696668de7b83f68bd05b8045c..dd36273926d6ddc2ec26177f6649f171877227c9 100644 (file)
@@ -1 +1,2 @@
 DIST vkd3d-1.0.tar.xz 461884 BLAKE2B 4dbd729f9e795d3d81178abc1a8774c0bbe6a5257c96c97acf1e4b4cdb5b7e30c77235e8b8fa57f7db3196caf30c55c3b0c07e2981629dd6177436a3cd117d33 SHA512 55712528688cdedc63049e168b371b470dbb8e31ddc36d8b23b0655f4a061726eb8556b9abf3cb887f6bd21379959aed9fab93ba0fd53813aec413ebec71d615
+DIST vkd3d-1.1.tar.xz 487452 BLAKE2B 834ca06d2159a5857dde457f27e541f06624e87633af6aca7445867abc38c56a1da1fe34b6795ffbd6aa73e983ac0e4301402ae35ef8358fa8cc79c12972b11d SHA512 e107612bdca95e998f9d819bdf74e4ffe1b4d400d250ab855c4ebf94b7d3f088b3221591fef03b1c6b8ecb030feb1673f74831bd8bd8edda2989d09a8846b0f7
diff --git a/app-emulation/vkd3d/vkd3d-1.1.ebuild b/app-emulation/vkd3d/vkd3d-1.1.ebuild
new file mode 100644 (file)
index 0000000..adf1fb7
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git"
+       inherit git-r3
+else
+       KEYWORDS="~amd64"
+       SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
+fi
+
+IUSE="spirv-tools"
+RDEPEND="spirv-tools? ( dev-util/spirv-tools:=[${MULTILIB_USEDEP}] )
+               media-libs/vulkan-loader[${MULTILIB_USEDEP},X]
+               x11-libs/xcb-util:=[${MULTILIB_USEDEP}]
+               x11-libs/xcb-util-keysyms:=[${MULTILIB_USEDEP}]
+               x11-libs/xcb-util-wm:=[${MULTILIB_USEDEP}]"
+
+DEPEND="${RDEPEND}
+               dev-util/spirv-headers
+               dev-util/vulkan-headers"
+
+DESCRIPTION="D3D12 to Vulkan translation library"
+HOMEPAGE="https://source.winehq.org/git/vkd3d.git/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+multilib_src_configure() {
+       local myconf=(
+               $(use_with spirv-tools)
+       )
+
+       ECONF_SOURCE=${S} econf "${myconf[@]}"
+}