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+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public clementine
|
(define-public clementine
|
||||||
|
;; Clementine has one automatic release per commit at
|
||||||
|
;; <https://github.com/clementine-player/Clementine/releases>.
|
||||||
|
(let ((commit "12e8519370e4e7af2daca280cd31f039289a6450")
|
||||||
|
(revision "48"))
|
||||||
(package
|
(package
|
||||||
(name "clementine")
|
(name "clementine")
|
||||||
(version "1.4.0rc1-450-g2725ef99d")
|
(version (git-version "1.4.1" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/clementine-player/Clementine")
|
(url "https://github.com/clementine-player/Clementine")
|
||||||
(commit version)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
|
"06sl9ywrpkmwdr3v75q0x6j111xgb4w2d1fcykmfwp26i77hvh1g"))
|
||||||
(modules '((guix build utils)
|
(modules '((guix build utils)
|
||||||
(ice-9 regex)))
|
(ice-9 regex)))
|
||||||
(snippet
|
(snippet
|
||||||
|
@ -522,11 +526,13 @@ enables iPod support in music players such as Clementine.")
|
||||||
;; - "qtsingleapplication"
|
;; - "qtsingleapplication"
|
||||||
;; - "qocoa"
|
;; - "qocoa"
|
||||||
;; - "qtiocompressor"
|
;; - "qtiocompressor"
|
||||||
|
;; - "projectm" Uses an old version with custom patches.
|
||||||
(let ((bundled '("qsqlite"
|
(let ((bundled '("qsqlite"
|
||||||
"qtsingleapplication"
|
"qtsingleapplication"
|
||||||
"qxt"
|
"qxt"
|
||||||
"qocoa"
|
"qocoa"
|
||||||
"qtiocompressor")))
|
"qtiocompressor"
|
||||||
|
"projectm")))
|
||||||
(if (not
|
(if (not
|
||||||
(string-match
|
(string-match
|
||||||
(string-append ".?*(" (string-join bundled "|") ")")
|
(string-append ".?*(" (string-join bundled "|") ")")
|
||||||
|
@ -540,16 +546,13 @@ enables iPod support in music players such as Clementine.")
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list ;; Requires unpackaged "projectm"
|
#~(list
|
||||||
"-DENABLE_VISUALISATIONS=OFF"
|
"-DENABLE_VISUALISATIONS=ON"
|
||||||
;; Otherwise it may try to download a non-free library at run-time.
|
;; Otherwise it may try to download a non-free library at run-time.
|
||||||
;; TODO In an origin snippet, remove the code that performs the
|
;; TODO In an origin snippet, remove the code that performs the
|
||||||
;; download.
|
;; download.
|
||||||
"-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
|
"-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
|
||||||
;; Clementine checks that the taglib version is higher than 1.11,
|
(string-append "-DFORCE_GIT_REVISION=" #$commit))
|
||||||
;; because of https://github.com/taglib/taglib/issues/864. Remove
|
|
||||||
;; this flag when 1.12 is released.
|
|
||||||
"-DUSE_SYSTEM_TAGLIB=TRUE")
|
|
||||||
#:modules '((guix build cmake-build-system)
|
#:modules '((guix build cmake-build-system)
|
||||||
((guix build gnu-build-system) #:prefix gnu:)
|
((guix build gnu-build-system) #:prefix gnu:)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
|
@ -587,6 +590,7 @@ enables iPod support in music players such as Clementine.")
|
||||||
libgpod
|
libgpod
|
||||||
libmtp
|
libmtp
|
||||||
libxml2
|
libxml2
|
||||||
|
glew
|
||||||
protobuf
|
protobuf
|
||||||
pulseaudio
|
pulseaudio
|
||||||
qtbase-5
|
qtbase-5
|
||||||
|
@ -604,10 +608,10 @@ playing your music.")
|
||||||
license:gpl3+
|
license:gpl3+
|
||||||
;; qxt is under CPL1.0.
|
;; qxt is under CPL1.0.
|
||||||
license:cpl1.0
|
license:cpl1.0
|
||||||
;; qsqlite and qtsingleapplication are under LGPL2.1+.
|
;; qsqlite, libprojectm and qtsingleapplication are under LGPL2.1+.
|
||||||
license:lgpl2.1+
|
license:lgpl2.1+
|
||||||
;; qocoa is under MIT and CC by-sa for the icons.
|
;; qocoa is under MIT and CC by-sa for the icons.
|
||||||
license:cc-by-sa3.0))))
|
license:cc-by-sa3.0)))))
|
||||||
|
|
||||||
(define-public ctrlr
|
(define-public ctrlr
|
||||||
;; The latest release from 2021 does not have a build system.
|
;; The latest release from 2021 does not have a build system.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue