unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 72443@debbugs.gnu.org
Cc: 72443-done@debbugs.gnu.org, James Smith <jsubuntuxp@disroot.org>
Subject: [bug#72443] [PATCH v2] gnu: Add vkbasalt.
Date: Sat, 17 Aug 2024 11:34:07 +0800	[thread overview]
Message-ID: <87r0an961c.fsf@iscas.ac.cn> (raw)
In-Reply-To: <0716dcbbd76d6065cb2d58ee8da15c483e84ba4c.1723813985.git.jsubuntuxp@disroot.org> (James Smith via Guix-patches via's message of "Fri, 16 Aug 2024 06:13:05 -0700")

[-- Attachment #1: Type: text/plain, Size: 3249 bytes --]

James Smith via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/vulkan.scm: (vkbasalt): New variable.
>
> Change-Id: Ib5a39df0deabb166498e16e7359e7fa83a63b6c9
> ---
>  gnu/packages/vulkan.scm | 49 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 49 insertions(+)
>
> diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
> index 8aee673653..e807ba0f73 100644
> --- a/gnu/packages/vulkan.scm
> +++ b/gnu/packages/vulkan.scm
> @@ -7,6 +7,7 @@
>  ;;; Copyright © 2022 Kaelyn Takata <kaelyn.alexi@protonmail.com>
>  ;;; Copyright © 2022, 2024 dan <i@dan.games>
>  ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
> +;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -32,6 +33,7 @@ (define-module (gnu packages vulkan)
>    #:use-module (guix gexp)
>    #:use-module (guix build-system cmake)
>    #:use-module (guix build-system gnu)
> +  #:use-module (guix build-system meson)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages autotools)
>    #:use-module (gnu packages bison)
> @@ -246,6 +248,53 @@ (define-public glslang
>                     ;; include/SPIRV/{bitutils,hex_float}.h are Apache 2.0.
>                     license:asl2.0))))
>  
> +(define-public vkbasalt
> +  (package
> +    (name "vkbasalt")
> +    (version "0.3.2.10")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference (url "https://github.com/DadSchoorse/vkBasalt")
> +                           (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0f3qmcmqnnh8i9qd2sd3p5w0akn8rkzfm5z0hc0wazgci4lqjbhq"))))
> +    (build-system meson-build-system)
> +    (arguments
> +     (list #:configure-flags
> +           ;; Needed for giving full path to library.
> +           #~(list "-Dappend_libdir_vkbasalt=TRUE")
> +           #:phases
> +           #~(modify-phases %standard-phases
> +               (add-after 'unpack 'fix-libdir
> +                 (lambda _
> +                   (substitute* "meson.build"
> +                     (("\\$LIB") "lib")))))))
> +    (inputs (list glslang libx11 spirv-headers vulkan-headers))
> +    (native-inputs (list pkg-config))
> +    (home-page "https://github.com/DadSchoorse/vkBasalt")
> +    (synopsis "Vulkan post processing layer for GNU/Linux")
> +    (description "vkBasalt is a Vulkan post processing layer to enhance the
> +visual graphics of games.
> +
> +Currently, the built-in effects are:
> +
> +@itemize @bullet
> +@item
> +Contrast Adaptive Sharpening
> +@item
> +Denoise Luma Sharpening
> +@item
> +Fast Approximate Anti-Aliasing
> +@item
> +Enhanced Subpixel Morphological Anti-Aliasing
> +@item
> +3D color LookUp Table
> +@end itemize")
> +    (license (list license:bsd-3    ; src/reshade/LICENSE.md
> +                   license:zlib)))) ; LICENSE
> +
>  (define-public vulkan-headers
>    (package
>      (name "vulkan-headers")
>
> base-commit: 41db573403ac0ade033dfe6af09c187ebe6506b5

push, move glslang to native-inputs to fix cross-compilation, and
adjustment sequence. close.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2024-08-17  3:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03 13:25 [bug#72443] [PATCH] gnu: Add vkbasalt James Smith via Guix-patches via
2024-08-16 13:13 ` [bug#72443] [PATCH v2] " James Smith via Guix-patches via
2024-08-17  3:34   ` Zheng Junjie [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87r0an961c.fsf@iscas.ac.cn \
    --to=zhengjunjie@iscas.ac.cn \
    --cc=72443-done@debbugs.gnu.org \
    --cc=72443@debbugs.gnu.org \
    --cc=jsubuntuxp@disroot.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).