Merge pull request #28840 from romildo/upd.uget

uget: 2.0.8 -> 2.0.10
This commit is contained in:
Joachim F 2017-09-01 18:20:00 +00:00 committed by GitHub
commit 189797c795

View File

@ -1,32 +1,37 @@
{ stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify, gstreamer, { stdenv, fetchurl, pkgconfig, intltool, openssl, curl, libnotify,
gst-plugins-base, gst-plugins-good, gnome3, makeWrapper, aria2 ? null }: libappindicator-gtk3, gst_all_1, gnome3, wrapGAppsHook, aria2 ? null
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "uget-${version}"; name = "uget-${version}";
version = "2.0.8"; version = "2.0.10";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/urlget/${name}.tar.gz"; url = "mirror://sourceforge/urlget/${name}.tar.gz";
sha256 = "0919cf7lfk1djdl003cahqjvafdliv7v2l8r5wg95n4isqggdk75"; sha256 = "1zldsiy83xxpm8jdh1i9h7zrh8ak52srgy38fiyszysfapl8nx8a";
}; };
nativeBuildInputs = [ pkgconfig intltool makeWrapper ]; nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [ buildInputs = [
openssl curl libnotify gstreamer gst-plugins-base gst-plugins-good openssl
gnome3.gtk (stdenv.lib.getLib gnome3.dconf) curl
libnotify
libappindicator-gtk3
gnome3.gtk
(stdenv.lib.getLib gnome3.dconf)
] ]
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ])
++ (stdenv.lib.optional (aria2 != null) aria2); ++ (stdenv.lib.optional (aria2 != null) aria2);
enableParallelBuilding = true; enableParallelBuilding = true;
preFixup = '' preFixup = stdenv.lib.optionalString (aria2 != null)
wrapProgram $out/bin/uget-gtk \ ''gappsWrapperArgs+=(--suffix PATH : "${aria2}/bin")'';
${stdenv.lib.optionalString (aria2 != null) ''--suffix PATH : "${aria2}/bin"''} \
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Download manager using gtk+ and libcurl"; description = "Download manager using gtk+ and libcurl";
@ -37,9 +42,9 @@ stdenv.mkDerivation rec {
thinking that it "might be too powerful" because remember power is good thinking that it "might be too powerful" because remember power is good
and lightweight power is uGet! and lightweight power is uGet!
''; '';
license = licenses.lgpl21;
homepage = http://www.ugetdm.com; homepage = http://www.ugetdm.com;
maintainers = with maintainers; [ romildo ]; license = licenses.lgpl21;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
}; };
} }