mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
More fixes for broken vapi and gir generation
* Man this is brittle
This commit is contained in:
parent
234855ea7d
commit
1b84a1ad42
@ -113,6 +113,7 @@ include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_GIRS = Secret-@SECRET_MAJOR@.gir SecretUnstable-0.gir
|
||||
INTROSPECTION_SCANNER_ARGS = $(INTROSPECTION_FLAGS) --warn-all --add-include-path=$(srcdir) --add-include-path=.
|
||||
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=.
|
||||
INTROSPECTION_SCANNER_ENV = PKG_CONFIG_PATH=$(builddir)
|
||||
|
||||
Secret-@SECRET_MAJOR@.gir: libsecret-@SECRET_MAJOR@.la
|
||||
|
||||
@ -125,7 +126,7 @@ Secret_@SECRET_MAJOR@_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DSECRET_CO
|
||||
Secret_@SECRET_MAJOR@_gir_FILES = $(STABLE_FILES)
|
||||
Secret_@SECRET_MAJOR@_gir_SCANNERFLAGS = --c-include "libsecret/secret.h"
|
||||
|
||||
SecretUnstable-0.gir: libsecret-@SECRET_MAJOR@.la
|
||||
SecretUnstable-0.gir: libsecret-@SECRET_MAJOR@.la libsecret-@SECRET_MAJOR@.pc
|
||||
|
||||
SecretUnstable_0_gir_NAMESPACE = SecretUnstable
|
||||
SecretUnstable_0_gir_PACKAGES = gobject-2.0 gio-2.0 libsecret-@SECRET_MAJOR@
|
||||
@ -145,9 +146,9 @@ typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
||||
if ENABLE_VAPIGEN
|
||||
include $(VAPIGEN_MAKEFILE)
|
||||
|
||||
libsecret-@SECRET_MAJOR@.vapi: Secret-@SECRET_MAJOR@.gir Secret-@SECRET_MAJOR@.metadata
|
||||
libsecret-@SECRET_MAJOR@.vapi: Secret-@SECRET_MAJOR@.gir Secret-@SECRET_MAJOR@.metadata libsecret-@SECRET_MAJOR@.deps
|
||||
|
||||
libsecret-unstable.vapi: SecretUnstable-0.gir SecretUnstable-0.metadata
|
||||
libsecret-unstable.vapi: SecretUnstable-0.gir SecretUnstable-0.metadata libsecret-unstable.deps
|
||||
|
||||
VAPIGEN_VAPIS = \
|
||||
libsecret-@SECRET_MAJOR@.vapi \
|
||||
@ -160,7 +161,10 @@ libsecret_@SECRET_MAJOR@_vapi_FILES = Secret-@SECRET_MAJOR@.gir
|
||||
libsecret_unstable_vapi_DEPS = gio-2.0 libsecret-@SECRET_MAJOR@
|
||||
libsecret_unstable_vapi_METADATADIRS = $(srcdir)
|
||||
libsecret_unstable_vapi_VAPIDIRS = $(builddir)
|
||||
libsecret_unstable_vapi_FILES = SecretUnstable-0.gir
|
||||
libsecret_unstable_vapi_GIRDIRS = $(builddir)
|
||||
# ... because _GIRDIRS above is broken, yes, this is ugly
|
||||
libsecret_unstable_vapi_FILES = --girdir=$(builddir)
|
||||
libsecret_unstable_vapi_FILES += SecretUnstable-0.gir
|
||||
|
||||
VAPI_DEPS = $(VAPIGEN_VAPIS:.vapi=.deps)
|
||||
|
||||
|
@ -165,7 +165,7 @@ VAPIGEN_VAPIS = mock-service-0.vapi
|
||||
|
||||
mock_service_0_vapi_DEPS = gio-2.0 libsecret-@SECRET_MAJOR@
|
||||
mock_service_0_vapi_METADATADIRS = $(builddir)
|
||||
mock_service_0_vapi_VAPIDIRS = $(builddir)
|
||||
mock_service_0_vapi_VAPIDIRS = $(builddir) $(builddir)/..
|
||||
mock_service_0_vapi_FILES = MockService-0.gir
|
||||
|
||||
vapidir = $(datadir)/vala/vapi
|
||||
|
Loading…
Reference in New Issue
Block a user