2014-07-30 22:27:48 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, makeWrapper, intltool, libgpod, curl, flac,
|
|
|
|
gnome3_12, gtk3, glib, gettext, perl, perlXMLParser , libglade, flex, libid3tag,
|
|
|
|
libvorbis, hicolor_icon_theme, gdk_pixbuf }:
|
2009-04-13 15:41:10 +00:00
|
|
|
|
2014-07-30 22:27:48 +00:00
|
|
|
let
|
|
|
|
gnome = gnome3_12;
|
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
version = "2.1.4";
|
|
|
|
name = "gtkpod-${version}";
|
2009-04-13 15:41:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-30 22:27:48 +00:00
|
|
|
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
|
|
|
|
sha256 = "ba12b35f3f24a155b68f0ffdaf4d3c5c7d1b8df04843a53306e1c83fc811dfaa";
|
2009-04-13 15:41:10 +00:00
|
|
|
};
|
2009-10-19 22:05:34 +00:00
|
|
|
|
2014-07-30 22:27:48 +00:00
|
|
|
propagatedUserEnvPkgs = [ gnome.gnome_themes_standard ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig makeWrapper intltool curl gettext perl perlXMLParser
|
|
|
|
flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf libglade gnome.anjuta
|
|
|
|
gnome.gdl gnome.gnome_icon_theme_symbolic gnome.gnome_icon_theme
|
|
|
|
hicolor_icon_theme ];
|
2009-10-19 22:05:34 +00:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/which/type -P/' scripts/*.sh
|
|
|
|
'';
|
2009-04-13 15:41:10 +00:00
|
|
|
|
2014-07-30 22:27:48 +00:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/gtkpod" \
|
|
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-07-30 22:40:05 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-13 15:41:10 +00:00
|
|
|
description = "GTK Manager for an Apple ipod";
|
|
|
|
homepage = http://gtkpod.sourceforge.net;
|
2014-07-30 22:40:05 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.skeidel ];
|
2009-04-13 15:41:10 +00:00
|
|
|
};
|
|
|
|
}
|