pitivi: 2021.05 → 2022.06
https://gitlab.gnome.org/GNOME/pitivi/-/compare/2021.05.0...2022.06.0 - Add librosa for beat detection - Also remove some dependencies that have long been unneeded.
This commit is contained in:
parent
c6217958d0
commit
e13726c80e
|
@ -1,19 +1,16 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gettext
|
, gettext
|
||||||
, itstool
|
, itstool
|
||||||
, python3
|
, python3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, python3Packages
|
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, gtk3
|
, gtk3
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, libpeas
|
, libpeas
|
||||||
, librsvg
|
, librsvg
|
||||||
, gnome
|
, gnome
|
||||||
, gnome-desktop
|
|
||||||
, libnotify
|
, libnotify
|
||||||
, gsound
|
, gsound
|
||||||
, meson
|
, meson
|
||||||
|
@ -21,15 +18,15 @@
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "pitivi";
|
pname = "pitivi";
|
||||||
version = "2021.05";
|
version = "2022.06";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "z1aTxGxCqw2hSi5Zv89LyIBgS0HpzTqo0uvcYIJ7dcc=";
|
sha256 = "Uz0448bSEcK9DpXiuWsPCDO98NXUd6zgffYRWDUGyDg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -37,13 +34,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
# and saves them to the generated binary. This would make the build-time
|
# and saves them to the generated binary. This would make the build-time
|
||||||
# dependencies part of the closure so we remove it.
|
# dependencies part of the closure so we remove it.
|
||||||
./prevent-closure-contamination.patch
|
./prevent-closure-contamination.patch
|
||||||
|
|
||||||
# Fix build with meson 0.61
|
|
||||||
# https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/414
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c.patch";
|
|
||||||
sha256 = "MC4naGnqhrYlFBFHZaSzbOzrqaNK5/Xv5jBmCu0fLQE=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -61,9 +51,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
gtk3
|
gtk3
|
||||||
libpeas
|
libpeas
|
||||||
librsvg
|
librsvg
|
||||||
gnome-desktop
|
|
||||||
gsound
|
gsound
|
||||||
gnome.adwaita-icon-theme
|
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
libnotify
|
libnotify
|
||||||
] ++ (with gst_all_1; [
|
] ++ (with gst_all_1; [
|
||||||
|
@ -77,14 +65,13 @@ python3Packages.buildPythonApplication rec {
|
||||||
gst-devtools
|
gst-devtools
|
||||||
]);
|
]);
|
||||||
|
|
||||||
pythonPath = with python3Packages; [
|
pythonPath = with python3.pkgs; [
|
||||||
pygobject3
|
pygobject3
|
||||||
gst-python
|
gst-python
|
||||||
pyxdg
|
|
||||||
numpy
|
numpy
|
||||||
pycairo
|
pycairo
|
||||||
matplotlib
|
matplotlib
|
||||||
dbus-python
|
librosa
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue