kid3: ffmpeg_3 -> ffmpeg

And refactor.
This commit is contained in:
AndersonTorres 2021-04-26 21:06:14 -03:00
parent 6d365578bf
commit 27525f6c4d

View file

@ -6,7 +6,7 @@
, cmake , cmake
, docbook_xml_dtd_45 , docbook_xml_dtd_45
, docbook_xsl , docbook_xsl
, ffmpeg_3 , ffmpeg
, flac , flac
, id3lib , id3lib
, libogg , libogg
@ -31,21 +31,22 @@ stdenv.mkDerivation rec {
version = "3.8.6"; version = "3.8.6";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz"; url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-ce+MWCJzAnN+u+07f0dvn0jnbqiUlS2RbcM9nAj5bgg="; hash = "sha256-R4gAWlCw8RezhYbw1XDo+wdp797IbLoM3wqHwr+ul6k=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
docbook_xml_dtd_45
docbook_xsl
pkg-config pkg-config
python3
wrapQtAppsHook wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
automoc4 automoc4
chromaprint chromaprint
docbook_xml_dtd_45 ffmpeg
docbook_xsl
ffmpeg_3
flac flac
id3lib id3lib
libogg libogg
@ -53,7 +54,6 @@ stdenv.mkDerivation rec {
libxslt libxslt
mp4v2 mp4v2
phonon phonon
python3
qtbase qtbase
qtmultimedia qtmultimedia
qtquickcontrols qtquickcontrols
@ -71,6 +71,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://kid3.kde.org/";
description = "A simple and powerful audio tag editor"; description = "A simple and powerful audio tag editor";
longDescription = '' longDescription = ''
If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC,
@ -101,7 +102,6 @@ stdenv.mkDerivation rec {
- Edit synchronized lyrics and event timing codes, import and export - Edit synchronized lyrics and event timing codes, import and export
LRC files. LRC files.
''; '';
homepage = "http://kid3.sourceforge.net/";
license = licenses.lgpl2Plus; license = licenses.lgpl2Plus;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;