2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2021 Gary Mills
13 # Copyright (c) 2017 Dariusz Sendkowski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= openbox
19 COMPONENT_VERSION
= 3.6.1
21 COMPONENT_SUMMARY
= A minimalistic
,highly configurable
, next generation window manager with extensive standards support.
22 COMPONENT_PROJECT_URL
= https
://openbox.org
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:abe75855cc5616554ffd47134ad15291fe37ebbebf1a80b69cbde9d670f0e26d
26 COMPONENT_ARCHIVE_URL
= http
://openbox.org
/dist/openbox
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= desktop
/window-manager
/$(COMPONENT_NAME
)
28 COMPONENT_CLASSIFICATION
=System
/X11
29 COMPONENT_LICENSE
= GPL
30 COMPONENT_LICENSE_FILE
= COPYING
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_BUILD_ENV
= DEST_DIR
=$(PROTO_DIR
)
36 COMPONENT_INSTALL_ENV
= DEST_DIR
=$(PROTO_DIR
)
38 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
39 CONFIGURE_OPTIONS
+= --disable-static
40 CONFIGURE_OPTIONS
+= --disable-imlib2
42 COMPONENT_PRE_BUILD_ACTION
= \
43 /usr
/bin
/find
$(SOURCE_DIR
) -name openbox-xdg-autostart \
44 -exec
$(GSED
) -i
-e
's/env python/python$(PYTHON_VERSION)/' "{}" \
; ;
46 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
50 # Auto-generated dependencies
51 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pyxdg
52 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
53 REQUIRED_PACKAGES
+= image
/library
/librsvg
54 REQUIRED_PACKAGES
+= library
/desktop
/cairo
55 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
56 REQUIRED_PACKAGES
+= library
/desktop
/pango
57 REQUIRED_PACKAGES
+= library
/desktop
/startup-notification
58 REQUIRED_PACKAGES
+= library
/glib2
59 REQUIRED_PACKAGES
+= library
/libxml2
60 REQUIRED_PACKAGES
+= shell/ksh93
61 REQUIRED_PACKAGES
+= system
/library
62 REQUIRED_PACKAGES
+= system
/library
/fontconfig
63 REQUIRED_PACKAGES
+= system
/library
/freetype-2
64 REQUIRED_PACKAGES
+= system
/library
/math
65 REQUIRED_PACKAGES
+= x11
/library
/libice
66 REQUIRED_PACKAGES
+= x11
/library
/libsm
67 REQUIRED_PACKAGES
+= x11
/library
/libx11
68 REQUIRED_PACKAGES
+= x11
/library
/libxau
69 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
70 REQUIRED_PACKAGES
+= x11
/library
/libxext
71 REQUIRED_PACKAGES
+= x11
/library
/libxft
72 REQUIRED_PACKAGES
+= x11
/library
/libxinerama
73 REQUIRED_PACKAGES
+= x11
/library
/libxrandr
74 REQUIRED_PACKAGES
+= x11
/library
/libxrender