picard: 2.5.6 -> 2.6.2
This commit is contained in:
parent
1b1d7e93dc
commit
a2ae5408ef
@ -1,4 +1,9 @@
|
|||||||
{ lib, python3Packages, fetchFromGitHub, gettext, chromaprint, qt5
|
{ lib
|
||||||
|
, python3Packages
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gettext
|
||||||
|
, chromaprint
|
||||||
|
, qt5
|
||||||
, enablePlayback ? true
|
, enablePlayback ? true
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
}:
|
}:
|
||||||
@ -10,43 +15,45 @@ let
|
|||||||
else
|
else
|
||||||
pythonPackages.pyqt5
|
pythonPackages.pyqt5
|
||||||
;
|
;
|
||||||
in pythonPackages.buildPythonApplication rec {
|
in
|
||||||
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "picard";
|
pname = "picard";
|
||||||
version = "2.5.6";
|
version = "2.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "metabrainz";
|
owner = "metabrainz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "1mkbg44bm642mlpfxsdlw947var6a3sf9m6c897b4n0742hsdkbc";
|
sha256 = "1dhkdzc3601rhg8pqljbv3dz7j0mx75brpfhlizhgwgv65qk3ifj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
||||||
++ lib.optionals (pyqt5.multimediaEnabled) [
|
++ lib.optionals (pyqt5.multimediaEnabled) [
|
||||||
qt5.qtmultimedia.bin
|
qt5.qtmultimedia.bin
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gst-libav
|
||||||
gst_all_1.gst-vaapi
|
gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-libav
|
gst_all_1.gst-plugins-good
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-vaapi
|
||||||
gst_all_1.gst-plugins-good
|
gst_all_1.gstreamer
|
||||||
]
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
pyqt5
|
|
||||||
mutagen
|
|
||||||
chromaprint
|
chromaprint
|
||||||
discid
|
|
||||||
dateutil
|
dateutil
|
||||||
|
discid
|
||||||
|
fasteners
|
||||||
|
mutagen
|
||||||
|
pyqt5
|
||||||
];
|
];
|
||||||
|
|
||||||
# In order to spare double wrapping, we use:
|
# In order to spare double wrapping, we use:
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||||
''
|
''
|
||||||
+ lib.optionalString (pyqt5.multimediaEnabled) ''
|
+ lib.optionalString (pyqt5.multimediaEnabled) ''
|
||||||
makeWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
makeWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||||
''
|
''
|
||||||
;
|
;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user