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 changed files with 5 additions and 18 deletions
|
@ -1,19 +1,16 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, gettext
|
||||
, itstool
|
||||
, python3
|
||||
, wrapGAppsHook
|
||||
, python3Packages
|
||||
, gst_all_1
|
||||
, gtk3
|
||||
, gobject-introspection
|
||||
, libpeas
|
||||
, librsvg
|
||||
, gnome
|
||||
, gnome-desktop
|
||||
, libnotify
|
||||
, gsound
|
||||
, meson
|
||||
|
@ -21,15 +18,15 @@
|
|||
, gsettings-desktop-schemas
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "pitivi";
|
||||
version = "2021.05";
|
||||
version = "2022.06";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "z1aTxGxCqw2hSi5Zv89LyIBgS0HpzTqo0uvcYIJ7dcc=";
|
||||
sha256 = "Uz0448bSEcK9DpXiuWsPCDO98NXUd6zgffYRWDUGyDg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -37,13 +34,6 @@ python3Packages.buildPythonApplication rec {
|
|||
# and saves them to the generated binary. This would make the build-time
|
||||
# dependencies part of the closure so we remove it.
|
||||
./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 = [
|
||||
|
@ -61,9 +51,7 @@ python3Packages.buildPythonApplication rec {
|
|||
gtk3
|
||||
libpeas
|
||||
librsvg
|
||||
gnome-desktop
|
||||
gsound
|
||||
gnome.adwaita-icon-theme
|
||||
gsettings-desktop-schemas
|
||||
libnotify
|
||||
] ++ (with gst_all_1; [
|
||||
|
@ -77,14 +65,13 @@ python3Packages.buildPythonApplication rec {
|
|||
gst-devtools
|
||||
]);
|
||||
|
||||
pythonPath = with python3Packages; [
|
||||
pythonPath = with python3.pkgs; [
|
||||
pygobject3
|
||||
gst-python
|
||||
pyxdg
|
||||
numpy
|
||||
pycairo
|
||||
matplotlib
|
||||
dbus-python
|
||||
librosa
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue