gnome3.gnome-contacts: fix build
This commit is contained in:
parent
a57e9e289f
commit
3e2b430c26
|
@ -1,51 +1,49 @@
|
|||
{ stdenv, intltool, fetchurl, evolution-data-server, db
|
||||
, pkgconfig, gtk3, glib, libsecret
|
||||
, libchamplain, clutter-gtk, geocode-glib
|
||||
, bash, wrapGAppsHook, itstool, folks, libnotify, libxml2
|
||||
, gnome3, librsvg, gdk_pixbuf, file, telepathy-glib, nspr, nss
|
||||
, libsoup, vala, dbus-glib, automake, autoconf }:
|
||||
{ stdenv, gettext, fetchurl, evolution-data-server
|
||||
, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, gtk3, glib, cheese
|
||||
, libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts
|
||||
, wrapGAppsHook, folks, libxml2, gnome3, telepathy-glib
|
||||
, vala, meson, ninja }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-contacts-${version}";
|
||||
let
|
||||
version = "3.26.1";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "gnome-contacts-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-contacts/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "1jszv4b8rc5q8r460wb7qppvm1ssj4733b4z2vyavc95g00ik286";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript { packageName = "gnome-contacts"; attrPath = "gnome3.gnome-contacts"; };
|
||||
};
|
||||
propagatedUserEnvPkgs = [ evolution-data-server ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig vala gettext libxslt docbook_xsl docbook_xml_dtd_42 wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3 glib evolution-data-server gnome3.gsettings-desktop-schemas
|
||||
folks gnome-desktop telepathy-glib
|
||||
libxml2 gnome-online-accounts cheese
|
||||
gnome3.defaultIconTheme libchamplain clutter-gtk geocode-glib
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py
|
||||
patchShebangs meson_post_install.py
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard evolution-data-server ];
|
||||
|
||||
# force build from vala
|
||||
preBuild = ''
|
||||
touch src/*.vala
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ vala automake autoconf pkgconfig intltool itstool wrapGAppsHook file ];
|
||||
buildInputs = [ gtk3 glib evolution-data-server gnome3.gsettings-desktop-schemas libnotify
|
||||
folks gnome3.gnome-desktop telepathy-glib libsecret dbus-glib
|
||||
libxml2 libsoup gnome3.gnome-online-accounts nspr nss
|
||||
gdk_pixbuf gnome3.defaultIconTheme libchamplain clutter-gtk geocode-glib db ];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome-themes-standard}/share"
|
||||
)
|
||||
'';
|
||||
|
||||
patches = [ ./gio_unix.patch ];
|
||||
|
||||
patchFlags = "-p0";
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = "gnome-contacts";
|
||||
attrPath = "gnome3.gnome-contacts";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Contacts;
|
||||
description = "Contacts is GNOME's integrated address book";
|
||||
description = "GNOME’s integrated address book";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- configure.ac.orig 2015-04-09 18:45:50.581232289 +0200
|
||||
+++ configure.ac 2015-04-09 18:45:59.744280137 +0200
|
||||
@@ -54,6 +54,7 @@
|
||||
champlain-0.12
|
||||
clutter-gtk-1.0
|
||||
geocode-glib-1.0 >= 3.15.3
|
||||
+ gio-unix-2.0
|
||||
"
|
||||
PKG_CHECK_MODULES(CONTACTS, [$pkg_modules])
|
||||
|
Loading…
Reference in a new issue