uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
46
pkgs/development/libraries/gnome-video-effects/default.nix
Normal file
46
pkgs/development/libraries/gnome-video-effects/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, meson
|
||||
, ninja
|
||||
, gettext
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-video-effects";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${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
|
||||
pkg-config
|
||||
gettext
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
versionPolicy = "none";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with 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 = teams.gnome.members;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
|
@ -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,
|
||||
Loading…
Add table
Add a link
Reference in a new issue