libgpod: reduce propagated libraries, cleanup
This commit is contained in:
parent
85a633de9f
commit
073206c8e0
1 changed files with 37 additions and 14 deletions
|
@ -1,10 +1,23 @@
|
||||||
{ stdenv, lib, fetchurl, perlPackages, intltool, autoreconfHook,
|
{ stdenv
|
||||||
pkg-config, glib, libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
|
, lib
|
||||||
libimobiledevice,
|
, fetchurl
|
||||||
monoSupport ? false, mono, gtk-sharp-2_0
|
, perlPackages
|
||||||
|
, intltool
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, libxml2
|
||||||
|
, sqlite
|
||||||
|
, zlib
|
||||||
|
, sg3_utils
|
||||||
|
, gdk-pixbuf
|
||||||
|
, taglib
|
||||||
|
, libimobiledevice
|
||||||
|
, monoSupport ? false
|
||||||
|
, mono
|
||||||
|
, gtk-sharp-2_0
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libgpod";
|
pname = "libgpod";
|
||||||
version = "0.8.3";
|
version = "0.8.3";
|
||||||
|
@ -27,20 +40,30 @@ stdenv.mkDerivation rec {
|
||||||
"--with-udev-dir=${placeholder "out"}/lib/udev"
|
"--with-udev-dir=${placeholder "out"}/lib/udev"
|
||||||
] ++ lib.optionals monoSupport [ "--with-mono" ];
|
] ++ lib.optionals monoSupport [ "--with-mono" ];
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = monoSupport;
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
|
|
||||||
gdk-pixbuf taglib libimobiledevice ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook intltool pkg-config ]
|
nativeBuildInputs = [ autoreconfHook intltool pkg-config ]
|
||||||
++ (with perlPackages; [ perl XMLParser ])
|
++ (with perlPackages; [ perl XMLParser ])
|
||||||
++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ];
|
++ lib.optional monoSupport mono;
|
||||||
|
|
||||||
meta = {
|
buildInputs = [
|
||||||
homepage = "https://gtkpod.sourceforge.net/";
|
libxml2
|
||||||
|
sg3_utils
|
||||||
|
sqlite
|
||||||
|
taglib
|
||||||
|
] ++ lib.optional monoSupport gtk-sharp-2_0;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
libimobiledevice
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://sourceforge.net/projects/gtkpod/";
|
||||||
description = "Library used by gtkpod to access the contents of an ipod";
|
description = "Library used by gtkpod to access the contents of an ipod";
|
||||||
license = "LGPL";
|
license = licenses.lgpl21Plus;
|
||||||
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue