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