gnu: Add sugar-jukebox-activity.
* gnu/packages/sugar.scm (sugar-jukebox-activity): New variable.
This commit is contained in:
parent
bf542dea07
commit
3ad3006c23
1 changed files with 47 additions and 0 deletions
|
@ -457,6 +457,53 @@ (define-public sugar-help-activity
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue