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