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 2016 Alexander Pyhalov
13 # Copyright 2018 Michal Nowak
16 BUILD_STYLE
= setup.py
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 0.8.18
23 COMPONENT_PROJECT_URL
= http
://www.northfield.ws
24 COMPONENT_SUMMARY
= ccsm settings manager for the CompizConfig system
25 COMPONENT_CLASSIFICATION
= Applications
/Graphics and Imaging
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= \
29 sha256
:341843735c03a55c3a37c9e542c897ea153fff020896f0980487a4c0e5c152fd
30 COMPONENT_ARCHIVE_URL
= http
://www.northfield.ws
/projects
/compiz
/releases
/$(COMPONENT_VERSION
)/$(COMPONENT_SRC
).
tar.xz
31 COMPONENT_FMRI
= desktop
/compiz
/ccsm
32 COMPONENT_LICENSE
= GPL-2.0
-only
33 COMPONENT_LICENSE_FILE
= COPYING
37 SINGLE_PYTHON_VERSION
= yes
39 include $(WS_MAKE_RULES
)/common.mk
41 # This project does not support --no-user-cfg global option for setup.py so we
42 # need to override default build and install commands.
43 COMPONENT_BUILD_CMD
= $(PYTHON
) setup.py build
44 COMPONENT_INSTALL_CMD
= $(PYTHON
) setup.py
install
46 # Install common files to /usr
47 COMPONENT_INSTALL_ARGS
+= --prefix=/usr
50 # Auto-generated dependencies
51 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygobject-3
52 PYTHON_REQUIRED_PACKAGES
+= library
/python
/python-compizconfig
53 PYTHON_REQUIRED_PACKAGES
+= runtime
/python