diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-02-28 22:38:31 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-02-28 23:17:22 +0100 |
commit | 3ad3006c23b594cb47addbf175243f7f493a1922 (patch) | |
tree | 2f1ab8c914b9b788447efbd11d2d6f9d7833191d /gnu/packages | |
parent | bf542dea072ef7c6fbc49f45ee27c99707bf5818 (diff) | |
download | guix-3ad3006c23b594cb47addbf175243f7f493a1922.tar guix-3ad3006c23b594cb47addbf175243f7f493a1922.tar.gz |
gnu: Add sugar-jukebox-activity.
* gnu/packages/sugar.scm (sugar-jukebox-activity): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/sugar.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index 589da64458..64d01bbd90 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm @@ -457,6 +457,53 @@ the Sugar Toolkit.") to provide users with easy access to documentation and manuals.") (license license:gpl3+)))) +(define-public sugar-jukebox-activity + (let ((commit "e11f40c94c1c6302d3e36ddf4dc8101732ffb9d9") + (revision "1")) + (package + (name "sugar-jukebox-activity") + (version (git-version "36" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sugarlabs/jukebox-activity") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gm1cj4vrwwdriyshd27w6vc0palwpg9pnnab5axinrnkzczyk1v")))) + (build-system python-build-system) + (arguments + (list + #:test-target "check" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-launcher + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "activity/activity.info" + (("exec = sugar-activity3") + (string-append "exec = " + (search-input-file inputs "/bin/sugar-activity3")))))) + (replace 'install + (lambda _ + (setenv "HOME" "/tmp") + (invoke "python" "setup.py" "install" + (string-append "--prefix=" #$output))))))) + ;; All these libraries are accessed via gobject introspection. + (propagated-inputs + (list gtk+ + gstreamer + gst-plugins-base + sugar-toolkit-gtk3)) + (inputs + (list gettext-minimal)) + (home-page "https://help.sugarlabs.org/jukebox.html") + (synopsis "Media player for the Sugar learning environment") + (description "Jukebox is the media player to play different kinds of +audio and video files including online streams. It also supports playlists +like @file{.m3u} and @file{.pls}.") + (license license:gpl2+)))) + (define-public sugar-typing-turtle-activity (package (name "sugar-typing-turtle-activity") |