mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #11832 from ktosiek/gupnp-tools-fixes
gupnp-tools: add required icons, rename from gupnptools
This commit is contained in:
commit
192fda79e0
2 changed files with 13 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp_av, gnome3, makeWrapper}:
|
||||
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp_av, gnome3, gnome2, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gupnp-tools-${version}";
|
||||
|
@ -9,11 +9,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "160dgh9pmlb85qfavwqz46lqawpshs8514bx2b57f9rbiny8kbij";
|
||||
};
|
||||
|
||||
buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av
|
||||
gnome3.defaultIconTheme gnome3.gnome_themes_standard makeWrapper];
|
||||
buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av
|
||||
gnome2.gnome_icon_theme makeWrapper];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
|
||||
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
|
||||
for program in gupnp-av-cp gupnp-universal-cp; do
|
||||
wrapProgram "$out/bin/$program" \
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome2.gnome_icon_theme}/share:$out/share"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1809,7 +1809,7 @@ let
|
|||
|
||||
gupnp_igd = callPackage ../development/libraries/gupnp-igd {};
|
||||
|
||||
gupnptools = callPackage ../tools/networking/gupnp-tools {};
|
||||
gupnp-tools = callPackage ../tools/networking/gupnp-tools {};
|
||||
|
||||
gvpe = callPackage ../tools/networking/gvpe { };
|
||||
|
||||
|
@ -15862,6 +15862,7 @@ aliases = with self; rec {
|
|||
firefoxWrapper = firefox-wrapper;
|
||||
fuse_exfat = exfat; # 2015-09-11
|
||||
grantlee5 = qt5.grantlee; # added 2015-12-19
|
||||
gupnptools = gupnp-tools; # added 2015-12-19
|
||||
htmlTidy = html-tidy; # added 2014-12-06
|
||||
inherit (haskell.compiler) jhc uhc; # 2015-05-15
|
||||
inotifyTools = inotify-tools;
|
||||
|
|
Loading…
Reference in a new issue