2019-08-13 18:51:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-13 18:51:01 +00:00
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, libX11
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, pango
|
|
|
|
, cairo
|
|
|
|
, libXres
|
|
|
|
, libstartup_notification
|
|
|
|
, gettext
|
|
|
|
, gobject-introspection
|
|
|
|
, gnome3
|
|
|
|
}:
|
2012-03-19 04:36:51 +00:00
|
|
|
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 07:35:54 +00:00
|
|
|
pname = "libwnck";
|
2020-03-26 16:29:14 +00:00
|
|
|
version = "3.36.0";
|
2019-08-13 18:51:01 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
2012-03-19 04:36:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 18:51:01 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-03-26 16:29:14 +00:00
|
|
|
sha256 = "0pwjdhca9lz2n1gf9b60xf0m6ipf9snp8rqf9csj4pgdnd882l5w";
|
2012-03-19 04:36:51 +00:00
|
|
|
};
|
|
|
|
|
2019-08-13 18:51:01 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-13 18:51:01 +00:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
2015-10-28 18:20:11 +00:00
|
|
|
|
2019-08-13 18:51:01 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libstartup_notification
|
|
|
|
pango
|
|
|
|
cairo
|
|
|
|
libXres
|
|
|
|
];
|
2014-01-05 18:50:03 +00:00
|
|
|
|
2019-08-13 18:51:01 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2019-08-13 18:51:01 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
];
|
2018-03-21 07:35:54 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-08-13 18:51:01 +00:00
|
|
|
attrPath = "${pname}${stdenv.lib.versions.major version}";
|
2018-03-21 07:35:54 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to manage X windows and workspaces (via pagers, tasklists, etc.)";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-02-10 05:27:16 +00:00
|
|
|
maintainers = [ maintainers.worldofpeace ];
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2012-03-19 04:36:51 +00:00
|
|
|
}
|