2013-02-21 11:16:51 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
|
2014-10-23 11:42:43 +00:00
|
|
|
, libwnck, exo, garcon, xfconf, libstartup_notification
|
2014-10-23 12:08:33 +00:00
|
|
|
, makeWrapper, xfce4mixer }:
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-panel";
|
2015-03-12 21:46:47 +00:00
|
|
|
ver_maj = "4.12";
|
|
|
|
ver_min = "0";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2015-03-12 21:46:47 +00:00
|
|
|
sha256 = "1c4p3ckghvsad1sj5v8wmar5mh9cbhail9mmhad2f9pwwb10z4ih";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
patches = [ ./xfce4-panel-datadir.patch ];
|
|
|
|
patchFlags = "-p1";
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool gtk libxfce4util exo libwnck
|
2014-10-23 12:08:33 +00:00
|
|
|
garcon xfconf libstartup_notification makeWrapper
|
|
|
|
] ++ xfce4mixer.gst_plugins;
|
2013-02-21 11:16:51 +00:00
|
|
|
propagatedBuildInputs = [ libxfce4ui ];
|
|
|
|
|
2014-10-23 11:42:43 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xfce4-panel" \
|
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
|
|
|
|
'';
|
|
|
|
|
2013-02-21 11:16:51 +00:00
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/projects/xfce4-panel;
|
|
|
|
description = "Xfce panel";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-02-21 11:16:51 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
|
|
|
}
|