2019-08-19 14:43:03 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, gnome3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:56:19 +00:00
|
|
|
pname = "gnome-video-effects";
|
2019-08-19 14:43:03 +01:00
|
|
|
version = "0.5.0";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-19 14:43:03 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2019-08-19 14:43:03 +01:00
|
|
|
patches = [
|
|
|
|
# Fix effectsdir in .pc file
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-video-effects/commit/955404195ada606819974dd63c48956f25611e14
|
|
|
|
./fix-pc-file.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 05:56:19 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-08-19 14:43:03 +01:00
|
|
|
versionPolicy = "none";
|
2018-03-03 05:56:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.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 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GnomeVideoEffects";
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|