geoclue2: build gir
This commit is contained in:
parent
49d85d42b7
commit
72b3c4a959
@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, intltool, libintlOrEmpty, pkgconfig, glib, json-glib, libsoup, geoip
|
||||
, dbus, dbus-glib, modemmanager, avahi, glib-networking, wrapGAppsHook
|
||||
, dbus, dbus-glib, modemmanager, avahi, glib-networking, wrapGAppsHook, gobjectIntrospection
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig intltool wrapGAppsHook
|
||||
pkgconfig intltool wrapGAppsHook gobjectIntrospection
|
||||
];
|
||||
|
||||
buildInputs = libintlOrEmpty ++
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace configure --replace "-Werror" ""
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ] ++
|
||||
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" "--enable-introspection" ] ++
|
||||
optionals stdenv.isDarwin [
|
||||
"--disable-silent-rules"
|
||||
"--disable-3g-source"
|
||||
@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Geolocation framework and some data providers";
|
||||
homepage = https://freedesktop.org/wiki/Software/GeoClue/;
|
||||
maintainers = with maintainers; [ raskin garbas ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = licenses.lgpl2;
|
||||
|
Loading…
Reference in New Issue
Block a user