cogl: Remove introspection option. Darwin !x11 case appears broken, anyone want to investigate? https://marc.info/?l=pkgsrc-users&m=165444158600671&w=2diff -r1.31 -r1.32 pkgsrc/graphics/cogl/Makefile
(nia)
@@ -1,50 +1,53 @@ | @@ -1,50 +1,53 @@ | |||
1 | # $NetBSD: Makefile,v 1.31 2021/12/08 16:02:08 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.32 2022/06/28 10:40:39 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= cogl-1.22.0 | 3 | DISTNAME= cogl-1.22.0 | |
4 | PKGREVISION= 12 | 4 | PKGREVISION= 12 | |
5 | CATEGORIES= graphics gnome | 5 | CATEGORIES= graphics gnome | |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/cogl/${PKGVERSION_NOREV:R}/} | 6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/cogl/${PKGVERSION_NOREV:R}/} | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://cogl3d.org/ | 10 | HOMEPAGE= https://cogl3d.org/ | |
11 | COMMENT= Modern 3D graphics API | 11 | COMMENT= Modern 3D graphics API | |
12 | LICENSE= mit AND sgi-free-software-b-v2.0 AND modified-bsd | 12 | LICENSE= mit AND sgi-free-software-b-v2.0 AND modified-bsd | |
13 | # if --standalone | 13 | # if --standalone | |
14 | # LICENSE += AND gnu-lgpl-v2.1 | 14 | # LICENSE += AND gnu-lgpl-v2.1 | |
15 | 15 | |||
16 | CONFLICTS+= clutter<1.8 | 16 | CONFLICTS+= clutter<1.8 | |
17 | 17 | |||
18 | GNU_CONFIGURE= yes | 18 | GNU_CONFIGURE= yes | |
19 | USE_LIBTOOL= yes | 19 | USE_LIBTOOL= yes | |
20 | USE_TOOLS+= gmake gsed pkg-config msgfmt | 20 | USE_TOOLS+= gmake gsed pkg-config msgfmt | |
21 | USE_PKGLOCALEDIR= yes | 21 | USE_PKGLOCALEDIR= yes | |
22 | 22 | |||
23 | # Disable -Werror. | 23 | # Disable -Werror. | |
24 | # code is not clean enough for modern compilers | 24 | # code is not clean enough for modern compilers | |
25 | CONFIGURE_ARGS+= --enable-maintainer-flags=no | 25 | CONFIGURE_ARGS+= --enable-maintainer-flags=no | |
26 | CONFIGURE_ARGS+= --enable-introspection=yes | |||
26 | 27 | |||
27 | PKGCONFIG_OVERRIDE+= cogl-gles2/cogl-gles2-experimental.pc.in | 28 | PKGCONFIG_OVERRIDE+= cogl-gles2/cogl-gles2-experimental.pc.in | |
28 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango-1.0.pc.in | 29 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango-1.0.pc.in | |
29 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango-2.0-experimental.pc.in | 30 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango-2.0-experimental.pc.in | |
30 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango.pc.in | 31 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango.pc.in | |
31 | PKGCONFIG_OVERRIDE+= cogl/cogl-1.0.pc.in | 32 | PKGCONFIG_OVERRIDE+= cogl/cogl-1.0.pc.in | |
32 | PKGCONFIG_OVERRIDE+= cogl/cogl-2.0-experimental.pc.in | 33 | PKGCONFIG_OVERRIDE+= cogl/cogl-2.0-experimental.pc.in | |
33 | 34 | |||
34 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango2.pc.in | 35 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango2.pc.in | |
35 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango.pc.in | 36 | PKGCONFIG_OVERRIDE+= cogl-pango/cogl-pango.pc.in | |
36 | PKGCONFIG_OVERRIDE+= cogl/cogl2.pc.in | 37 | PKGCONFIG_OVERRIDE+= cogl/cogl2.pc.in | |
37 | PKGCONFIG_OVERRIDE+= cogl-gles2/cogl-gles2-experimental.pc.in | 38 | PKGCONFIG_OVERRIDE+= cogl-gles2/cogl-gles2-experimental.pc.in | |
38 | PKGCONFIG_OVERRIDE+= cogl-gst/cogl-gst.pc.in | 39 | PKGCONFIG_OVERRIDE+= cogl-gst/cogl-gst.pc.in | |
39 | PKGCONFIG_OVERRIDE+= cogl-path/cogl-path.pc.in | 40 | PKGCONFIG_OVERRIDE+= cogl-path/cogl-path.pc.in | |
40 | 41 | |||
41 | .include "options.mk" | 42 | .include "options.mk" | |
42 | 43 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5 | ||
44 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | |||
45 | .include "../../devel/gobject-introspection/buildlink3.mk" | |||
43 | .include "../../devel/gettext-lib/buildlink3.mk" | 46 | .include "../../devel/gettext-lib/buildlink3.mk" | |
44 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.0 | 47 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.0 | |
45 | .include "../../devel/glib2/buildlink3.mk" | 48 | .include "../../devel/glib2/buildlink3.mk" | |
46 | BUILDLINK_API_DEPENDS.pango+= pango>=1.20.0 | 49 | BUILDLINK_API_DEPENDS.pango+= pango>=1.20.0 | |
47 | .include "../../devel/pango/buildlink3.mk" | 50 | .include "../../devel/pango/buildlink3.mk" | |
48 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.0 | 51 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.0 | |
49 | .include "../../graphics/cairo/buildlink3.mk" | 52 | .include "../../graphics/cairo/buildlink3.mk" | |
50 | .include "../../mk/bsd.pkg.mk" | 53 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2015/10/29 22:55:01 prlw1 Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2022/06/28 10:40:39 nia Exp $ | |
2 | include/cogl/cogl-pango/cogl-pango.h | 2 | include/cogl/cogl-pango/cogl-pango.h | |
3 | include/cogl/cogl-path/cogl-path-enum-types.h | 3 | include/cogl/cogl-path/cogl-path-enum-types.h | |
4 | include/cogl/cogl-path/cogl-path-types.h | 4 | include/cogl/cogl-path/cogl-path-types.h | |
5 | include/cogl/cogl-path/cogl-path.h | 5 | include/cogl/cogl-path/cogl-path.h | |
6 | include/cogl/cogl-path/cogl1-path-functions.h | 6 | include/cogl/cogl-path/cogl1-path-functions.h | |
7 | include/cogl/cogl-path/cogl2-path-functions.h | 7 | include/cogl/cogl-path/cogl2-path-functions.h | |
8 | include/cogl/cogl/cogl-atlas-texture.h | 8 | include/cogl/cogl/cogl-atlas-texture.h | |
9 | include/cogl/cogl/cogl-attribute-buffer.h | 9 | include/cogl/cogl/cogl-attribute-buffer.h | |
10 | include/cogl/cogl/cogl-attribute.h | 10 | include/cogl/cogl/cogl-attribute.h | |
11 | include/cogl/cogl/cogl-auto-texture.h | 11 | include/cogl/cogl/cogl-auto-texture.h | |
12 | include/cogl/cogl/cogl-bitmap.h | 12 | include/cogl/cogl/cogl-bitmap.h | |
13 | include/cogl/cogl/cogl-buffer.h | 13 | include/cogl/cogl/cogl-buffer.h | |
14 | include/cogl/cogl/cogl-clip-state.h | 14 | include/cogl/cogl/cogl-clip-state.h | |
@@ -83,45 +83,45 @@ include/cogl/cogl/deprecated/cogl-clutte | @@ -83,45 +83,45 @@ include/cogl/cogl/deprecated/cogl-clutte | |||
83 | include/cogl/cogl/deprecated/cogl-clutter.h | 83 | include/cogl/cogl/deprecated/cogl-clutter.h | |
84 | include/cogl/cogl/deprecated/cogl-fixed.h | 84 | include/cogl/cogl/deprecated/cogl-fixed.h | |
85 | include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h | 85 | include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h | |
86 | include/cogl/cogl/deprecated/cogl-material-compat.h | 86 | include/cogl/cogl/deprecated/cogl-material-compat.h | |
87 | include/cogl/cogl/deprecated/cogl-shader.h | 87 | include/cogl/cogl/deprecated/cogl-shader.h | |
88 | include/cogl/cogl/deprecated/cogl-texture-deprecated.h | 88 | include/cogl/cogl/deprecated/cogl-texture-deprecated.h | |
89 | include/cogl/cogl/deprecated/cogl-type-casts.h | 89 | include/cogl/cogl/deprecated/cogl-type-casts.h | |
90 | include/cogl/cogl/deprecated/cogl-vertex-buffer.h | 90 | include/cogl/cogl/deprecated/cogl-vertex-buffer.h | |
91 | include/cogl/cogl/gl-prototypes/cogl-core-functions.h | 91 | include/cogl/cogl/gl-prototypes/cogl-core-functions.h | |
92 | include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h | 92 | include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h | |
93 | include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h | 93 | include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h | |
94 | include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h | 94 | include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h | |
95 | include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h | 95 | include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h | |
96 | ${PLIST.introspection}lib/girepository-1.0/Cogl-1.0.typelib | 96 | lib/girepository-1.0/Cogl-1.0.typelib | |
97 | ${PLIST.introspection}lib/girepository-1.0/Cogl-2.0.typelib | 97 | lib/girepository-1.0/Cogl-2.0.typelib | |
98 | ${PLIST.introspection}lib/girepository-1.0/CoglPango-1.0.typelib | 98 | lib/girepository-1.0/CoglPango-1.0.typelib | |
99 | ${PLIST.introspection}lib/girepository-1.0/CoglPango-2.0.typelib | 99 | lib/girepository-1.0/CoglPango-2.0.typelib | |
100 | lib/libcogl-pango.la | 100 | lib/libcogl-pango.la | |
101 | lib/libcogl-path.la | 101 | lib/libcogl-path.la | |
102 | lib/libcogl.la | 102 | lib/libcogl.la | |
103 | lib/pkgconfig/cogl-1.0.pc | 103 | lib/pkgconfig/cogl-1.0.pc | |
104 | lib/pkgconfig/cogl-2.0-experimental.pc | 104 | lib/pkgconfig/cogl-2.0-experimental.pc | |
105 | lib/pkgconfig/cogl-gl-1.0.pc | 105 | lib/pkgconfig/cogl-gl-1.0.pc | |
106 | lib/pkgconfig/cogl-pango-1.0.pc | 106 | lib/pkgconfig/cogl-pango-1.0.pc | |
107 | lib/pkgconfig/cogl-pango-2.0-experimental.pc | 107 | lib/pkgconfig/cogl-pango-2.0-experimental.pc | |
108 | lib/pkgconfig/cogl-path-1.0.pc | 108 | lib/pkgconfig/cogl-path-1.0.pc | |
109 | lib/pkgconfig/cogl-path-2.0-experimental.pc | 109 | lib/pkgconfig/cogl-path-2.0-experimental.pc | |
110 | share/cogl/examples-data/crate.jpg | 110 | share/cogl/examples-data/crate.jpg | |
111 | ${PLIST.introspection}share/gir-1.0/Cogl-1.0.gir | 111 | share/gir-1.0/Cogl-1.0.gir | |
112 | ${PLIST.introspection}share/gir-1.0/Cogl-2.0.gir | 112 | share/gir-1.0/Cogl-2.0.gir | |
113 | ${PLIST.introspection}share/gir-1.0/CoglPango-1.0.gir | 113 | share/gir-1.0/CoglPango-1.0.gir | |
114 | ${PLIST.introspection}share/gir-1.0/CoglPango-2.0.gir | 114 | share/gir-1.0/CoglPango-2.0.gir | |
115 | share/locale/an/LC_MESSAGES/cogl.mo | 115 | share/locale/an/LC_MESSAGES/cogl.mo | |
116 | share/locale/ar/LC_MESSAGES/cogl.mo | 116 | share/locale/ar/LC_MESSAGES/cogl.mo | |
117 | share/locale/as/LC_MESSAGES/cogl.mo | 117 | share/locale/as/LC_MESSAGES/cogl.mo | |
118 | share/locale/ast/LC_MESSAGES/cogl.mo | 118 | share/locale/ast/LC_MESSAGES/cogl.mo | |
119 | share/locale/be/LC_MESSAGES/cogl.mo | 119 | share/locale/be/LC_MESSAGES/cogl.mo | |
120 | share/locale/bg/LC_MESSAGES/cogl.mo | 120 | share/locale/bg/LC_MESSAGES/cogl.mo | |
121 | share/locale/bs/LC_MESSAGES/cogl.mo | 121 | share/locale/bs/LC_MESSAGES/cogl.mo | |
122 | share/locale/ca/LC_MESSAGES/cogl.mo | 122 | share/locale/ca/LC_MESSAGES/cogl.mo | |
123 | share/locale/ca@valencia/LC_MESSAGES/cogl.mo | 123 | share/locale/ca@valencia/LC_MESSAGES/cogl.mo | |
124 | share/locale/cs/LC_MESSAGES/cogl.mo | 124 | share/locale/cs/LC_MESSAGES/cogl.mo | |
125 | share/locale/da/LC_MESSAGES/cogl.mo | 125 | share/locale/da/LC_MESSAGES/cogl.mo | |
126 | share/locale/de/LC_MESSAGES/cogl.mo | 126 | share/locale/de/LC_MESSAGES/cogl.mo | |
127 | share/locale/el/LC_MESSAGES/cogl.mo | 127 | share/locale/el/LC_MESSAGES/cogl.mo |
@@ -1,36 +1,23 @@ | @@ -1,36 +1,23 @@ | |||
1 | # $NetBSD: options.mk,v 1.5 2021/04/16 06:49:24 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.6 2022/06/28 10:40:39 nia Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.cogl | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.cogl | |
5 | PKG_SUPPORTED_OPTIONS= introspection x11 | 5 | PKG_SUPPORTED_OPTIONS= x11 | |
6 | PKG_SUGGESTED_OPTIONS= introspection x11 | 6 | PKG_SUGGESTED_OPTIONS= x11 | |
7 | 7 | |||
8 | .include "../../mk/bsd.options.mk" | 8 | .include "../../mk/bsd.options.mk" | |
9 | 9 | |||
10 | PLIST_VARS+= introspection x11 | |||
11 | ||||
12 | .if !empty(PKG_OPTIONS:Mintrospection) | |||
13 | PLIST.introspection= yes | |||
14 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5 | |||
15 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | |||
16 | .include "../../devel/gobject-introspection/buildlink3.mk" | |||
17 | CONFIGURE_ARGS+= --enable-introspection=yes | |||
18 | .else | |||
19 | CONFIGURE_ARGS+= --enable-introspection=no | |||
20 | .endif | |||
21 | ||||
22 | .if !empty(PKG_OPTIONS:Mx11) | 10 | .if !empty(PKG_OPTIONS:Mx11) | |
23 | PLIST.x11= yes | |||
24 | CONFIGURE_ARGS+= --with-x | 11 | CONFIGURE_ARGS+= --with-x | |
25 | CONFIGURE_ARGS+= --enable-gdk-pixbuf | 12 | CONFIGURE_ARGS+= --enable-gdk-pixbuf | |
26 | CONFIGURE_ARGS+= --with-gl-libname=libGL | 13 | CONFIGURE_ARGS+= --with-gl-libname=libGL | |
27 | .include "../../graphics/MesaLib/buildlink3.mk" | 14 | .include "../../graphics/MesaLib/buildlink3.mk" | |
28 | .include "../../x11/libX11/buildlink3.mk" | 15 | .include "../../x11/libX11/buildlink3.mk" | |
29 | .include "../../x11/libXext/buildlink3.mk" | 16 | .include "../../x11/libXext/buildlink3.mk" | |
30 | .include "../../x11/libXdamage/buildlink3.mk" | 17 | .include "../../x11/libXdamage/buildlink3.mk" | |
31 | .include "../../x11/libXfixes/buildlink3.mk" | 18 | .include "../../x11/libXfixes/buildlink3.mk" | |
32 | BUILDLINK_API_DEPENDS.libXcomposite+= libXcomposite>=0.4 | 19 | BUILDLINK_API_DEPENDS.libXcomposite+= libXcomposite>=0.4 | |
33 | .include "../../x11/libXcomposite/buildlink3.mk" | 20 | .include "../../x11/libXcomposite/buildlink3.mk" | |
34 | BUILDLINK_API_DEPENDS.libXrandr+= libXrandr>=1.2 | 21 | BUILDLINK_API_DEPENDS.libXrandr+= libXrandr>=1.2 | |
35 | .include "../../x11/libXrandr/buildlink3.mk" | 22 | .include "../../x11/libXrandr/buildlink3.mk" | |
36 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" | 23 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" |