1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

kid3: qt5 support

This commit is contained in:
AndersonTorres 2018-05-01 15:20:15 -03:00
parent b9f669e5bc
commit f08de6c729
2 changed files with 10 additions and 13 deletions

View file

@ -1,9 +1,8 @@
{ stdenv, fetchurl
, pkgconfig, cmake
, docbook_xml_dtd_45, docbook_xsl, libxslt
, python, ffmpeg, mp4v2, flac, libogg, libvorbis
, phonon, automoc4, chromaprint, id3lib, taglib
, qt, zlib, readline
, pkgconfig, cmake, python, ffmpeg, phonon, automoc4
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
, id3lib, taglib, mp4v2, flac, libogg, libvorbis
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
, makeWrapper
}:
@ -18,9 +17,10 @@ stdenv.mkDerivation rec {
};
buildInputs = with stdenv.lib;
[ pkgconfig cmake python ffmpeg docbook_xml_dtd_45 docbook_xsl libxslt
phonon automoc4 chromaprint id3lib taglib mp4v2 flac libogg libvorbis
qt zlib readline makeWrapper ];
[ pkgconfig cmake python ffmpeg phonon automoc4
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
id3lib taglib mp4v2 flac libogg libvorbis zlib readline
qtbase qttools qtmultimedia qtquickcontrols makeWrapper ];
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread";
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
'';
postInstall = ''
wrapProgram $out/bin/kid3-qt --prefix QT_PLUGIN_PATH : $out/lib/qt4/plugins
wrapProgram $out/bin/kid3-qt --prefix QT_PLUGIN_PATH : $out/lib/qt5/plugins
'';
enableParallelBuilding = true;
@ -73,4 +73,3 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
};
}
# TODO: Qt5 support - not so urgent!

View file

@ -16468,9 +16468,7 @@ with pkgs;
khard = callPackage ../applications/misc/khard { };
kid3 = callPackage ../applications/audio/kid3 {
qt = qt4;
};
kid3 = libsForQt5.callPackage ../applications/audio/kid3 { };
kile = libsForQt5.callPackage ../applications/editors/kile { };