diff options
Diffstat (limited to 'pkgs/applications/audio/kid3')
-rw-r--r-- | pkgs/applications/audio/kid3/default.nix | 109 |
1 files changed, 73 insertions, 36 deletions
diff --git a/pkgs/applications/audio/kid3/default.nix b/pkgs/applications/audio/kid3/default.nix index 589354cf234..7f8015e7143 100644 --- a/pkgs/applications/audio/kid3/default.nix +++ b/pkgs/applications/audio/kid3/default.nix @@ -1,27 +1,67 @@ -{ stdenv, fetchurl -, pkgconfig, cmake, python, ffmpeg_3, phonon, automoc4 -, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt -, id3lib, taglib, mp4v2, flac, libogg, libvorbis -, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols +{ lib +, stdenv +, fetchurl +, automoc4 +, chromaprint +, cmake +, docbook_xml_dtd_45 +, docbook_xsl +, ffmpeg +, flac +, id3lib +, libogg +, libvorbis +, libxslt +, mp4v2 +, phonon +, pkg-config +, python3 +, qtbase +, qtmultimedia +, qtquickcontrols +, qttools +, readline +, taglib , wrapQtAppsHook +, zlib }: stdenv.mkDerivation rec { - pname = "kid3"; - version = "3.8.3"; + version = "3.8.6"; src = fetchurl { - url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz"; - sha256 = "0i0c4bmsm36jj1v535kil47ig0ig70ykrzcw2f56spr25xns06ka"; + url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz"; + hash = "sha256-R4gAWlCw8RezhYbw1XDo+wdp797IbLoM3wqHwr+ul6k="; }; - nativeBuildInputs = [ wrapQtAppsHook ]; - buildInputs = with stdenv.lib; - [ pkgconfig cmake python ffmpeg_3 phonon automoc4 - chromaprint docbook_xml_dtd_45 docbook_xsl libxslt - id3lib taglib mp4v2 flac libogg libvorbis zlib readline - qtbase qttools qtmultimedia qtquickcontrols ]; + nativeBuildInputs = [ + cmake + docbook_xml_dtd_45 + docbook_xsl + pkg-config + python3 + wrapQtAppsHook + ]; + buildInputs = [ + automoc4 + chromaprint + ffmpeg + flac + id3lib + libogg + libvorbis + libxslt + mp4v2 + phonon + qtbase + qtmultimedia + qtquickcontrols + qttools + readline + taglib + zlib + ]; cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ]; NIX_LDFLAGS = "-lm -lpthread"; @@ -30,41 +70,38 @@ stdenv.mkDerivation rec { export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/" ''; - enableParallelBuilding = true; - - meta = with stdenv.lib; { + meta = with lib; { + homepage = "https://kid3.kde.org/"; description = "A simple and powerful audio tag editor"; longDescription = '' - If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, - MP4/AAC, MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF - files (e.g. full albums) without typing the same information - again and again and have control over both ID3v1 and ID3v2 tags, - then Kid3 is the program you are looking for. + If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, + MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF files (e.g. full + albums) without typing the same information again and again and have + control over both ID3v1 and ID3v2 tags, then Kid3 is the program you are + looking for. With Kid3 you can: - Edit ID3v1.1 tags; - Edit all ID3v2.3 and ID3v2.4 frames; - Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags - - Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Opus, - Speex, TrueAudio, WavPack, WMA, WAV, AIFF files and tracker - modules (MOD, S3M, IT, XM); - - Edit tags of multiple files, e.g. the artist, album, year and - genre of all files of an album typically have the same values - and can be set together; + - Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Opus, Speex, + TrueAudio, WavPack, WMA, WAV, AIFF files and tracker modules (MOD, S3M, + IT, XM); + - Edit tags of multiple files, e.g. the artist, album, year and genre of + all files of an album typically have the same values and can be set + together; - Generate tags from filenames; - Generate tags from the contents of tag fields; - Generate filenames from tags; - Rename and create directories from tags; - Generate playlist files; - Automatically convert upper and lower case and replace strings; - - Import from gnudb.org, TrackType.org, MusicBrainz, Discogs, - Amazon and other sources of album data; - - Export tags as CSV, HTML, playlists, Kover XML and in other - formats; - - Edit synchronized lyrics and event timing codes, import and - export LRC files + - Import from gnudb.org, TrackType.org, MusicBrainz, Discogs, Amazon and + other sources of album data; + - Export tags as CSV, HTML, playlists, Kover XML and in other formats; + - Edit synchronized lyrics and event timing codes, import and export + LRC files. ''; - homepage = "http://kid3.sourceforge.net/"; license = licenses.lgpl2Plus; maintainers = [ maintainers.AndersonTorres ]; platforms = platforms.linux; |