Merge pull request #42639 from peterhoeg/u/amarok

amarok: 2.8.91-20170228 -> 2.9.0-20180618

authored by Matthew Bauer and committed by GitHub fde2e021 1c0b6ebe

+44 -52
+42
pkgs/applications/audio/amarok/default.nix
···
··· 1 + { mkDerivation, fetchgit, lib 2 + , extra-cmake-modules, kdoctools 3 + , qca-qt5, qjson, qtquickcontrols2, qtscript, qtwebengine 4 + , karchive, kcmutils, kconfig, kdnssd, kguiaddons, kinit, kirigami2, knewstuff, knotifyconfig, ktexteditor, kwindowsystem 5 + , fftw, phonon, plasma-framework, threadweaver 6 + , curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras 7 + }: 8 + 9 + let 10 + pname = "amarok"; 11 + version = "2.9.0-20180618"; 12 + 13 + in mkDerivation { 14 + name = "${pname}-${version}"; 15 + 16 + src = fetchgit { 17 + # master has the Qt5 version as of April 2018 but a formal release has not 18 + # yet been made so change this back to the proper upstream when such a 19 + # release is out 20 + url = git://anongit.kde.org/amarok.git; 21 + # url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz"; 22 + rev = "5d43efa454b6a6c9c833a6f3d7f8ff3cae738c96"; 23 + sha256 = "0fyrbgldg4wbb2darm4aav5fpzbacxzfjrdqwkhv9xr13j7zsvm3"; 24 + }; 25 + 26 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 27 + 28 + propagatedBuildInputs = [ 29 + qca-qt5 qjson qtquickcontrols2 qtscript qtwebengine 30 + karchive kcmutils kconfig kdnssd kguiaddons kinit kirigami2 knewstuff knotifyconfig ktexteditor kwindowsystem 31 + phonon plasma-framework threadweaver 32 + curl fftw ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static 33 + pcre snappy taglib taglib_extras 34 + ]; 35 + 36 + enableParallelBuilding = true; 37 + 38 + meta = with lib; { 39 + license = licenses.gpl2; 40 + maintainers = with maintainers; [ peterhoeg ]; 41 + }; 42 + }
-40
pkgs/applications/audio/amarok/kf5.nix
··· 1 - { mkDerivation, fetchgit, lib 2 - , extra-cmake-modules, kdoctools 3 - , qca-qt5, qjson, qtscript, qtwebkit 4 - , kcmutils, kconfig, kdelibs4support, kdnssd, kinit, knewstuff, knotifyconfig, ktexteditor 5 - , phonon, plasma-framework, threadweaver 6 - , curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras 7 - }: 8 - 9 - let 10 - pname = "amarok"; 11 - version = "2.8.91-20170228"; 12 - 13 - in mkDerivation { 14 - name = "${pname}-${version}"; 15 - 16 - src = fetchgit { 17 - url = git://anongit.kde.org/amarok.git; 18 - # go back to the KDE mirror when kf5 is merged into master 19 - # url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz"; 20 - rev = "323e2d5b43245c4c06e0b83385d37ef0d32920cb"; 21 - sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh"; 22 - }; 23 - 24 - patches = [ ./qt5_11.patch ]; 25 - 26 - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 27 - propagatedBuildInputs = [ 28 - qca-qt5 qjson qtscript qtwebkit 29 - kcmutils kconfig kdelibs4support kdnssd kinit knewstuff knotifyconfig ktexteditor 30 - phonon plasma-framework threadweaver 31 - curl ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static 32 - pcre snappy taglib taglib_extras 33 - ]; 34 - enableParallelBuilding = true; 35 - 36 - meta = with lib; { 37 - license = licenses.gpl2; 38 - maintainers = with maintainers; [ peterhoeg ]; 39 - }; 40 - }
···
-11
pkgs/applications/audio/amarok/qt5_11.patch
··· 1 - --- a/src/aboutdialog/ExtendedAboutDialog.cpp 2 - +++ b/src/aboutdialog/ExtendedAboutDialog.cpp 3 - @@ -30,6 +30,7 @@ 4 - #include <QLayout> 5 - #include <QPushButton> 6 - #include <QScrollBar> 7 - +#include <QStyle> 8 - #include <QTabWidget> 9 - 10 - #include <qapplication.h> 11 -
···
+2 -1
pkgs/top-level/all-packages.nix
··· 15014 15015 msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { }; 15016 15017 - amarok-kf5 = libsForQt5.callPackage ../applications/audio/amarok/kf5.nix { }; 15018 15019 AMB-plugins = callPackage ../applications/audio/AMB-plugins { }; 15020
··· 15014 15015 msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { }; 15016 15017 + amarok = libsForQt5.callPackage ../applications/audio/amarok { }; 15018 + amarok-kf5 = amarok; # for compatibility 15019 15020 AMB-plugins = callPackage ../applications/audio/AMB-plugins { }; 15021