3
0
Fork 0
forked from mirrors/nixpkgs

gupnp-tools and releated packages: fix and update

This commit is contained in:
Benno Fünfstück 2014-01-11 13:28:12 +01:00
parent cdd86c7875
commit e5af7f79d5
6 changed files with 54 additions and 16 deletions

View file

@ -4,8 +4,8 @@ stdenv.mkDerivation {
name = "gssdp-0.12.2.1"; name = "gssdp-0.12.2.1";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/gssdp/0.12/gssdp-0.12.2.1.tar.xz; url = mirror://gnome/sources/gssdp/0.14/gssdp-0.14.6.tar.xz;
sha256 = "0544f9nv6dpnfd0qbmxm8xwqjh8dafcmf3vlzkdly12xh5bs52lj"; sha256 = "1kgakr0rpdpm7nkp4ycka12nndga16wmzim79v1nbcc0j2wxxkws";
}; };
buildInputs = [pkgconfig libsoup glib libxml2]; buildInputs = [pkgconfig libsoup glib libxml2];

View file

@ -0,0 +1,20 @@
{ stdenv, fetchurl, gupnp, pkgconfig }:
stdenv.mkDerivation {
name = "gupnp-av";
version = "0.12.4";
src = fetchurl {
url = mirror://gnome/sources/gupnp-av/0.12/gupnp-av-0.12.4.tar.xz;
sha256 = "0nvsvpiyfslz54j4hjh2gsdjkbi2qj2f4k0aw8s7f05kibprr2jl";
};
buildInputs = [ gupnp pkgconfig ];
meta = {
homepage = http://gupnp.org/;
description = "GUPnP-AV is a collection of helpers for building AV (audio/video) applications using GUPnP.";
longDescription = "GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific standardized resources (e.g. MediaServer); this is left for higher level libraries utilizing the GUPnP framework.";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -1,11 +1,12 @@
{ stdenv, fetchurl, pkgconfig, glib, libxml2, gssdp, libsoup, libuuid }: { stdenv, fetchurl, pkgconfig, glib, libxml2, gssdp, libsoup, libuuid }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "gupnp-0.18.4"; name = "gupnp";
version = "0.20.9";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/gupnp/0.18/gupnp-0.18.4.tar.xz; url = mirror://gnome/sources/gupnp/0.20/gupnp-0.20.9.tar.xz;
sha256 = "18bqmy8r44fnga9wz9inlq6k2s0292bnnql0c0n2j4mj25bpshvb"; sha256 = "0vicydn3f72x1rqql7857ans85mg7dfap7n7h8xrfyb9whxhlrb1";
}; };
propagatedBuildInputs = [ libxml2 libsoup gssdp ]; propagatedBuildInputs = [ libxml2 libsoup gssdp ];
@ -13,7 +14,16 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
postInstall = ''
cp -r ${libsoup}/include/libsoup-2.4/libsoup $out/include
cp -r ${gssdp}/include/gssdp-1.0/libgssdp $out/include
cp -r ${libxml2}/include/libxml2/libxml $out/include
'';
meta = { meta = {
homepage = http://www.gupnp.org/; homepage = http://www.gupnp.org/;
description = "GUPnP is an implementation of the UPnP specification.";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
}; };
} }

View file

@ -1,17 +1,18 @@
{ stdenv, fetchurl, glib, libxml2, pkgconfig { stdenv, fetchurl, glib, libxml2, pkgconfig
, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking , gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking
, libintlOrEmpty }: , libintlOrEmpty
, intltool, python }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libsoup-2.38.1"; name = "libsoup";
version = "2.45";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/libsoup/2.38/libsoup-2.38.1.tar.xz; url = mirror://gnome/sources/libsoup/2.45/libsoup-2.45.3.tar.xz;
sha256 = "16iza4y8pmc4sn90iid88fgminvgcqypy3s2qnmzkzm5qwzr5f3i"; sha256 = "04ma47hcrrbjp90r8jjn686cngnbgac24wgarpwwzlpg66wighva";
}; };
buildInputs = libintlOrEmpty ++ [ intltool python ];
buildInputs = libintlOrEmpty;
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ glib libxml2 ] propagatedBuildInputs = [ glib libxml2 ]
++ stdenv.lib.optionals gnomeSupport [ libgnome_keyring sqlite ]; ++ stdenv.lib.optionals gnomeSupport [ libgnome_keyring sqlite ];

View file

@ -1,11 +1,16 @@
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, glib, libxml2, libsoup, gtk, libglade, gnomeicontheme, e2fsprogs}: {fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp_av, gnome3, makeWrapper}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gupnp-tools-0.6"; name = "gupnp-tools-0.6";
src = fetchurl { src = fetchurl {
url = "http://www.gupnp.org/sources/gupnp-tools/gupnp-tools-0.6.tar.gz"; url = mirror://gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.8.tar.xz;
sha256 = "08fnggk85zqdcvm4np53yxw15b3ck25c2rmyfrh04g8j25qf50dj"; sha256 = "160dgh9pmlb85qfavwqz46lqawpshs8514bx2b57f9rbiny8kbij";
}; };
buildInputs = [gupnp gssdp pkgconfig glib libxml2 libsoup gtk libglade gnomeicontheme e2fsprogs]; buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av gnome3.gnome_icon_theme gnome3.gnome_themes_standard makeWrapper];
postInstall = ''
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
'';
} }

View file

@ -1101,10 +1101,12 @@ let
inherit (gnome) libsoup; inherit (gnome) libsoup;
}; };
gupnp_av = callPackage ../development/libraries/gupnp-av {};
gupnp_igd = callPackage ../development/libraries/gupnp-igd {}; gupnp_igd = callPackage ../development/libraries/gupnp-igd {};
gupnptools = callPackage ../tools/networking/gupnp-tools { gupnptools = callPackage ../tools/networking/gupnp-tools {
inherit (gnome) libsoup libglade gnomeicontheme; # inherit (gnome) libsoup libglade gnomeicontheme;
}; };
gvpe = builderDefsPackage ../tools/networking/gvpe { gvpe = builderDefsPackage ../tools/networking/gvpe {