gnu: milkytracker: Update to 1.0.0.
* gnu/packages/music.scm (milkytracker): Update to 1.0.0. [source]: Change uri; add file-name; add snippet to remove non-FSDG compliant data. [build-system]: Change from gnu-build-system to cmake-build-system. [arguments]: Remove #:make-flags; disable tests (which are no longer present). [inputs]: Change sdl to sdl2.
This commit is contained in:
parent
314120f2be
commit
e3b2e943b8
|
@ -5,7 +5,7 @@
|
||||||
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
||||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
|
||||||
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
|
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
|
||||||
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
||||||
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
||||||
|
@ -2131,21 +2131,29 @@ of tools for manipulating and accessing your music.")
|
||||||
(define-public milkytracker
|
(define-public milkytracker
|
||||||
(package
|
(package
|
||||||
(name "milkytracker")
|
(name "milkytracker")
|
||||||
(version "0.90.86")
|
(version "1.0.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://milkytracker.titandemo.org/files/"
|
(uri (string-append "https://github.com/milkytracker/"
|
||||||
name "-" version ".tar.bz2"))
|
"MilkyTracker/archive/v" version ".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1v9vp8vi24lkagfpr92c128whvakwgrm9pq2zf6ijpl5sh7014zb"))))
|
"1p1jd4h274jvcvl05l01v9bj19zhq4sjag92v1zawyi93ib85abz"))
|
||||||
(build-system gnu-build-system)
|
(modules '((guix build utils)))
|
||||||
|
;; Remove non-FSDG compliant sample songs.
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(delete-file-recursively "resources/music")
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("add_subdirectory\\(resources/music\\)") ""))))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags '("CXXFLAGS=-lasound")))
|
'(#:tests? #f)) ; no check target
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("jack" ,jack-1)
|
("jack" ,jack-1)
|
||||||
("sdl" ,sdl)
|
("sdl" ,sdl2)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
|
Loading…
Reference in New Issue