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
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
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= AppStream
22 COMPONENT_VERSION
= 1.0.3
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
:5ab6f6cf644e7875a9508593962e56bb430f4e59ae0bf03be6be7029deb6baa4
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
39 # We have no libsystemd (obviously)
40 CONFIGURE_OPTIONS
+= -Dsystemd
=false
41 # We have no libstemmer packaged
42 CONFIGURE_OPTIONS
+= -Dstemming
=false
44 # Testing expects there is no Inkscape installed
45 TEST_CONFLICTING_PACKAGES
+= image
/editor
/inkscape
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES
+= compress
/zstd
49 REQUIRED_PACKAGES
+= library
/glib2
50 REQUIRED_PACKAGES
+= library
/libxml2
51 REQUIRED_PACKAGES
+= library
/libxmlb
52 REQUIRED_PACKAGES
+= library
/libyaml
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= web
/curl