2013-12-24 04:43:57 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, gst_all_1
|
2018-02-25 02:23:58 +00:00
|
|
|
, gtk, dbus-glib, libxfce4ui, libxfce4util, xfconf
|
2018-03-05 17:40:01 +00:00
|
|
|
, taglib, libnotify, hicolor-icon-theme
|
2013-12-24 04:43:57 +00:00
|
|
|
, withGstPlugins ? true
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "parole";
|
|
|
|
ver_maj = "0.5";
|
|
|
|
ver_min = "4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "1hxzqg9dfghrhvmnnccwwa4278fh2awkcqy89sla05m08mxvvx60";
|
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-03-05 17:40:01 +00:00
|
|
|
makeWrapper hicolor-icon-theme
|
2018-02-25 02:23:58 +00:00
|
|
|
gtk dbus-glib libxfce4ui libxfce4util xfconf
|
2013-12-24 04:43:57 +00:00
|
|
|
taglib libnotify
|
2014-02-28 08:11:50 +00:00
|
|
|
] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav]);
|
2013-12-24 04:43:57 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--with-gstreamer=1.0" ];
|
|
|
|
|
|
|
|
postInstall = stdenv.lib.optionalString withGstPlugins ''
|
|
|
|
wrapProgram "$out/bin/parole" --prefix \
|
2014-02-28 01:03:07 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
2013-12-24 04:43:57 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
|
|
|
|
description = "Modern simple media player";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|