xfce4-screenshooter: use wrapGAppsHook instead of makeWrapper

This commit is contained in:
Jörg Thalheim 2017-05-01 23:41:11 +02:00
parent 82a1c372af
commit f3eb5950a2
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, xfce4panel, libxfce4util, gtk, libsoup
, makeWrapper, glib_networking, exo, hicolor_icon_theme }:
, makeWrapper, glib_networking, exo, hicolor_icon_theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
p_name = "xfce4-screenshooter";
@ -13,18 +13,13 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [
pkgconfig intltool makeWrapper
pkgconfig intltool wrapGAppsHook
];
buildInputs = [
xfce4panel libxfce4util gtk libsoup exo hicolor_icon_theme
xfce4panel libxfce4util gtk libsoup exo hicolor_icon_theme glib_networking
];
preFixup = ''
wrapProgram "$out/bin/xfce4-screenshooter" \
--prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules"
'';
meta = {
homepage = http://goodies.xfce.org/projects/applications/xfce4-screenshooter;
description = "Xfce screenshooter";