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
|
{ 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;
|
with stdenv.lib;
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig intltool wrapGAppsHook
|
pkgconfig intltool wrapGAppsHook gobjectIntrospection
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty ++
|
buildInputs = libintlOrEmpty ++
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace configure --replace "-Werror" ""
|
substituteInPlace configure --replace "-Werror" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ] ++
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" "--enable-introspection" ] ++
|
||||||
optionals stdenv.isDarwin [
|
optionals stdenv.isDarwin [
|
||||||
"--disable-silent-rules"
|
"--disable-silent-rules"
|
||||||
"--disable-3g-source"
|
"--disable-3g-source"
|
||||||
@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Geolocation framework and some data providers";
|
description = "Geolocation framework and some data providers";
|
||||||
|
homepage = https://freedesktop.org/wiki/Software/GeoClue/;
|
||||||
maintainers = with maintainers; [ raskin garbas ];
|
maintainers = with maintainers; [ raskin garbas ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
|
Loading…
Reference in New Issue
Block a user