diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2014-09-28 21:30:37 -0300 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-09-30 07:55:25 +0100 |
commit | 46d74cae72aca46d99559990a537eb3b2f5e7916 (patch) | |
tree | 9cc9747f39e199059273d4d13fbff17246184c46 /pkgs/applications/audio/kid3 | |
parent | 11782ceb6d1c687478d8def5125c33c6be579aa4 (diff) | |
download | nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar.gz nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar.bz2 nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar.lz nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar.xz nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.tar.zst nixlib-46d74cae72aca46d99559990a537eb3b2f5e7916.zip |
Kid3: New Package
Kid3 is a simple and powerful audio tag editor Closes #4325
Diffstat (limited to 'pkgs/applications/audio/kid3')
-rw-r--r-- | pkgs/applications/audio/kid3/default.nix | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/pkgs/applications/audio/kid3/default.nix b/pkgs/applications/audio/kid3/default.nix new file mode 100644 index 000000000000..e300ecf47ec6 --- /dev/null +++ b/pkgs/applications/audio/kid3/default.nix @@ -0,0 +1,74 @@ +{ stdenv, fetchurl +, pkgconfig, cmake, perl, ffmpeg +, docbook_xml_dtd_45, docbook_xsl, libxslt +, phonon, automoc4, chromaprint, id3lib +, taglib, mp4v2, flac, libogg, libvorbis +, qt, automoc4, zlib, readline +, makeWrapper +}: + +stdenv.mkDerivation rec { + + name = "kid3-${version}"; + version = "3.1.1"; + + src = fetchurl { + url = "http://downloads.sourceforge.net/project/kid3/kid3/${version}/${name}.tar.gz"; + sha256 = "0mr617k712zpd99rgsy313jrb6jcjn1malj4lirzqhp7307wsf34"; + }; + + buildInputs = with stdenv.lib; + [ pkgconfig cmake perl ffmpeg docbook_xml_dtd_45 docbook_xsl libxslt + phonon automoc4 chromaprint id3lib taglib mp4v2 flac libogg libvorbis + qt automoc zlib readline makeWrapper ]; + + cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DWITH_APPS=Qt;CLI" ]; + NIX_LDFLAGS = "-lm -lpthread"; + + preConfigure = '' + export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/" + ''; + + postInstall = '' + wrapProgram $out/bin/kid3-qt --prefix QT_PLUGIN_PATH : $out/lib/qt4/plugins + ''; + + meta = with stdenv.lib; { + 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. + + 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; + - 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 + ''; + homepage = http://kid3.sourceforge.net/; + license = licenses.lgpl2Plus; + maintainers = [ maintainers.AndersonTorres ]; + }; +} + +# TODO: Qt5 support |