Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2014 Alexander Pyhalov.  All rights reserved.
# Copyright 2022 Andreas Wacknitz.  All rights reserved.
#
BUILD_STYLE= meson
USE_DEFAULT_TEST_TRAMSFORMS= yes
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME= shared-mime-info
COMPONENT_VERSION= 2.4
COMPONENT_SUMMARY= application/MIME type registry
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE_HASH= sha256:32dc32ae39ff1c1bf8434dd3b36770b48538a1772bc0298509d034f057005992
COMPONENT_PROJECT_URL=    https://www.freedesktop.org/Software/$(COMPONENT_NAME)
COMPONENT_ARCHIVE_URL=    https://gitlab.freedesktop.org/xdg/$(COMPONENT_NAME)/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI= desktop/$(COMPONENT_NAME)
COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
COMPONENT_LICENSE= GPLv2
COMPONENT_LICENSE_FILE= COPYING
 
include $(WS_MAKE_RULES)/common.mk
 
PATH= $(PATH.gnu)
 
CONFIGURE_OPTIONS += -Dupdate-mimedb=true
 
COMPONENT_TEST_TRANSFORMS += ' -e "s/ [0-9]*\.[0-9]*s//" '
 
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += system/library