| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 |
|
| 19 |
|
| 20 | (define-module (gnu packages decker)
|
| 21 | #:use-module ((guix licenses) #:prefix license:)
|
| 22 | #:use-module (gnu packages sdl)
|
| 23 | #:use-module (gnu packages vim)
|
| 24 | #:use-module (guix build-system gnu)
|
| 25 | #:use-module (guix gexp)
|
| 26 | #:use-module (guix utils)
|
| 27 | #:use-module (guix git-download)
|
| 28 | #:use-module (guix packages))
|
| 29 |
|
| 30 | (define-public decker
|
| 31 | (package
|
| 32 | (name "decker")
|
| 33 | (version "1.49")
|
| 34 | (source
|
| 35 | (origin
|
| 36 | (method git-fetch)
|
| 37 | (uri (git-reference
|
| 38 | (url "https://github.com/JohnEarnest/Decker")
|
| 39 | (commit (string-append "v" version))))
|
| 40 | (file-name (git-file-name name version))
|
| 41 | (sha256
|
| 42 | (base32 "0hwi62g5wg7zxj98j3civz42za133jq3mz8c0mapqnkn0xnb0qa8"))))
|
| 43 | (build-system gnu-build-system)
|
| 44 | (arguments
|
| 45 | (list
|
| 46 | #:test-target "test"
|
| 47 | #:make-flags #~(list (string-append "PREFIX=" #$output)
|
| 48 | (string-append "COMPILER=" #$(cc-for-target)))
|
| 49 | #:phases #~(modify-phases %standard-phases
|
| 50 | (delete 'configure) |
| 51 | (replace 'build
|
| 52 | (lambda* (#:key parallel-build? #:allow-other-keys)
|
| 53 | (let ((job-count (if parallel-build?
|
| 54 | (parallel-job-count)
|
| 55 | 1)))
|
| 56 | (invoke "make" "lilt" "decker"
|
| 57 | "-j" (number->string job-count))))))))
|
| 58 | (native-inputs (list xxd))
|
| 59 | (inputs (list (sdl-union (list sdl2-image sdl2))))
|
| 60 | (home-page "http://beyondloom.com/decker/")
|
| 61 | (synopsis "Multimedia sketchpad")
|
| 62 | (description
|
| 63 | "Decker is a multimedia platform for creating and sharing interactive
|
| 64 | documents, with sound, images, hypertext, and scripted behavior.")
|
| 65 | (license license:expat)))
|