gnu: libkmahjongg: Update to 24.05.2.
* gnu/packages/kde-games.scm (libkmahjongg): Update to 24.05.2. [inputs]: Remove qtbase-5 and qtsvg-5; add qtsvg. [arguments]: Set #:qtbase to qtbase. <#:phases>: Adjust patch-tileset-dir phase. Change-Id: I8e665fcd61274f1f3f63ed302640a8c90e99f3cdmaster
parent
20cedcc307
commit
19ba432c4f
|
@ -177,17 +177,18 @@ This package is part of the KDE games module.")
|
||||||
(define-public libkmahjongg
|
(define-public libkmahjongg
|
||||||
(package
|
(package
|
||||||
(name "libkmahjongg")
|
(name "libkmahjongg")
|
||||||
(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/libkmahjongg-" version ".tar.xz"))
|
version "/src/libkmahjongg-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1a0c0q34h5yxwx76y6934ibn6hm1ip1hc2xvl11q1kaazq0alca3"))))
|
(base32 "1bjsrnkwkv4w94q5q4nhfy11jfrvxsl2v2kjv6dcm47z0k9y9v63"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:qtbase qtbase
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-tileset-dir
|
(add-after 'unpack 'patch-tileset-dir
|
||||||
|
@ -195,13 +196,13 @@ This package is part of the KDE games module.")
|
||||||
;; Add "$out/share" to XDG_DATA_DIRS so that the default tileset
|
;; Add "$out/share" to XDG_DATA_DIRS so that the default tileset
|
||||||
;; is always available.
|
;; is always available.
|
||||||
(substitute* "src/kmahjonggtileset.cpp"
|
(substitute* "src/kmahjonggtileset.cpp"
|
||||||
(("_inited = true;")
|
(("d->buildElementIdTable\\(\\);")
|
||||||
(format #f "QByteArray x = qgetenv(\"XDG_DATA_DIRS\");
|
(format #f "QByteArray x = qgetenv(\"XDG_DATA_DIRS\");
|
||||||
if (!x.isEmpty()) {
|
if (!x.isEmpty()) {
|
||||||
QString datadirs = QString::fromLocal8Bit(x) + QLatin1String(\":~a\");
|
QString datadirs = QString::fromLocal8Bit(x) + QLatin1String(\":~a\");
|
||||||
qputenv(\"XDG_DATA_DIRS\", datadirs.toLocal8Bit());
|
qputenv(\"XDG_DATA_DIRS\", datadirs.toLocal8Bit());
|
||||||
}
|
}
|
||||||
_inited = true;"
|
d->buildElementIdTable();"
|
||||||
(string-append
|
(string-append
|
||||||
(assoc-ref outputs "out") "/share")))))))))
|
(assoc-ref outputs "out") "/share")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
@ -209,14 +210,12 @@ _inited = true;"
|
||||||
(inputs
|
(inputs
|
||||||
(list kauth
|
(list kauth
|
||||||
kcompletion
|
kcompletion
|
||||||
;("kconfig" ,kconfig)
|
|
||||||
kcodecs
|
kcodecs
|
||||||
kconfigwidgets
|
kconfigwidgets
|
||||||
kcoreaddons
|
kcoreaddons
|
||||||
ki18n
|
ki18n
|
||||||
kwidgetsaddons
|
kwidgetsaddons
|
||||||
qtbase-5
|
qtsvg))
|
||||||
qtsvg-5))
|
|
||||||
(home-page "https://games.kde.org/")
|
(home-page "https://games.kde.org/")
|
||||||
(synopsis "Shared library for kmahjongg and kshisen")
|
(synopsis "Shared library for kmahjongg and kshisen")
|
||||||
(description "Shared library and common files for kmahjongg, kshisen and
|
(description "Shared library and common files for kmahjongg, kshisen and
|
||||||
|
|
Reference in New Issue