1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/gobject-introspection/trunk/Makefile

Revision 21008, 3.1 KB (checked in by cgrzemba, 6 weeks ago)

gobject-introspection/trunk: add dependency base pkg to the dev package

Line 
1NAME = gobject-introspection
2VERSION = 1.31.22
3CATEGORIES = gnome
4GARTYPE = v2
5
6DESCRIPTION = Package for extending API for GObject based libraries
7define 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.
11endef
12
13MASTER_SITES = $(GNOME_MIRROR)
14DISTFILES  = $(NAME)-$(VERSION).tar.xz
15
16PATCHFILES += 0001-Use-named-union.patch
17
18VENDOR_URL = http://live.gnome.org/GObjectIntrospection
19
20# the warn tests fail, because it reports more warnings than expected
21SKIPTEST ?= 1
22
23BUILD_DEP_PKGS += CSWbison
24BUILD_DEP_PKGS += CSWlibffi-dev
25BUILD_DEP_PKGS += CSWgtk-doc
26
27PACKAGES += CSWlibgirepository1-0-1
28CATALOGNAME_CSWlibgirepository1-0-1 = libgirepository1_0_1
29PKGFILES_CSWlibgirepository1-0-1 += $(call baseisadirs,$(libdir),libgirepository-1\.0\.so\.1\.0\.0)
30PKGFILES_CSWlibgirepository1-0-1 += $(call baseisadirs,$(libdir),libgirepository-1\.0\.so\.1(\.\d+)*)
31SPKG_DESC_CSWlibgirepository1-0-1 += $(DESCRIPTION), libgirepository-1.0.so.1
32RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgmodule2-0-0
33RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgobject2-0-0
34RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibgio2-0-0
35RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibffi4
36RUNTIME_DEP_PKGS_CSWlibgirepository1-0-1 += CSWlibglib2-0-0
37
38PACKAGES += CSWgobject-introspection-dev
39CATALOGNAME_CSWgobject-introspection-dev = gobject_introspection_dev
40SPKG_DESC_CSWgobject-introspection-dev += $(DESCRIPTION), development files
41PKGFILES_CSWgobject-introspection-dev += $(PKGFILES_DEVEL)
42PKGFILES_CSWgobject-introspection-dev += /opt/csw/lib/libgirepository-1.0.so
43RUNTIME_DEP_PKGS_CSWgobject-introspection-dev += CSWlibgirepository1-0-1
44RUNTIME_DEP_PKGS_CSWgobject-introspection-dev += CSWgobject-introspection
45
46PACKAGES += CSWgobject-introspection
47SPKG_DESC_CSWgobject-introspection += $(DESCRIPTION), bins
48RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgirepository1-0-1
49RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWpython
50RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgobject2-0-0
51RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibgio2-0-0
52RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibffi4
53RUNTIME_DEP_PKGS_CSWgobject-introspection += CSWlibglib2-0-0
54
55# These are just docs
56CHECKPKG_OVERRIDES_CSWgobject-introspection += file-with-bad-content|/usr/local|root/opt/csw/share/gir-1.0/GLib-2.0.gir
57CHECKPKG_OVERRIDES_CSWgobject-introspection += file-with-bad-content|/usr/share|root/opt/csw/share/gir-1.0/Gio-2.0.gir
58CHECKPKG_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
63PYCOMPILE = 1
64EXTRA_MERGE_EXCLUDE_FILES += .*\.pyo .*\.pyc
65
66BUILD_OVERRIDE_VARS = V
67BUILD_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
72CONFIGURE_ARGS  = $(DIRPATHS)
73CONFIGURE_ARGS += --disable-silent-rules
74CONFIGURE_ARGS += --enable-gtk-doc
75
76include gar/category.mk
Note: See TracBrowser for help on using the browser.