2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2023 Friedrich Kink. All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.22.8
20 COMPONENT_SUMMARY
= cogl
- An open source GPU graphics
& utilities API
21 COMPONENT_PROJECT_URL
= https
://rib.github.io
/cogl
/
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
24 COMPONENT_ARCHIVE_HASH
= sha256
:a805b2b019184710ff53d0496f9f0ce6dcca420c141a0f4f6fcc02131581d759
25 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/1.22/$(COMPONENT_ARCHIVE
)
26 COMPONENT_FMRI
= library
/desktop
/cogl
27 COMPONENT_CLASSIFICATION
= System
/Libraries
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= COPYING
32 #TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
38 CONFIGURE_OPTIONS
+= --enable-cogl-gst
=yes
39 CONFIGURE_OPTIONS
+= --enable-sdl2
=yes
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
45 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
46 REQUIRED_PACKAGES
+= library
/desktop
/cairo
47 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
48 REQUIRED_PACKAGES
+= library
/desktop
/pango
49 REQUIRED_PACKAGES
+= library
/glib2
50 REQUIRED_PACKAGES
+= library
/sdl2
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/math
53 REQUIRED_PACKAGES
+= x11
/library
/libx11
54 REQUIRED_PACKAGES
+= x11
/library
/libxdamage
55 REQUIRED_PACKAGES
+= x11
/library
/libxext
56 REQUIRED_PACKAGES
+= x11
/library
/libxfixes
57 REQUIRED_PACKAGES
+= x11
/library
/libxrandr