mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: clementine: Update to 1.4.1-48.12e851937.
Also add support for visualisation. * gnu/packages/music.scm (clementine): Update to 1.4.1-48.12e851937. [version]: Change versioning scheme to use upstream revisions. [#:configure-flags]: Add “-DENABLE_VISUALISATIONS=ON”. Change-Id: Icce03534674c80e0078adead9bc7b75886da4582 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
ff94136614
commit
afaaee573d
1 changed files with 113 additions and 109 deletions
|
@ -497,18 +497,22 @@ enables iPod support in music players such as Clementine.")
|
|||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public clementine
|
||||
;; Clementine has one automatic release per commit at
|
||||
;; <https://github.com/clementine-player/Clementine/releases>.
|
||||
(let ((commit "12e8519370e4e7af2daca280cd31f039289a6450")
|
||||
(revision "48"))
|
||||
(package
|
||||
(name "clementine")
|
||||
(version "1.4.0rc1-450-g2725ef99d")
|
||||
(version (git-version "1.4.1" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/clementine-player/Clementine")
|
||||
(commit version)))
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
|
||||
"06sl9ywrpkmwdr3v75q0x6j111xgb4w2d1fcykmfwp26i77hvh1g"))
|
||||
(modules '((guix build utils)
|
||||
(ice-9 regex)))
|
||||
(snippet
|
||||
|
@ -522,11 +526,13 @@ enables iPod support in music players such as Clementine.")
|
|||
;; - "qtsingleapplication"
|
||||
;; - "qocoa"
|
||||
;; - "qtiocompressor"
|
||||
;; - "projectm" Uses an old version with custom patches.
|
||||
(let ((bundled '("qsqlite"
|
||||
"qtsingleapplication"
|
||||
"qxt"
|
||||
"qocoa"
|
||||
"qtiocompressor")))
|
||||
"qtiocompressor"
|
||||
"projectm")))
|
||||
(if (not
|
||||
(string-match
|
||||
(string-append ".?*(" (string-join bundled "|") ")")
|
||||
|
@ -540,16 +546,13 @@ enables iPod support in music players such as Clementine.")
|
|||
(arguments
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list ;; Requires unpackaged "projectm"
|
||||
"-DENABLE_VISUALISATIONS=OFF"
|
||||
#~(list
|
||||
"-DENABLE_VISUALISATIONS=ON"
|
||||
;; Otherwise it may try to download a non-free library at run-time.
|
||||
;; TODO In an origin snippet, remove the code that performs the
|
||||
;; download.
|
||||
"-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
|
||||
;; Clementine checks that the taglib version is higher than 1.11,
|
||||
;; because of https://github.com/taglib/taglib/issues/864. Remove
|
||||
;; this flag when 1.12 is released.
|
||||
"-DUSE_SYSTEM_TAGLIB=TRUE")
|
||||
(string-append "-DFORCE_GIT_REVISION=" #$commit))
|
||||
#:modules '((guix build cmake-build-system)
|
||||
((guix build gnu-build-system) #:prefix gnu:)
|
||||
(guix build utils))
|
||||
|
@ -587,6 +590,7 @@ enables iPod support in music players such as Clementine.")
|
|||
libgpod
|
||||
libmtp
|
||||
libxml2
|
||||
glew
|
||||
protobuf
|
||||
pulseaudio
|
||||
qtbase-5
|
||||
|
@ -604,10 +608,10 @@ playing your music.")
|
|||
license:gpl3+
|
||||
;; qxt is under CPL1.0.
|
||||
license:cpl1.0
|
||||
;; qsqlite and qtsingleapplication are under LGPL2.1+.
|
||||
;; qsqlite, libprojectm and qtsingleapplication are under LGPL2.1+.
|
||||
license:lgpl2.1+
|
||||
;; qocoa is under MIT and CC by-sa for the icons.
|
||||
license:cc-by-sa3.0))))
|
||||
license:cc-by-sa3.0)))))
|
||||
|
||||
(define-public ctrlr
|
||||
;; The latest release from 2021 does not have a build system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue