2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-08-19 13:43:03 +00:00
|
|
|
, fetchurl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-19 13:43:03 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-08-19 13:43:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:56:19 +00:00
|
|
|
pname = "gnome-video-effects";
|
2019-08-19 13:43:03 +00:00
|
|
|
version = "0.5.0";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-08-19 13:43:03 +00:00
|
|
|
sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
|
2019-08-19 13:43:03 +00:00
|
|
|
patches = [
|
|
|
|
# Fix effectsdir in .pc file
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-video-effects/commit/955404195ada606819974dd63c48956f25611e14
|
|
|
|
./fix-pc-file.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-19 13:43:03 +00:00
|
|
|
gettext
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-03 05:56:19 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 05:56:19 +00:00
|
|
|
packageName = pname;
|
2019-08-19 13:43:03 +00:00
|
|
|
versionPolicy = "none";
|
2018-03-03 05:56:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-03-03 05:56:19 +00:00
|
|
|
description = "A collection of GStreamer effects to be used in different GNOME Modules";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GnomeVideoEffects";
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|