packages: music: Update kew to 3.0.0
parent
2d037af446
commit
62f161e666
|
@ -6,19 +6,27 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (gnu packages algebra)
|
#:use-module (gnu packages algebra)
|
||||||
|
#:use-module (gnu packages audio)
|
||||||
|
#:use-module (gnu packages commencement)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
|
#:use-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages image)
|
#:use-module (gnu packages image)
|
||||||
#:use-module (gnu packages image-viewers)
|
#:use-module (gnu packages image-viewers)
|
||||||
|
#:use-module (gnu packages mp3)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages pulseaudio)
|
||||||
|
#:use-module (gnu packages stb)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
#:use-module (gnu packages xiph)
|
#:use-module (gnu packages xiph)
|
||||||
#:use-module (radix packages golang))
|
#:use-module (radix packages audio)
|
||||||
|
#:use-module (radix packages golang)
|
||||||
|
#:use-module (radix packages stb))
|
||||||
|
|
||||||
(define-public kew
|
(define-public kew
|
||||||
(package
|
(package
|
||||||
(name "kew")
|
(name "kew")
|
||||||
(version "2.6.0")
|
(version "3.0.0")
|
||||||
(source
|
(source
|
||||||
(origin (method git-fetch)
|
(origin (method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -26,32 +34,54 @@
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0638rarv6fl1j9zvlwd2wxpk44p1i3fzm1qz4k2ipsg2hvp5q3fm"))))
|
(base32 "04b3dgmbmh2rm2jix8zqg2h5prrwk9a00bk39bnzxhq012f1whf3"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
#~(let ((chafa #$(this-package-native-input "chafa"))
|
||||||
(string-append "CC=" #$(cc-for-target))
|
(gcc-toolchain #$(this-package-native-input "gcc-toolchain"))
|
||||||
(string-append "PKG_CONFIG=" #$(pkg-config-for-target))
|
(gdk-pixbuf #$(this-package-native-input "gdk-pixbuf"))
|
||||||
(string-append "PKG_CONFIG_PATH="
|
(glib #$(this-package-native-input "glib"))
|
||||||
#$(this-package-input "glib") "/include/glib-2.0"
|
(opusfile #$(this-package-native-input "opusfile"))
|
||||||
":" #$(this-package-input "fftwf") "/include"))
|
(stb-image #$(this-package-native-input "stb-image"))
|
||||||
|
(stb-image-resize2 #$(this-package-native-input "stb-image-resize2")))
|
||||||
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
(string-append "CFLAGS="
|
||||||
|
"-fPIE "
|
||||||
|
"-I" chafa "/include/chafa "
|
||||||
|
"-I" chafa "/lib/chafa/include "
|
||||||
|
"-I" gcc-toolchain "/include "
|
||||||
|
"-I" gdk-pixbuf "/include/gdk-pixbuf-2.0 "
|
||||||
|
"-I" glib "/include/glib-2.0 "
|
||||||
|
"-I" glib "/lib/glib-2.0/include "
|
||||||
|
"-I" opusfile "/include/opus "
|
||||||
|
"-I" stb-image "/include "
|
||||||
|
"-I" stb-image-resize2 "/include ")))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
|
||||||
(inputs
|
|
||||||
(list chafa
|
(list chafa
|
||||||
ffmpeg
|
|
||||||
fftwf
|
fftwf
|
||||||
freeimage
|
gcc-toolchain
|
||||||
|
gdk-pixbuf
|
||||||
glib
|
glib
|
||||||
libvorbis
|
libogg
|
||||||
opus
|
libnotify
|
||||||
|
miniaudio
|
||||||
opusfile
|
opusfile
|
||||||
libnotify))
|
pkg-config
|
||||||
|
stb-image
|
||||||
|
stb-image-resize2
|
||||||
|
taglib))
|
||||||
|
(inputs
|
||||||
|
(list faad2
|
||||||
|
freeimage
|
||||||
|
libvorbis
|
||||||
|
opus))
|
||||||
|
(propagated-inputs
|
||||||
|
(list pulseaudio))
|
||||||
(synopsis "A command-line music player.")
|
(synopsis "A command-line music player.")
|
||||||
(description "A command-line music player.")
|
(description "A command-line music player.")
|
||||||
(home-page "https://github.com/ravachol/kew")
|
(home-page "https://github.com/ravachol/kew")
|
||||||
|
|
Loading…
Reference in New Issue