gnome-video-effects: 0.4.3 → 0.5.0

https://gitlab.gnome.org/GNOME/gnome-video-effects/blob/0.5.0/NEWS#L4-6
This commit is contained in:
Jan Tojnar 2019-08-19 15:43:03 +02:00
parent d4861c9ede
commit b80da194fd
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 37 additions and 8 deletions

View File

@ -1,20 +1,38 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnome3 }:
let
{ stdenv
, fetchurl
, pkgconfig
, meson
, ninja
, gettext
, gnome3
}:
stdenv.mkDerivation rec {
pname = "gnome-video-effects";
version = "0.4.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "0.5.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd";
};
nativeBuildInputs = [ pkgconfig intltool ];
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";
};
};

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,