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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2022 Andreas Wacknitz. All rights reserved.
17 USE_DEFAULT_TEST_TRAMSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= shared-mime-info
21 COMPONENT_VERSION
= 2.4
22 COMPONENT_SUMMARY
= application
/MIME type registry
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= sha256
:32dc32ae39ff1c1bf8434dd3b36770b48538a1772bc0298509d034f057005992
26 COMPONENT_PROJECT_URL
= https
://www.freedesktop.org
/Software
/$(COMPONENT_NAME
)
27 COMPONENT_ARCHIVE_URL
= https
://gitlab.freedesktop.org
/xdg
/$(COMPONENT_NAME
)/-/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= desktop
/$(COMPONENT_NAME
)
29 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= -Dupdate-mimedb
=true
39 COMPONENT_TEST_TRANSFORMS
+= ' -e "s/ [0-9]*\.[0-9]*s//" '
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
43 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
44 REQUIRED_PACKAGES
+= library
/glib2
45 REQUIRED_PACKAGES
+= library
/libxml2
46 REQUIRED_PACKAGES
+= system
/library