* [bug#60336] [PATCH] gnu: Add glaxnimate.
@ 2022-12-26 12:52 Vinicius Monego
0 siblings, 0 replies; only message in thread
From: Vinicius Monego @ 2022-12-26 12:52 UTC (permalink / raw)
To: 60336; +Cc: Vinicius Monego
* gnu/packages/animation.scm (glaxnimate): New variable.
---
gnu/packages/animation.scm | 56 ++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 9901e34b5f..a48e518d57 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -23,16 +23,19 @@
(define-module (gnu packages animation)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
+ #:use-module (guix build-system qt)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages assembly)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages backup)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -48,6 +51,7 @@ (define-module (gnu packages animation)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages jemalloc)
+ #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages mp3)
#:use-module (gnu packages networking)
#:use-module (gnu packages pcre)
@@ -55,6 +59,7 @@ (define-module (gnu packages animation)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages sdl)
#:use-module (gnu packages tls)
@@ -391,6 +396,58 @@ (define-public lightspark
license:bsd-2 ;jxrlib
license:expat)))) ;pugixml, PerlinNoise
+(define-public glaxnimate
+ (package
+ (name "glaxnimate")
+ (version "0.5.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/mattbas/glaxnimate")
+ (commit version)
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b4lxlw6xa69np1wpi5aq5547fq05c9aa64m8547apnpxdqa930v"))
+ (modules '((guix build utils)))
+ ;; Some of the submodules are developed in-house. Delete those
+ ;; that we have packaged.
+ ;; TODO: Try to unbundle pybind11.
+ (snippet '(begin
+ (delete-file-recursively "data/icons/breeze-icons")
+ (delete-file-recursively "external/potrace")))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Glaxnimate copies breeze icons from a submodule. Use icons from
+ ;; our package instead.
+ (add-after 'unpack 'use-system-icons
+ (lambda _
+ (mkdir "data/icons/breeze-icons")
+ (symlink (string-append #$(this-package-input "breeze-icons")
+ "/share/icons/breeze")
+ "data/icons/breeze-icons/icons")
+ (symlink (string-append #$(this-package-input "breeze-icons")
+ "/share/icons/breeze-dark")
+ "data/icons/breeze-icons/icons-dark"))))))
+ (native-inputs (list qttools-5))
+ (inputs (list breeze-icons
+ ffmpeg
+ libarchive
+ potrace
+ python
+ qtbase-5
+ qtsvg-5
+ zlib))
+ (home-page "https://glaxnimate.mattbas.org/")
+ (synopsis "Vector graphics animation program")
+ (description "Glaxnimate is a vector graphics animation program.")
+ (license license:gpl3+)))
+
(define-public papagayo
(let ((commit "e143684b30e59fe4a554f965cb655d23cbe93ee7")
(revision "1"))
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-26 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 12:52 [bug#60336] [PATCH] gnu: Add glaxnimate Vinicius Monego
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.