swell-foop: use wrapGAppsHook
This commit is contained in:
parent
ac0daa6dd9
commit
7f65b99998
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, makeWrapper
|
||||
, clutter, clutter_gtk, intltool, itstool, libxml2 }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, dconf
|
||||
, clutter, clutter_gtk, intltool, itstool, libxml2, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "swell-foop-${gnome3.version}.1";
|
||||
@ -10,17 +10,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
|
||||
makeWrapper itstool intltool clutter clutter_gtk libxml2 ];
|
||||
dconf wrapGAppsHook itstool intltool clutter clutter_gtk libxml2 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/swell-foop" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share" \
|
||||
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://wiki.gnome.org/Apps/Swell%20Foop";
|
||||
description = "Puzzle game, previously known as Same GNOME";
|
||||
|
Loading…
Reference in New Issue
Block a user