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 (c) 2014 Alexander Pyhalov
13 # Copyright (c) 2015 Aurelien Larcher
14 # Copyright (c) 2018 Michal Nowak
15 # Copyright (c) 2023 Andreas Wacknitz
16 # Copyright (c) 2023 Niklas Poslovski
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libcompizconfig
22 COMPONENT_VERSION
= 0.8.18
24 COMPONENT_SUMMARY
= compizconfig libraries
- is an alternative configuration system for compiz
25 COMPONENT_PROJECT_URL
= https
://compiz-fusion.org
/
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.bz2
28 COMPONENT_ARCHIVE_HASH
= sha256
:ae41fee04d526b35d7ee3408111782e498a89fd598a101e0f8da0330f652626a
29 COMPONENT_ARCHIVE_URL
= https
://gitlab.com
/compiz
/$(COMPONENT_NAME
)/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= desktop
/compiz
/library
/libcompizconfig
31 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
40 # Missing files in build dir without this.
41 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
43 # The source folder contains a commit hash, remove it:
44 COMPONENT_POST_UNPACK_ACTION
= ( $(MV
) $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)-* $(COMPONENT_SRC
) )
46 COMPONENT_PREP_ACTION
= (cd
$(@D
) ; autoreconf
-f
-i
)
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
49 CONFIGURE_OPTIONS
+= --disable-static
52 REQUIRED_PACKAGES
+= desktop
/compiz
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
56 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
57 REQUIRED_PACKAGES
+= library
/c
++/abseil-cpp
58 REQUIRED_PACKAGES
+= library
/c
++/protobuf
59 REQUIRED_PACKAGES
+= library
/libxml2
60 REQUIRED_PACKAGES
+= system
/library
61 REQUIRED_PACKAGES
+= x11
/library
/libx11