| 1 | NAME = gobject-introspection |
|---|
| 2 | VERSION = 1.31.22 |
|---|
| 3 | CATEGORIES = gnome |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Package for extending API for GObject based libraries |
|---|
| 7 | define BLURB |
|---|
| 8 | GObject-introspection is a package which will collect and extend the API |
|---|
| 9 | metadata for GObject based libraries. The main motivation of this work is to |
|---|
| 10 | centralize all introspection information required to write a language binding. |
|---|
| 11 | endef |
|---|
| 12 | |
|---|
| 13 | MASTER_SITES = $(GNOME_MIRROR) |
|---|
| 14 | DISTFILES = $(NAME)-$(VERSION).tar.xz |
|---|
| 15 | |
|---|
| 16 | PATCHFILES += 0001-Use-named-union.patch |
|---|
| 17 | |
|---|
| 18 | VENDOR_URL = http://live.gnome.org/GObjectIntrospection |
|---|
| 19 | |
|---|
| 20 | # the warn tests fail, because it reports more warnings than expected |
|---|
| 21 | SKIPTEST ?= 1 |
|---|
| 22 | |
|---|
| 23 | BUILD_DEP_PKGS += CSWbison |
|---|
| 24 | BUILD_DEP_PKGS += CSWlibffi-dev |
|---|
| 25 | BUILD_DEP_PKGS += CSWgtk-doc |
|---|
| 26 | |
|---|
| 27 | PACKAGES += CSWlibgirepository1-0-1 |
|---|
| 28 | CATALOGNAME_CSWlibgirepository1-0-1 = libgirepository1_0_1 |
|---|
| 29 | PKGFILES_CSWlibgirepository1-0-1 += $(call baseisadirs,$(libdir),libgirepository-1\.0\.so\.1\.0\.0) |
|---|
| 30 | PKGFILES_CSWlibgirepository1-0-1 += $(call baseisadirs,$(libdir),libgirepository-1\.0\.so\.1(\.\d+)*) |
|---|
| 31 | SPKG_DESC_CSWlibgirepository1-0-1 += $(DESCRIPTION), libgirepository-1.0.so.1 |
|---|
| 32 | RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgmodule2-0-0 |
|---|
| 33 | RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgobject2-0-0 |
|---|
| 34 | RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgio2-0-0 |
|---|
| 35 | RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibffi4 |
|---|
| 36 | RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibglib2-0-0 |
|---|
| 37 | |
|---|
| 38 | PACKAGES += CSWgobject-introspection-dev |
|---|
| 39 | CATALOGNAME_CSWgobject-introspection-dev = gobject_introspection_dev |
|---|
| 40 | SPKG_DESC_CSWgobject-introspection-dev += $(DESCRIPTION), development files |
|---|
| 41 | PKGFILES_CSWgobject-introspection-dev += $(PKGFILES_DEVEL) |
|---|
| 42 | PKGFILES_CSWgobject-introspection-dev += /opt/csw/lib/libgirepository-1.0.so |
|---|
| 43 | RUNTIME_DEP_PKGS_CSWgobject-introspection-dev += CSWlibgirepository1-0-1 |
|---|
| 44 | RUNTIME_DEP_PKGS_CSWgobject-introspection-dev += CSWgobject-introspection |
|---|
| 45 | |
|---|
| 46 | PACKAGES += CSWgobject-introspection |
|---|
| 47 | SPKG_DESC_CSWgobject-introspection += $(DESCRIPTION), bins |
|---|
| 48 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgirepository1-0-1 |
|---|
| 49 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWpython |
|---|
| 50 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgobject2-0-0 |
|---|
| 51 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgio2-0-0 |
|---|
| 52 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibffi4 |
|---|
| 53 | RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibglib2-0-0 |
|---|
| 54 | |
|---|
| 55 | # These are just docs |
|---|
| 56 | CHECKPKG_OVERRIDES_CSWgobject-introspection += file-with-bad-content|/usr/local|root/opt/csw/share/gir-1.0/GLib-2.0.gir |
|---|
| 57 | CHECKPKG_OVERRIDES_CSWgobject-introspection += file-with-bad-content|/usr/share|root/opt/csw/share/gir-1.0/Gio-2.0.gir |
|---|
| 58 | CHECKPKG_OVERRIDES_CSWgobject-introspection += file-with-bad-content|/usr/share|root/opt/csw/lib/gobject-introspection/giscanner/transformer.py |
|---|
| 59 | |
|---|
| 60 | # Python isn't 64-bit yet |
|---|
| 61 | #BUILD64 = 1 |
|---|
| 62 | |
|---|
| 63 | PYCOMPILE = 1 |
|---|
| 64 | EXTRA_MERGE_EXCLUDE_FILES += .*\.pyo .*\.pyc |
|---|
| 65 | |
|---|
| 66 | BUILD_OVERRIDE_VARS = V |
|---|
| 67 | BUILD_OVERRIDE_VARS_V = 1 |
|---|
| 68 | |
|---|
| 69 | # this has not helped, I have added -lgmodule-2.0 in glib-2.0.pc (dirty hack) |
|---|
| 70 | # EXTRA_LINKER_FLAGS += -lgmodule-2.0 |
|---|
| 71 | |
|---|
| 72 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 73 | CONFIGURE_ARGS += --disable-silent-rules |
|---|
| 74 | CONFIGURE_ARGS += --enable-gtk-doc |
|---|
| 75 | |
|---|
| 76 | include gar/category.mk |
|---|