me
/
guix
Archived
1
0
Fork 0

gnu: yoshimi: Update to 1.7.0.1-0.bfcadc6 to fix build.

* gnu/packages/music.scm (yoshimi): Update to 1.7.0.1-0.bfcadc6.
[source]: Use GIT-FETCH for now.
master
Tobias Geerinckx-Rice 2020-05-27 15:07:50 +02:00
parent 4b01930f54
commit c889fbbf1f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 68 additions and 63 deletions

View File

@ -2237,61 +2237,66 @@ capabilities, custom envelopes, effects, etc.")
(license license:gpl2))) (license license:gpl2)))
(define-public yoshimi (define-public yoshimi
(package ;; Release 1.7.1 doesn't build with our version of LV2. Applying only
(name "yoshimi") ;; 86996cbb235f0fe138ae814a6758c2c8ba1c2a38 is not enough.
(version "1.7.0.1") (let ((commit "bfcadc6537dbcb301cd93346f21d36bcbffa36c7")
(source (origin (revision "0"))
(method url-fetch) (package
(uri (string-append "mirror://sourceforge/yoshimi/" (name "yoshimi")
(version-major+minor version) (version (git-version "1.7.1" revision commit))
"/yoshimi-" version ".tar.bz2")) (source
(sha256 (origin
(base32 (method git-fetch)
"1pkqrrr51vlxh96vy0c0rf5ijjvymys4brsw9rv1bdp1bb8izw6c")))) (uri (git-reference
(build-system cmake-build-system) (url "https://git.code.sf.net/p/yoshimi/code")
(arguments (commit commit)))
`(#:tests? #f ; there are no tests (sha256
#:configure-flags (base32 "0vhdxj7ky4iyq11r5wj9jwavjih4xvcn2djbrlmwpkdhrzpy6myl"))
(list (string-append "-DCMAKE_INSTALL_DATAROOTDIR=" (file-name (git-file-name name version))))
(assoc-ref %outputs "out") "/share")) (build-system cmake-build-system)
#:phases (arguments
(modify-phases %standard-phases `(#:tests? #f ; there are no tests
(add-before 'configure 'enter-dir #:configure-flags
(lambda _ (chdir "src") #t)) (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
;; Move SSE compiler optimization flags from generic target to (assoc-ref %outputs "out") "/share"))
;; athlon64 and core2 targets, because otherwise the build would fail #:phases
;; on non-Intel machines. (modify-phases %standard-phases
(add-after 'unpack 'remove-sse-flags-from-generic-target (add-before 'configure 'enter-dir
(lambda _ (lambda _ (chdir "src") #t))
(substitute* "src/CMakeLists.txt" ;; Move SSE compiler optimization flags from generic target to
(("-msse -msse2 -mfpmath=sse") "") ;; athlon64 and core2 targets, because otherwise the build would fail
(("-march=(athlon64|core2)" flag) ;; on non-Intel machines.
(string-append flag " -msse -msse2 -mfpmath=sse"))) (add-after 'unpack 'remove-sse-flags-from-generic-target
#t))))) (lambda _
(inputs (substitute* "src/CMakeLists.txt"
`(("boost" ,boost) (("-msse -msse2 -mfpmath=sse") "")
("fftwf" ,fftwf) (("-march=(athlon64|core2)" flag)
("alsa-lib" ,alsa-lib) (string-append flag " -msse -msse2 -mfpmath=sse")))
("jack" ,jack-1) #t)))))
("fontconfig" ,fontconfig) (inputs
("minixml" ,minixml) `(("boost" ,boost)
("mesa" ,mesa) ("fftwf" ,fftwf)
("fltk" ,fltk) ("alsa-lib" ,alsa-lib)
("lv2" ,lv2) ("jack" ,jack-1)
("readline" ,readline) ("fontconfig" ,fontconfig)
("ncurses" ,ncurses) ("minixml" ,minixml)
("cairo" ,cairo) ("mesa" ,mesa)
("zlib" ,zlib))) ("fltk" ,fltk)
(native-inputs ("lv2" ,lv2)
`(("pkg-config" ,pkg-config))) ("readline" ,readline)
(home-page "http://yoshimi.sourceforge.net/") ("ncurses" ,ncurses)
(synopsis "Multi-paradigm software synthesizer") ("cairo" ,cairo)
(description ("zlib" ,zlib)))
"Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software (native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "http://yoshimi.sourceforge.net/")
(synopsis "Multi-paradigm software synthesizer")
(description
"Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
synthesizer. It offers three synthesizer engines, multitimbral and polyphonic synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
improves on support for JACK features, such as JACK MIDI.") improves on support for JACK features, such as JACK MIDI.")
(license license:gpl2))) (license license:gpl2))))
(define-public libgig (define-public libgig
(package (package
@ -2961,7 +2966,7 @@ websites such as Libre.fm.")
(home-page "https://github.com/yask123/Instant-Music-Downloader") (home-page "https://github.com/yask123/Instant-Music-Downloader")
(synopsis "Command-line program to download a song from YouTube") (synopsis "Command-line program to download a song from YouTube")
(description "InstantMusic downloads a song from YouTube in MP3 format. (description "InstantMusic downloads a song from YouTube in MP3 format.
Songs can be searched by artist, name or even by a part of the song text.") Songs can be searched by artist, name or even by a part of the song text.")
(license license:expat)))) (license license:expat))))
(define-public beets (define-public beets
@ -3010,9 +3015,9 @@ Songs can be searched by artist, name or even by a part of the song text.")
(home-page "https://beets.io") (home-page "https://beets.io")
(synopsis "Music organizer") (synopsis "Music organizer")
(description "The purpose of beets is to get your music collection right (description "The purpose of beets is to get your music collection right
once and for all. It catalogs your collection, automatically improving its once and for all. It catalogs your collection, automatically improving its
metadata as it goes using the MusicBrainz database. Then it provides a variety metadata as it goes using the MusicBrainz database. Then it provides a variety
of tools for manipulating and accessing your music.") of tools for manipulating and accessing your music.")
(license license:expat))) (license license:expat)))
(define-public beets-bandcamp (define-public beets-bandcamp
@ -3038,8 +3043,8 @@ of tools for manipulating and accessing your music.")
(synopsis "Bandcamp plugin for beets") (synopsis "Bandcamp plugin for beets")
(description (description
"This plugin for beets automatically obtains tag data from @uref{Bandcamp, "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
https://bandcamp.com/}. It's also capable of getting song lyrics and album art https://bandcamp.com/}. It's also capable of getting song lyrics and album art
using the beets FetchArt plugin.") using the beets FetchArt plugin.")
(license license:gpl2))) (license license:gpl2)))
(define-public milkytracker (define-public milkytracker
@ -3080,9 +3085,9 @@ using the beets FetchArt plugin.")
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
(synopsis "Music tracker for working with .MOD/.XM module files") (synopsis "Music tracker for working with .MOD/.XM module files")
(description "MilkyTracker is a music application for creating .MOD and .XM (description "MilkyTracker is a music application for creating .MOD and .XM
module files. It attempts to recreate the module replay and user experience of module files. It attempts to recreate the module replay and user experience of
the popular DOS program Fasttracker II, with special playback modes available the popular DOS program Fasttracker II, with special playback modes available
for improved Amiga ProTracker 2/3 compatibility.") for improved Amiga ProTracker 2/3 compatibility.")
(home-page "https://milkytracker.titandemo.org/") (home-page "https://milkytracker.titandemo.org/")
;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later. ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
(license (list license:bsd-3 license:gpl3+)))) (license (list license:bsd-3 license:gpl3+))))
@ -3106,8 +3111,8 @@ for improved Amiga ProTracker 2/3 compatibility.")
`(begin `(begin
(substitute* "schism/version.c" (substitute* "schism/version.c"
(("Schism Tracker built %s %s.*$") (("Schism Tracker built %s %s.*$")
(string-append "Schism Tracker version " ,version "\");"))) (string-append "Schism Tracker version " ,version "\") ;")))
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases