nemo-preview: init at 6.4.0, xreader: enable introspection (#391701)
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
meson,
|
||||
pkg-config,
|
||||
ninja,
|
||||
glib,
|
||||
gtk3,
|
||||
cjs,
|
||||
gtksourceview4,
|
||||
gobject-introspection,
|
||||
libmusicbrainz5,
|
||||
webkitgtk_4_1,
|
||||
clutter-gtk,
|
||||
clutter-gst,
|
||||
wrapGAppsHook3,
|
||||
nemo,
|
||||
xreader,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nemo-preview";
|
||||
version = "6.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/nemo-preview";
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook3
|
||||
gobject-introspection
|
||||
meson
|
||||
pkg-config
|
||||
glib
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
cjs
|
||||
gtksourceview4
|
||||
libmusicbrainz5
|
||||
webkitgtk_4_1
|
||||
clutter-gtk
|
||||
clutter-gst
|
||||
nemo
|
||||
xreader
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-preview";
|
||||
description = "Quick previewer for Nemo, the Cinnamon desktop file manager";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = lib.teams.cinnamon.members;
|
||||
};
|
||||
})
|
||||
@@ -57,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mesonFlags = [
|
||||
"-Dmathjax-directory=${nodePackages.mathjax}"
|
||||
"-Dintrospection=true"
|
||||
] ++ (map (x: "-D${x}=true") backends);
|
||||
|
||||
buildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user