iagno: use wrapGAppsHook
This commit is contained in:
parent
a8f6086708
commit
13d2056cbf
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, makeWrapper
|
||||
, intltool, itstool, libcanberra_gtk3, libxml2 }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
|
||||
, intltool, itstool, libcanberra_gtk3, libxml2, dconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iagno-${gnome3.version}.1";
|
||||
@ -10,17 +10,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
|
||||
libxml2 libcanberra_gtk3 makeWrapper itstool intltool ];
|
||||
dconf libxml2 libcanberra_gtk3 wrapGAppsHook itstool intltool ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/iagno" \
|
||||
--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/Iagno;
|
||||
description = "Computer version of the game Reversi, more popularly called Othello";
|
||||
|
Loading…
Reference in New Issue
Block a user