libreoffice: update to 24.8.4.2
[oi-userland.git] / components / desktop / appstream / Makefile
blob6b9fc045dfcf7db3cba8db38cc9170ed61bf4f59
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
5 # 1.0 of the CDDL.
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 2024 Marcel Telka
16 BUILD_STYLE = meson
17 USE_DEFAULT_TEST_TRANSFORMS = yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= AppStream
22 COMPONENT_VERSION= 1.0.4
23 COMPONENT_SUMMARY= Cross-distribution effort for enhancing the way we interact with the software repositories provided by distributions by standardizing software component metadata
24 COMPONENT_PROJECT_URL= https://www.freedesktop.org/wiki/Distributions/AppStream/
25 COMPONENT_FMRI= desktop/appstream
26 COMPONENT_CLASSIFICATION= System/Packaging
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
29 COMPONENT_ARCHIVE_URL= https://www.freedesktop.org/software/appstream/releases/$(COMPONENT_ARCHIVE)
30 COMPONENT_ARCHIVE_HASH= sha256:2d218348067f98c4f34a3ffe2d8219ad9f504b1b2481f1872dec66c77bf37509
31 COMPONENT_LICENSE= LGPL-2.1-only
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 # GNU gettext is expected in PATH
37 PATH = $(PATH.gnu)
39 # as-test_pool fails without the samples folder
40 # The test can be manually run by ( cd build/amd64/tests; ./as-test_pool . ) when failing with SIGABRT here.
41 COMPONENT_PRE_TEST_ACTION += ( ln -sf $(SOURCE_DIR)/tests/samples $(BUILD_DIR_$(BITS))/tests/ );
43 # We have no libsystemd (obviously)
44 CONFIGURE_OPTIONS += -Dsystemd=false
45 # We have no libstemmer packaged
46 CONFIGURE_OPTIONS += -Dstemming=false
48 # Testing expects there is no Inkscape installed
49 TEST_CONFLICTING_PACKAGES += image/editor/inkscape
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += compress/zstd
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += library/libxml2
55 REQUIRED_PACKAGES += library/libxmlb
56 REQUIRED_PACKAGES += library/libyaml
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += web/curl