Merge pull request #67964 from dkabot/arc-menu_init

gnomeExtensions.arc-menu: init at 31
This commit is contained in:
Jan Tojnar 2019-09-03 04:26:44 +02:00 committed by GitHub
commit 4a220b64b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View file

@ -1633,6 +1633,12 @@
githubId = 10913120;
name = "Dje4321";
};
dkabot = {
email = "dkabot@dkabot.com";
github = "dkabot";
githubId = 1316469;
name = "Naomi Morse";
};
dmalikov = {
email = "malikov.d.y@gmail.com";
github = "dmalikov";

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
stdenv.mkDerivation rec {
pname = "gnome-shell-arc-menu";
version = "31";
src = fetchFromGitLab {
owner = "LinxGem33";
repo = "Arc-Menu";
rev = "v${version}-stable";
sha256 = "124jgdy6mw76nrkq3f0y7qkhdm39wg273zifdvwbgpvirwzxbia1";
};
patches = [
(substituteAll {
src = ./fix_gmenu.patch;
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
})
];
buildInputs = [
glib gettext
];
makeFlags = [ "INSTALL_BASE=$(out)/share/gnome-shell/extensions" ];
meta = with stdenv.lib; {
description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dkabot ];
homepage = https://gitlab.com/LinxGem33/Arc-Menu;
};
}

View file

@ -0,0 +1,12 @@
--- a/extension.js
+++ b/extension.js
@@ -29,6 +29,8 @@
* https://github.com/The-Panacea-Projects/Gnomenu
*/
+
+imports.gi.GIRepository.Repository.prepend_search_path('@gmenu_path@');
// Import Libraries
const Main = imports.ui.main;

View file

@ -22646,6 +22646,7 @@ in
gnomeExtensions = recurseIntoAttrs {
appindicator = callPackage ../desktops/gnome-3/extensions/appindicator { };
arc-menu = callPackage ../desktops/gnome-3/extensions/arc-menu { };
battery-status = callPackage ../desktops/gnome-3/extensions/battery-status { };
caffeine = callPackage ../desktops/gnome-3/extensions/caffeine { };
clipboard-indicator = callPackage ../desktops/gnome-3/extensions/clipboard-indicator { };