Merge pull request #14739 from rycee/bump/gnome3-tracker

gnome3.tracker: 1.4.0 -> 1.8.0
This commit is contained in:
Arseniy Seroka 2016-04-17 00:25:34 +03:00
commit 7c07fc17d9

View File

@ -1,6 +1,6 @@
{ stdenv, intltool, fetchurl, libxml2, upower { stdenv, intltool, fetchurl, libxml2, upower
, pkgconfig, gtk3, glib , pkgconfig, gtk3, glib, dconf
, bash, makeWrapper, itstool, vala, sqlite, libxslt , bash, wrapGAppsHook, itstool, vala, sqlite, libxslt
, gnome3, librsvg, gdk_pixbuf, file, libnotify , gnome3, librsvg, gdk_pixbuf, file, libnotify
, evolution_data_server, gst_all_1, poppler , evolution_data_server, gst_all_1, poppler
, icu, taglib, libjpeg, libtiff, giflib, libcue , icu, taglib, libjpeg, libtiff, giflib, libcue
@ -8,41 +8,36 @@
, libpng, libexif, libgsf, libuuid, bzip2 }: , libpng, libexif, libgsf, libuuid, bzip2 }:
let let
majorVersion = "1.4"; majorVersion = "1.8";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tracker-${majorVersion}.0"; name = "tracker-${majorVersion}.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/tracker/${majorVersion}/${name}.tar.xz"; url = "mirror://gnome/sources/tracker/${majorVersion}/${name}.tar.xz";
sha256 = "1ssisbix7ib3d6bgx9s675gx6ayy68jq2srhpzv038mkbaskaz68"; sha256 = "0zchaahk4w7dwanqk1vx0qgnyrlzlp81krwawfx3mv5zffik27x1";
}; };
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ]; propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0 -I${poppler}/include/poppler"; nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
enableParallelBuilding = true; buildInputs = [ vala gtk3 glib dconf intltool itstool libxml2
buildInputs = [ vala pkgconfig gtk3 glib intltool itstool libxml2
bzip2 gnome3.totem-pl-parser libxslt bzip2 gnome3.totem-pl-parser libxslt
gnome3.gsettings_desktop_schemas makeWrapper file gnome3.gsettings_desktop_schemas wrapGAppsHook file
gdk_pixbuf gnome3.defaultIconTheme librsvg sqlite gdk_pixbuf gnome3.defaultIconTheme librsvg sqlite
upower libnotify evolution_data_server gnome3.libgee upower libnotify evolution_data_server gnome3.libgee
gst_all_1.gstreamer gst_all_1.gst-plugins-base flac gst_all_1.gstreamer gst_all_1.gst-plugins-base flac
poppler icu taglib libjpeg libtiff giflib libvorbis poppler icu taglib libjpeg libtiff giflib libvorbis
exempi networkmanager libpng libexif libgsf libuuid ]; exempi networkmanager libpng libexif libgsf libuuid ];
preConfigure = '' NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0 -I${poppler.dev}/include/poppler";
substituteInPlace src/libtracker-sparql/Makefile.in --replace "--shared-library=libtracker-sparql" "--shared-library=$out/lib/libtracker-sparql"
'';
preFixup = '' enableParallelBuilding = true;
for f in $out/bin/* $out/libexec/*; do
wrapProgram $f \ preConfigure = ''
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ substituteInPlace src/libtracker-sparql/Makefile.in \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" --replace "--shared-library=libtracker-sparql" "--shared-library=$out/lib/libtracker-sparql"
done
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {