Merge pull request #66934 from jtojnar/gnome-video-effects-0.5.0

gnome-video-effects: 0.4.3 → 0.5.0
This commit is contained in:
worldofpeace
2019-08-19 14:11:13 -04:00
committed by GitHub
5 changed files with 61 additions and 31 deletions

View File

@@ -0,0 +1,46 @@
{ stdenv
, fetchurl
, pkgconfig
, meson
, ninja
, gettext
, gnome3
}:
stdenv.mkDerivation rec {
pname = "gnome-video-effects";
version = "0.5.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd";
};
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
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
description = "A collection of GStreamer effects to be used in different GNOME Modules";
homepage = https://wiki.gnome.org/Projects/GnomeVideoEffects;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
license = licenses.gpl2;
};
}

View File

@@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,7 @@
# Can't use pkgconfig helper https://github.com/mesonbuild/meson/issues/2253
conf = configuration_data()
conf.set('prefix', prefix)
-conf.set('datarootdir', pkgdatadir)
+conf.set('datarootdir', datadir)
conf.set('VERSION', meson.project_version())
pkg = configure_file(configuration: conf,