Archived
1
0
Fork 0

gnu: schismtracker: Update to 20221201.

* gnu/packages/music.scm (schismtracker): Update to 20221201.
[source]: Convert snippet to gexp.
[arguments]: Convert to gexp, add configure flags for FLAC and Wayland
support.
[inputs]: Remove libx11, libxext, and sdl; add flac and sdl2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Antero Mejr 2023-04-18 01:39:31 +00:00 committed by Christopher Baines
parent 54771a5b6a
commit a50f0dc5ca
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4141,7 +4141,7 @@ modes available for improved Amiga ProTracker 2/3 compatibility.")
(define-public schismtracker (define-public schismtracker
(package (package
(name "schismtracker") (name "schismtracker")
(version "20190805") (version "20221201")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -4150,26 +4150,27 @@ modes available for improved Amiga ProTracker 2/3 compatibility.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd")) "11yy5zrdfvnwzwdwmc3s3lx1ymwiyp1si5mmv4h9qxipd9j96ijp"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove use of __DATE__ and __TIME__ for reproducibility. ;; Remove use of __DATE__ and __TIME__ for reproducibility.
`(begin #~(substitute* "schism/version.c"
(substitute* "schism/version.c" (("Schism Tracker built %s %s.*$")
(("Schism Tracker built %s %s.*$") (string-append
(string-append "Schism Tracker version " ,version "\") ;"))) "Schism Tracker version " #$version "\") ;"))))))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (list #:configure-flags #~(list "--with-flac=yes" "--with-x11=no")
(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-before 'configure 'link-libm (add-before 'configure 'link-libm
(lambda _ (setenv "LIBS" "-lm") #t))))) (lambda _
(setenv "LIBS" "-lm"))))))
(native-inputs (native-inputs
(list autoconf automake python)) (list autoconf automake python))
(inputs (inputs
(list alsa-lib ; for asound dependency (list alsa-lib ; for asound dependency
libx11 libxext sdl)) flac
sdl2))
(home-page "https://schismtracker.org") (home-page "https://schismtracker.org")
(synopsis "Oldschool sample-based music composition tool") (synopsis "Oldschool sample-based music composition tool")
(description (description