[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: gnu: aria-maestosa: Use scons-build-system.
From: |
Danny Milosavljevic |
Subject: |
02/15: gnu: aria-maestosa: Use scons-build-system. |
Date: |
Mon, 22 Jan 2018 14:00:56 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 308124465249723f09ece2e461110eac12b1c49a
Author: Danny Milosavljevic <address@hidden>
Date: Mon Jan 22 16:13:12 2018 +0100
gnu: aria-maestosa: Use scons-build-system.
* gnu/packages/music.scm (aria-maestosa)[build-system]: Use
scons-build-system.
[native-inputs]: Remove scons-python2.
[arguments]: Use scons-python2.
<#:phases>: Remove custom phases "build" and "install".
Add custom phase "fix-directory-permissions".
---
gnu/packages/music.scm | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4afac7a..4a49a55 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -134,11 +134,11 @@
(sha256
(base32
"1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
- (build-system gnu-build-system)
+ (build-system scons-build-system)
(arguments
`(#:tests? #f ;no tests
+ #:scons ,scons-python2
#:phases
- ;; TODO: Add scons-build-system and use it here.
(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'scons-propagate-environment
@@ -161,26 +161,18 @@
" or \"score/\" in file"
" or \"Documentation/\" in file")))
#t))
- (replace 'build (lambda _ (zero? (system* "scons"))))
- (replace 'install
+ (add-after 'install 'fix-directory-permissions
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- (and
- (zero? (system* "scons"
- (string-append "prefix=" out)
- "install"))
- ;; Fix directory permissions
- (begin
- (chmod (string-append out "/share/Aria/Documentation") #o555)
- (chmod (string-append out "/share/Aria/score") #o555)
- #t))))))))
+ (chmod (string-append out "/share/Aria/Documentation") #o555)
+ (chmod (string-append out "/share/Aria/score") #o555)
+ #t))))))
(inputs
`(("wxwidgets" ,wxwidgets)
("glib" ,glib)
("alsa-lib" ,alsa-lib)))
(native-inputs
- `(("scons" ,scons-python2)
- ("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)))
(home-page "http://ariamaestosa.sourceforge.net/")
(synopsis "MIDI sequencer and editor")
(description
- branch master updated (28b0b21 -> 20e42d1), Danny Milosavljevic, 2018/01/22
- 01/15: gnu: aria-maestosa: Use scons-python2., Danny Milosavljevic, 2018/01/22
- 02/15: gnu: aria-maestosa: Use scons-build-system.,
Danny Milosavljevic <=
- 03/15: gnu: wxwidgets: Use webkitgtk-2.4., Danny Milosavljevic, 2018/01/22
- 05/15: gnu: python-relatorio: Update to 0.8.0., Danny Milosavljevic, 2018/01/22
- 04/15: gnu: python-magic: Update to 0.4.15., Danny Milosavljevic, 2018/01/22
- 07/15: gnu: tryton: Updated to 4.6.2., Danny Milosavljevic, 2018/01/22
- 08/15: gnu: Add python-phonenumbers., Danny Milosavljevic, 2018/01/22
- 06/15: gnu: trytond: Updated to 4.6.2., Danny Milosavljevic, 2018/01/22
- 10/15: gnu: Rename "trytond" to "python-trytond"., Danny Milosavljevic, 2018/01/22
- 15/15: gnu: aria-maestosa: Add scons-flags., Danny Milosavljevic, 2018/01/22
- 09/15: gnu: Add python-proteus., Danny Milosavljevic, 2018/01/22
- 13/15: gnu: Add python-trytond-party., Danny Milosavljevic, 2018/01/22