libfm: 1.3.0.2 → 1.3.1

This commit is contained in:
Jan Tojnar 2018-12-25 12:51:26 +01:00
parent 425355b07b
commit 1c041f5b0f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -9,23 +9,29 @@ stdenv.mkDerivation rec {
name = if extraOnly name = if extraOnly
then "libfm-extra-${version}" then "libfm-extra-${version}"
else "libfm-${version}"; else "libfm-${version}";
version = "1.3.0.2"; version = "1.3.1";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/pcmanfm/libfm-${version}.tar.xz"; url = "mirror://sourceforge/pcmanfm/libfm-${version}.tar.xz";
sha256 = "0wkwbi1nyvqza3r1dhrq846axiiq0fy0dqgngnagh76fjrwnzl0q"; sha256 = "1r6gl49xrykldwz8y4h2s7gjarxigg3bbkrj0gphxjj1vr5j9ccn";
}; };
nativeBuildInputs = [ vala pkgconfig intltool ]; nativeBuildInputs = [ vala pkgconfig intltool ];
buildInputs = [ glib gtk pango ] ++ optional (!extraOnly) menu-cache; buildInputs = [ glib gtk pango ] ++ optional (!extraOnly) menu-cache;
configureFlags = optional extraOnly "--with-extra-only" configureFlags = [
"--sysconfdir=/etc"
] ++ optional extraOnly "--with-extra-only"
++ optional withGtk3 "--with-gtk=3"; ++ optional withGtk3 "--with-gtk=3";
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://blog.lxde.org/?cat=28/; homepage = https://blog.lxde.org/category/pcmanfm/;
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
description = "A glib-based library for file management"; description = "A glib-based library for file management";
maintainers = [ maintainers.ttuegel ]; maintainers = [ maintainers.ttuegel ];