summaryrefslogtreecommitdiff
path: root/package/libsecret/patches/patch-libsecret_Makefile_am
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsecret/patches/patch-libsecret_Makefile_am')
-rw-r--r--package/libsecret/patches/patch-libsecret_Makefile_am95
1 files changed, 95 insertions, 0 deletions
diff --git a/package/libsecret/patches/patch-libsecret_Makefile_am b/package/libsecret/patches/patch-libsecret_Makefile_am
new file mode 100644
index 000000000..88e9ef5fb
--- /dev/null
+++ b/package/libsecret/patches/patch-libsecret_Makefile_am
@@ -0,0 +1,95 @@
+--- libsecret-0.16.orig/libsecret/Makefile.am 2013-08-26 17:42:16.000000000 +0200
++++ libsecret-0.16/libsecret/Makefile.am 2013-11-21 12:06:37.000000000 +0100
+@@ -1,6 +1,6 @@
+ include $(top_srcdir)/Makefile.decl
+
+-SUBDIRS = . tests
++SUBDIRS = .
+
+ AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+@@ -107,84 +107,6 @@ secret-enum-types.c: secret-enum-types.c
+
+ CLEANFILES =
+
+-# ------------------------------------------------------------------
+-# INTROSPECTION
+-
+-if HAVE_INTROSPECTION
+-
+-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=.
+-
+-Secret-@SECRET_MAJOR@.gir: libsecret-@SECRET_MAJOR@.la
+-
+-Secret_@SECRET_MAJOR@_gir_NAMESPACE = Secret
+-Secret_@SECRET_MAJOR@_gir_EXPORT_PACKAGES = libsecret-@SECRET_MAJOR@
+-Secret_@SECRET_MAJOR@_gir_INCLUDES = GObject-2.0 Gio-2.0
+-Secret_@SECRET_MAJOR@_gir_LIBS = libsecret-@SECRET_MAJOR@.la
+-Secret_@SECRET_MAJOR@_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DSECRET_COMPILATION
+-Secret_@SECRET_MAJOR@_gir_FILES = $(STABLE_FILES)
+-Secret_@SECRET_MAJOR@_gir_SCANNERFLAGS = --c-include "libsecret/secret.h"
+-
+-SecretUnstable-0.gir: Secret-@SECRET_MAJOR@.gir
+-
+-SecretUnstable_0_gir_NAMESPACE = SecretUnstable
+-SecretUnstable_0_gir_EXPORT_PACKAGES = libsecret-unstable
+-SecretUnstable_0_gir_INCLUDES = GObject-2.0 Gio-2.0
+-SecretUnstable_0_gir_LIBS = libsecret-@SECRET_MAJOR@.la
+-SecretUnstable_0_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DSECRET_COMPILATION -DSECRET_API_SUBJECT_TO_CHANGE
+-SecretUnstable_0_gir_FILES = $(UNSTABLE_FILES)
+-SecretUnstable_0_gir_SCANNERFLAGS = --c-include "libsecret/secret.h" --identifier-prefix=Secret --symbol-prefix=secret --include-uninstalled=$(builddir)/Secret-@SECRET_MAJOR@.gir
+-
+-girdir = $(datadir)/gir-1.0
+-gir_DATA = $(INTROSPECTION_GIRS)
+-
+-typelibsdir = $(libdir)/girepository-1.0
+-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@.deps
+-
+-libsecret-unstable.vapi: SecretUnstable-0.gir SecretUnstable-0.metadata libsecret-unstable.deps
+-
+-VAPIGEN_VAPIS = \
+- libsecret-@SECRET_MAJOR@.vapi \
+- libsecret-unstable.vapi
+-
+-libsecret_@SECRET_MAJOR@_vapi_DEPS = glib-2.0 gio-2.0
+-libsecret_@SECRET_MAJOR@_vapi_METADATADIRS = $(srcdir)
+-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_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)
+-
+-libsecret-$(SECRET_MAJOR).deps: Makefile.am
+- $(AM_V_GEN) echo $(libsecret_@SECRET_MAJOR@_vapi_DEPS) | tr ' ' '\n' > $@
+-libsecret-unstable.deps: Makefile.am
+- $(AM_V_GEN) echo $(libsecret_unstable_vapi_DEPS) | tr ' ' '\n' > $@
+-
+-vapidir = $(datadir)/vala/vapi
+-vapi_DATA = \
+- $(VAPIGEN_VAPIS) \
+- $(VAPI_DEPS)
+-
+-CLEANFILES += \
+- $(VAPIGEN_VAPIS) \
+- $(VAPI_DEPS)
+-
+-endif # ENABLE_VAPIGEN
+-endif # HAVE_INTROSPECTION
+
+ # ------------------------------------------------------------------
+ # PKG CONFIG