Subject: [bug#73488] [PATCH games v3 3/7] gnu: Add jg-api.

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 03 Oct 2024 09:51:51 +0200

Am Donnerstag, dem 03.10.2024 um 16:25 +0900 schrieb Maxim Cournoyer:
> * gnu/packages/emulators.scm (jg-api): New variable.
> 
> Change-Id: I2cd2086560f8353f8260209c4ee0f117c3615917
> ---
> 
> (no changes since v1)
> 
>  gnu/packages/emulators.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
> index 50a7b67121..09e722b4f4 100644
> --- a/gnu/packages/emulators.scm
> +++ b/gnu/packages/emulators.scm
> @@ -2260,6 +2260,32 @@ (define-public bsnes
>  performance, features, and ease of use.")
>      (license license:gpl3)))
>  
> +(define-public jg-api
> +  (package
> +    (name "jg-api")
> +    (version "1.0.0")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://gitlab.com/jgemu/jg")
> +                    (commit version)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "0117cvfvzhrm9fxnryhbnf9r0f8ij4ahhfqiqp5yv11bz2wcyhqh"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     (list #:tests? #f
#:tests? #f should always go with a comment.
> +           #:make-flags #~(list (string-append "PREFIX=" #$output))
> +           #:phases #~(modify-phases %standard-phases
> +                        (delete 'configure)))) ;no configure phase
What about 'bootstrap?  
> +    (home-page "https://gitlab.com/jgemu/jg")
> +    (synopsis "Emulators Plugin API")
> +    (description "This package provides the Jolly Good API C and C++
> headers.
> +The Jolly Good API is a shared object or plugin @acronym{API,
> Application
> +Programming Interface} for emulators.")
> +    (license license:zlib)))
> +

Cheers