mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
04c7506f0f
- The split was only done where it seemed that some parts aren't really needed, which were mainly headers and gtk-doc. - Update style to be closer with what's common in nixpkgs. - Change explicit removal of icon theme cache into including the hicolor theme.
42 lines
990 B
Nix
42 lines
990 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, dbus_glib, gdk_pixbuf, curl, freetype
|
|
, libgsf, poppler, bzip2 }:
|
|
let
|
|
p_name = "tumbler";
|
|
ver_maj = "0.1";
|
|
ver_min = "31";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
sha256 = "0wvip28gm2w061hn84zp2q4dv947ihylrppahn4cjspzff935zfh";
|
|
};
|
|
|
|
outputs = [ "dev" "out" "doc" ]; # dev-doc only
|
|
|
|
buildInputs = [
|
|
pkgconfig intltool dbus_glib gdk_pixbuf curl freetype
|
|
poppler libgsf bzip2
|
|
];
|
|
|
|
configureFlags = [
|
|
# Needs gst-tag
|
|
# "--enable-gstreamer-thumbnailer"
|
|
|
|
# Needs libffmpegthumbnailer
|
|
# "--enable-ffmpeg-thumbnailer"
|
|
|
|
"--enable-odf-thumbnailer"
|
|
"--enable-poppler-thumbnailer"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://git.xfce.org/xfce/tumbler/;
|
|
description = "A D-Bus thumbnailer service";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|
|
|