From 195b9c2581fc45718eaec7cb6d170b58aba06d87 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Fri, 14 Apr 2023 13:24:37 +0300 Subject: [PATCH] media-libs/vkBasalt: add 0.3.2.9 Signed-off-by: Alfred Wingate --- media-libs/vkBasalt/Manifest | 1 + .../vkBasalt/files/fix-gcc-13-header.patch | 12 ++++++++ media-libs/vkBasalt/vkBasalt-0.3.2.9.ebuild | 28 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 media-libs/vkBasalt/files/fix-gcc-13-header.patch create mode 100644 media-libs/vkBasalt/vkBasalt-0.3.2.9.ebuild diff --git a/media-libs/vkBasalt/Manifest b/media-libs/vkBasalt/Manifest index 55ebd35..a388152 100644 --- a/media-libs/vkBasalt/Manifest +++ b/media-libs/vkBasalt/Manifest @@ -1 +1,2 @@ DIST vkBasalt-0.3.2.8.tar.gz 335831 BLAKE2B e9531bb1de3137898a4f46412331c2ce5823fcdda3b3c945ca748f8aa294c334631dc589042fbd56780353f15197ab4e794da9d34702fae21402eb45bde81f95 SHA512 4c2c81f793393f948d51f6418fc4b2105150970963f16d501f47728d6e4ac54115180164cd1589bbb167722d27bea880b7209a721106bff39a6b985d4028d850 +DIST vkBasalt-0.3.2.9.tar.gz 335981 BLAKE2B 9a977ce428749dd9583d72ae5e1f74880b58cdcbbae1d456557546bfab8e032ce470afb2d737e169004dc928166d4ac20c116468d340f5871af8c600536e3a33 SHA512 f6eb6cce815d0016ec79182e38a307b3d63865fcfea20083031b7a0ec8314a72323840bb274ee6cc3ad8f71ba29423e56350b0b7a216d89dc46ed930e315699a diff --git a/media-libs/vkBasalt/files/fix-gcc-13-header.patch b/media-libs/vkBasalt/files/fix-gcc-13-header.patch new file mode 100644 index 0000000..26f441c --- /dev/null +++ b/media-libs/vkBasalt/files/fix-gcc-13-header.patch @@ -0,0 +1,12 @@ +diff --git a/src/reshade/effect_token.hpp b/src/reshade/effect_token.hpp +index e85e2fa..998f5f8 100644 +--- a/src/reshade/effect_token.hpp ++++ b/src/reshade/effect_token.hpp +@@ -5,6 +5,7 @@ + + #pragma once + ++#include + #include + #include + diff --git a/media-libs/vkBasalt/vkBasalt-0.3.2.9.ebuild b/media-libs/vkBasalt/vkBasalt-0.3.2.9.ebuild new file mode 100644 index 0000000..55d6ec9 --- /dev/null +++ b/media-libs/vkBasalt/vkBasalt-0.3.2.9.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="A vulkan post processing layer for linux" +HOMEPAGE="https://github.com/DadSchoorse/vkBasalt" +SRC_URI="https://github.com/DadSchoorse/vkBasalt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +# No tests +RESTRICT="test" + +CDEPEND="x11-libs/libX11" +DEPEND=" + ${CDEPEND} + dev-util/spirv-headers + dev-util/vulkan-headers +" +RDEPEND="${CDEPEND}" +BDEPEND="dev-util/glslang" + +PATCHES=( "${FILESDIR}/fix-gcc-13-header.patch" )