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
|
{ stdenv, gettext, fetchurl, evolution-data-server
|
||||||
, pkgconfig, gtk3, glib, libsecret
|
, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, gtk3, glib, cheese
|
||||||
, libchamplain, clutter-gtk, geocode-glib
|
, libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts
|
||||||
, bash, wrapGAppsHook, itstool, folks, libnotify, libxml2
|
, wrapGAppsHook, folks, libxml2, gnome3, telepathy-glib
|
||||||
, gnome3, librsvg, gdk_pixbuf, file, telepathy-glib, nspr, nss
|
, vala, meson, ninja }:
|
||||||
, libsoup, vala, dbus-glib, automake, autoconf }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "gnome-contacts-${version}";
|
|
||||||
version = "3.26.1";
|
version = "3.26.1";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "gnome-contacts-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-contacts/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gnome-contacts/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "1jszv4b8rc5q8r460wb7qppvm1ssj4733b4z2vyavc95g00ik286";
|
sha256 = "1jszv4b8rc5q8r460wb7qppvm1ssj4733b4z2vyavc95g00ik286";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
propagatedUserEnvPkgs = [ evolution-data-server ];
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-contacts"; attrPath = "gnome3.gnome-contacts"; };
|
|
||||||
};
|
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;
|
doCheck = true;
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard evolution-data-server ];
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
# force build from vala
|
packageName = "gnome-contacts";
|
||||||
preBuild = ''
|
attrPath = "gnome3.gnome-contacts";
|
||||||
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";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Contacts;
|
homepage = https://wiki.gnome.org/Apps/Contacts;
|
||||||
description = "Contacts is GNOME's integrated address book";
|
description = "GNOME’s integrated address book";
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
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…
x
Reference in New Issue
Block a user