Archived
1
0
Fork 0

gnu: kajongg: Update to 24.05.2.

* gnu/packages/kde-games.scm (kajongg): Update to 24.05.2.
[inputs]: Remove qtbase-5 and qtsvg-5; add qtsvg.
[arguments]: Set #:qtbase to qtbase; Use Gexps.

Change-Id: Ib7ee51cc63f6bbf749ee34b23992ed46aa4fe27b
This commit is contained in:
Zheng Junjie 2024-07-10 16:35:41 +08:00
parent 2d524ca950
commit 860e819b91
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -301,18 +301,20 @@ This package is part of the KDE games module.")
(define-public kajongg (define-public kajongg
(package (package
(name "kajongg") (name "kajongg")
(version "23.04.3") (version "24.05.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" (uri (string-append "mirror://kde/stable/release-service/"
version "/src/kajongg-" version ".tar.xz")) version "/src/kajongg-" version ".tar.xz"))
(sha256 (sha256
(base32 "16v87x0qikfk9jpp8dfxnb7mnjzzi0qlkp5lbn2xypkfhqaz99fi")))) (base32 "0xwnin738zj6kh607asmwdq7n6jva9wk240c9rc53ja98nw4crpv"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/mjresource.py" (substitute* "src/mjresource.py"
@ -338,7 +340,6 @@ This package is part of the KDE games module.")
(string-append out "/bin/kajonggserver"))))))))) (string-append out "/bin/kajonggserver")))))))))
(native-inputs (native-inputs
(list extra-cmake-modules (list extra-cmake-modules
;("perl" ,perl)
kdoctools)) kdoctools))
(inputs (inputs
(list bash-minimal (list bash-minimal
@ -352,8 +353,7 @@ This package is part of the KDE games module.")
python-twisted python-twisted
python-qtpy python-qtpy
python-zope-interface python-zope-interface
qtbase-5 qtsvg
qtsvg-5
vorbis-tools)) vorbis-tools))
(home-page "https://apps.kde.org/kajongg/") (home-page "https://apps.kde.org/kajongg/")
(synopsis "Classical Mah Jongg game for 4 players") (synopsis "Classical Mah Jongg game for 4 players")