summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2022-01-03 23:10:25 +0000
committerLudovic Courtès <ludo@gnu.org>2022-01-08 23:27:42 +0100
commit1972cb0ea81c85b9bcada844267defaebdba7e99 (patch)
tree556125bd8c7b2e47a94e5db66949ee43536a62eb /gnu
parent98a7d68eb4a03f94fb2478d1cdf4b477e91d3ed9 (diff)
gnu: Add kid3.
* gnu/packages/kde-multimedia.scm (kid3): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-multimedia.scm64
1 files changed, 64 insertions, 0 deletions
diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 7537ac1ddd..e7a2b943e0 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,7 @@
(define-module (gnu packages kde-multimedia)
#:use-module (guix build-system qt)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -30,6 +32,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages cdrom)
+ #:use-module (gnu packages docbook)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages gnome)
@@ -40,10 +43,13 @@
#:use-module (gnu packages mp3)
#:use-module (gnu packages music)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages video)
#:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public audiocd-kio
@@ -282,6 +288,64 @@ Some of JuK's features include:
This package is part of the KDE multimedia module.")
(license license:gpl2+)))
+(define-public kid3
+ (package
+ (name "kid3")
+ (version "3.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/multimedia/kid3.git/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02r3cnwr05mcxjawzip3jl1lfijvzfbbafq3saipjjjp4kiq9bk4"))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "-DDOCBOOK_XSL_DIR="
+ #$(this-package-native-input "docbook-xsl")))
+ #:phases
+ `(modify-phases %standard-phases
+ ;; FIXME: Documentation build scripts use unix pipes, which will fail
+ ;; in the build environment.
+ (add-after 'unpack 'skip-docs
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("add_subdirectory\\(doc\\)") "")))))))
+ (native-inputs
+ (list docbook-xsl
+ extra-cmake-modules
+ ffmpeg
+ kdoctools
+ libxslt
+ python-wrapper
+ qttools))
+ (inputs
+ (list chromaprint
+ flac
+ id3lib
+ kconfig
+ kconfigwidgets
+ kcoreaddons
+ kio
+ kwidgetsaddons
+ kxmlgui
+ libvorbis
+ qtbase-5
+ qtdeclarative
+ qtmultimedia
+ readline
+ taglib
+ zlib))
+ (home-page "https://kid3.kde.org/")
+ (synopsis "Audio tag editor")
+ (description "Kid3 is an audio tag editor for KDE that supports a large
+variety of formats.")
+ (license license:gpl2+)))
+
(define-public k3b
(package
(name "k3b")