2016-08-21 19:10:06 +03:00
|
|
|
{ fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala_0_28, sqlite
|
2016-07-15 18:01:41 +03:00
|
|
|
, webkitgtk, pkgconfig, gnome3, gst_all_1, which, udev, libgudev, libraw, glib, json_glib
|
2016-08-19 14:33:06 +03:00
|
|
|
, gettext, desktop_file_utils, lcms2, gdk_pixbuf, librsvg, wrapGAppsHook
|
2017-03-05 13:54:21 +03:00
|
|
|
, gnome_doc_utils, hicolor_icon_theme, itstool, libgdata }:
|
2013-07-14 17:14:37 +04:00
|
|
|
|
|
|
|
# for dependencies see http://www.yorba.org/projects/shotwell/install/
|
|
|
|
|
2015-07-30 14:00:37 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2016-07-15 18:01:41 +03:00
|
|
|
version = "${major}.${minor}";
|
2017-04-06 23:25:03 +03:00
|
|
|
major = "0.26";
|
2017-06-18 13:33:25 +03:00
|
|
|
minor = "2";
|
2013-07-14 17:14:37 +04:00
|
|
|
name = "shotwell-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-15 18:01:41 +03:00
|
|
|
url = "mirror://gnome/sources/shotwell/${major}/${name}.tar.xz";
|
2017-06-18 13:33:25 +03:00
|
|
|
sha256 = "0frjqa6nmh025clwnb74z2rzbdq65wjcp2lf9csgcbkpahyjhrag";
|
2013-07-14 17:14:37 +04:00
|
|
|
};
|
|
|
|
|
2016-04-16 19:57:59 +03:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include";
|
2015-07-31 02:30:15 +03:00
|
|
|
|
2013-07-14 17:14:37 +04:00
|
|
|
configureFlags = [ "--disable-gsettings-convert-install" ];
|
2015-07-31 02:30:15 +03:00
|
|
|
|
2015-01-08 12:26:49 +03:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2017-06-18 13:33:25 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
|
|
|
2016-08-21 19:10:06 +03:00
|
|
|
buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala_0_28 sqlite webkitgtk
|
2017-06-18 13:33:25 +03:00
|
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
|
2015-11-24 16:52:48 +03:00
|
|
|
which udev libgudev gnome3.gexiv2 hicolor_icon_theme
|
2015-07-30 14:00:37 +03:00
|
|
|
libraw json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg
|
2017-06-18 13:33:25 +03:00
|
|
|
gnome_doc_utils gnome3.rest gnome3.gcr
|
2017-03-05 13:54:21 +03:00
|
|
|
gnome3.defaultIconTheme itstool libgdata ];
|
2013-07-14 17:14:37 +04:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Popular photo organizer for the GNOME desktop";
|
2016-01-01 22:01:42 +03:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Shotwell;
|
2014-03-20 00:10:15 +04:00
|
|
|
license = licenses.lgpl21Plus;
|
2016-05-17 14:57:28 +03:00
|
|
|
maintainers = with maintainers; [domenkozar];
|
2013-07-14 17:14:37 +04:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-03-20 00:10:15 +04:00
|
|
|
}
|