mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
libgksu: use nativeBuildInputs and wrapGAppsHook
This commit is contained in:
parent
fd57730897
commit
e6e465334d
1 changed files with 12 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, makeWrapper, gtk, gnome, gnome3,
|
||||
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gtk, gnome, gnome3,
|
||||
libstartup_notification, libgtop, perl, perlXMLParser,
|
||||
autoreconfHook, intltool, gtk_doc, docbook_xsl, xauth, sudo
|
||||
}:
|
||||
|
@ -13,6 +13,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1brz9j3nf7l2gd3a5grbp0s3nksmlrp6rxmgp5s6gjvxcb1wzy92";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig autoreconfHook intltool gtk_doc docbook_xsl wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk gnome.GConf libstartup_notification
|
||||
gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches = [
|
||||
# Patches from the gentoo ebuild
|
||||
|
||||
|
@ -54,19 +65,6 @@ stdenv.mkDerivation rec {
|
|||
intltoolize --force --copy --automake
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig makeWrapper gtk gnome.GConf libstartup_notification
|
||||
gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser
|
||||
autoreconfHook intltool gtk_doc docbook_xsl
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gksu-properties" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "A library for integration of su into applications";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue