Merge pull request #42639 from peterhoeg/u/amarok
amarok: 2.8.91-20170228 -> 2.9.0-20180618
This commit is contained in:
commit
fde2e02100
42
pkgs/applications/audio/amarok/default.nix
Normal file
42
pkgs/applications/audio/amarok/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ mkDerivation, fetchgit, lib
|
||||||
|
, extra-cmake-modules, kdoctools
|
||||||
|
, qca-qt5, qjson, qtquickcontrols2, qtscript, qtwebengine
|
||||||
|
, karchive, kcmutils, kconfig, kdnssd, kguiaddons, kinit, kirigami2, knewstuff, knotifyconfig, ktexteditor, kwindowsystem
|
||||||
|
, fftw, phonon, plasma-framework, threadweaver
|
||||||
|
, curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "amarok";
|
||||||
|
version = "2.9.0-20180618";
|
||||||
|
|
||||||
|
in mkDerivation {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
# master has the Qt5 version as of April 2018 but a formal release has not
|
||||||
|
# yet been made so change this back to the proper upstream when such a
|
||||||
|
# release is out
|
||||||
|
url = git://anongit.kde.org/amarok.git;
|
||||||
|
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
||||||
|
rev = "5d43efa454b6a6c9c833a6f3d7f8ff3cae738c96";
|
||||||
|
sha256 = "0fyrbgldg4wbb2darm4aav5fpzbacxzfjrdqwkhv9xr13j7zsvm3";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
qca-qt5 qjson qtquickcontrols2 qtscript qtwebengine
|
||||||
|
karchive kcmutils kconfig kdnssd kguiaddons kinit kirigami2 knewstuff knotifyconfig ktexteditor kwindowsystem
|
||||||
|
phonon plasma-framework threadweaver
|
||||||
|
curl fftw ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
|
||||||
|
pcre snappy taglib taglib_extras
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,40 +0,0 @@
|
|||||||
{ mkDerivation, fetchgit, lib
|
|
||||||
, extra-cmake-modules, kdoctools
|
|
||||||
, qca-qt5, qjson, qtscript, qtwebkit
|
|
||||||
, kcmutils, kconfig, kdelibs4support, kdnssd, kinit, knewstuff, knotifyconfig, ktexteditor
|
|
||||||
, phonon, plasma-framework, threadweaver
|
|
||||||
, curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
pname = "amarok";
|
|
||||||
version = "2.8.91-20170228";
|
|
||||||
|
|
||||||
in mkDerivation {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchgit {
|
|
||||||
url = git://anongit.kde.org/amarok.git;
|
|
||||||
# go back to the KDE mirror when kf5 is merged into master
|
|
||||||
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
|
||||||
rev = "323e2d5b43245c4c06e0b83385d37ef0d32920cb";
|
|
||||||
sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [ ./qt5_11.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
qca-qt5 qjson qtscript qtwebkit
|
|
||||||
kcmutils kconfig kdelibs4support kdnssd kinit knewstuff knotifyconfig ktexteditor
|
|
||||||
phonon plasma-framework threadweaver
|
|
||||||
curl ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
|
|
||||||
pcre snappy taglib taglib_extras
|
|
||||||
];
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
license = licenses.gpl2;
|
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/src/aboutdialog/ExtendedAboutDialog.cpp
|
|
||||||
+++ b/src/aboutdialog/ExtendedAboutDialog.cpp
|
|
||||||
@@ -30,6 +30,7 @@
|
|
||||||
#include <QLayout>
|
|
||||||
#include <QPushButton>
|
|
||||||
#include <QScrollBar>
|
|
||||||
+#include <QStyle>
|
|
||||||
#include <QTabWidget>
|
|
||||||
|
|
||||||
#include <qapplication.h>
|
|
||||||
|
|
@ -15014,7 +15014,8 @@ with pkgs;
|
|||||||
|
|
||||||
msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { };
|
msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { };
|
||||||
|
|
||||||
amarok-kf5 = libsForQt5.callPackage ../applications/audio/amarok/kf5.nix { };
|
amarok = libsForQt5.callPackage ../applications/audio/amarok { };
|
||||||
|
amarok-kf5 = amarok; # for compatibility
|
||||||
|
|
||||||
AMB-plugins = callPackage ../applications/audio/AMB-plugins { };
|
AMB-plugins = callPackage ../applications/audio/AMB-plugins { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user