2015-10-14 12:23:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, dbus_glib, gdk_pixbuf, curl, freetype
|
|
|
|
, libgsf, poppler, bzip2 }:
|
|
|
|
let
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "tumbler";
|
|
|
|
ver_maj = "0.1";
|
2015-03-12 21:46:47 +00:00
|
|
|
ver_min = "31";
|
2015-10-14 12:23:37 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
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 = "0wvip28gm2w061hn84zp2q4dv947ihylrppahn4cjspzff935zfh";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
|
2016-09-01 10:07:23 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-14 12:23:37 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig intltool dbus_glib gdk_pixbuf curl freetype
|
|
|
|
poppler libgsf bzip2
|
|
|
|
];
|
2013-11-12 11:37:49 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
# Needs gst-tag
|
|
|
|
# "--enable-gstreamer-thumbnailer"
|
|
|
|
|
|
|
|
# Needs libffmpegthumbnailer
|
|
|
|
# "--enable-ffmpeg-thumbnailer"
|
2015-10-14 12:23:37 +01:00
|
|
|
|
2013-11-12 11:37:49 +00:00
|
|
|
"--enable-odf-thumbnailer"
|
|
|
|
"--enable-poppler-thumbnailer"
|
|
|
|
];
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2015-10-14 12:23:37 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-21 11:16:51 +00:00
|
|
|
homepage = http://git.xfce.org/xfce/tumbler/;
|
|
|
|
description = "A D-Bus thumbnailer service";
|
2015-10-14 12:23:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|
2015-10-14 12:23:37 +01:00
|
|
|
|