2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, dbus-glib, gdk_pixbuf, curl, freetype
|
2015-10-14 12:23:37 +01:00
|
|
|
, 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
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-10-14 12:23:37 +01:00
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
intltool dbus-glib gdk_pixbuf curl freetype
|
2015-10-14 12:23:37 +01:00
|
|
|
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
|
|
|
|