2017-05-02 02:45:27 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder
|
2020-09-09 23:25:54 +01:00
|
|
|
, gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk-pixbuf, gdk-pixbuf-xlib
|
2020-09-10 08:36:42 +01:00
|
|
|
, menu-cache, lxmenu-data, wirelesstools, curl
|
2017-05-02 02:45:27 +01:00
|
|
|
, supportAlsa ? false, alsaLib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-10 08:36:42 +01:00
|
|
|
name = "lxpanel-0.10.0";
|
2017-05-02 02:45:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lxde/${name}.tar.xz";
|
2020-09-10 08:36:42 +01:00
|
|
|
sha256 = "0zis3b815p375s6mymhf5sn1a0c1xv0ixxzb0mh3fqhrby6cqy26";
|
2017-05-02 02:45:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig gettext m4 intltool libxmlxx ];
|
|
|
|
buildInputs = [
|
2020-09-09 23:25:54 +01:00
|
|
|
keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk-pixbuf gdk-pixbuf-xlib.dev
|
2020-09-10 08:36:42 +01:00
|
|
|
menu-cache lxmenu-data m4 wirelesstools curl
|
2017-05-02 02:45:27 +01:00
|
|
|
] ++ stdenv.lib.optional supportAlsa alsaLib;
|
|
|
|
|
2020-09-09 23:25:54 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/Makefile.in \
|
|
|
|
--replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
|
|
|
substituteInPlace plugins/Makefile.in \
|
|
|
|
--replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
|
|
|
'';
|
|
|
|
|
2017-05-02 02:45:27 +01:00
|
|
|
meta = {
|
|
|
|
description = "Lightweight X11 desktop panel for LXDE";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://lxde.org/";
|
2017-05-02 02:45:27 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ryneeverett ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|