gnu: kajongg: Hardcode paths to 'ogg123' and 'python3'.
* gnu/packages/kde-games.scm (kajongg)[inputs]: Add vorbis-tools. [arguments]<#:phases>: Hardcode paths to 'ogg123' and 'python3'.
This commit is contained in:
parent
0a4490e4fd
commit
1e4085670a
|
@ -37,7 +37,8 @@ (define-module (gnu packages kde-games)
|
|||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-web)
|
||||
#:use-module (gnu packages python-xyz)
|
||||
#:use-module (gnu packages qt))
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages xiph))
|
||||
|
||||
(define-public ktuberling
|
||||
(package
|
||||
|
@ -300,7 +301,15 @@ (define-public kajongg
|
|||
(substitute* "src/mjresource.py"
|
||||
(("'share', 'kmahjongglib'" all)
|
||||
(string-append "'" (assoc-ref inputs "libkmahjongg")
|
||||
"/share', 'kmahjongglib'")))))
|
||||
"/share', 'kmahjongglib'")))
|
||||
(substitute* "src/sound.py"
|
||||
(("oggBinary = 'ogg123'")
|
||||
(format #f "oggBinary = '~a'"
|
||||
(search-input-file inputs "bin/ogg123"))))
|
||||
(substitute* "src/common.py"
|
||||
(("interpreterName = 'python3'")
|
||||
(format #f "interpreterName = '~a'"
|
||||
(search-input-file inputs "bin/python3"))))))
|
||||
(add-after 'qt-wrap 'wrap
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
@ -327,7 +336,8 @@ (define-public kajongg
|
|||
python-qtpy
|
||||
python-zope-interface
|
||||
qtbase-5
|
||||
qtsvg-5))
|
||||
qtsvg-5
|
||||
vorbis-tools))
|
||||
(home-page "https://apps.kde.org/kajongg/")
|
||||
(synopsis "Classical Mah Jongg game for 4 players")
|
||||
(description "Kajongg is the ancient Chinese board game for 4 players.
|
||||
|
|
Loading…
Reference in a new issue