~ruther/guix-local

33079c2b47914ba92cd18114fb68d5f12950c822 — Sharlatan Hellseher 11 months ago 17cdf44
gnu: goxel: Update to 0.15.1-0.66d36e0.

Fixes guix/guix#720

* gnu/packages/graphics.scm (goxel): Update to 0.15.1-0.66d36e0. Use
G-expressions.
[source]: Use the latest commit instead of the tag to fix build with GCC
14.
[inputs]: Remove scons; add libpng. Remove lables.
[native-inputs]: Add scons, it's a build time dependency.

Change-Id: I0da375f0e2b0f0d116550a68cfbdcb86070c12ef
1 files changed, 38 insertions(+), 29 deletions(-)

M gnu/packages/graphics.scm
M gnu/packages/graphics.scm => gnu/packages/graphics.scm +38 -29
@@ 759,37 759,46 @@ application can be customized via its API for Python scripting.")
    (license license:gpl2+)))

(define-public goxel
  (package
    (name "goxel")
    (version "0.10.8")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/guillaumechereau/goxel")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qvz566awhp03yp696fn3c80hnky41fpbi4sqg4lx69ibx4zvl9k"))))
    (build-system gnu-build-system)
    (arguments
     '(#:tests? #f
       #:phases (modify-phases %standard-phases (delete 'configure))
       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
                          "release")))
    (native-inputs
     (list pkg-config))
    (inputs
     `(("gtk3" ,gtk+)
       ("glfw" ,glfw)
       ("scons" ,scons)))
    (home-page "https://goxel.xyz/")
    (synopsis "Voxel editor")
    (description
     "Goxel is a voxel editor that features unlimited scene size, unlimited
  ;; The latest commit is used as it builds with GCC 14.
  (let ((commit   "66d36e0c3511479ceaac8cbf9f5c7c3e619b30d3")
        (revision "0"))
    (package
      (name "goxel")
      (version (git-version "0.15.1" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/guillaumechereau/goxel")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "18xbfkn3xh5y88iahrykyqh5nykkx7y468f450l5gdiagwpgz7g2"))))
      (build-system gnu-build-system)
      (arguments
       (list
        #:tests? #f
        #:make-flags
        #~(list (string-append "PREFIX=" #$output)
                "release")
        #:phases
        #~(modify-phases %standard-phases
            ;; No configure provided
            (delete 'configure))))
      (native-inputs
       (list pkg-config
             scons))
      (inputs
       (list gtk+
             glfw
             libpng))
      (home-page "https://goxel.xyz/")
      (synopsis "Voxel editor")
      (description
       "Goxel is a voxel editor that features unlimited scene size, unlimited
history buffer, 24-bit RGB colors, layers, procedural rendering, ray tracing,
and export to various formats including the format used by Magicavoxel.")
    (license license:gpl3+)))
      (license license:gpl3+))))

(define-public assimp
  (package