Mate is not a library
[unleashed-userland.git] / components / desktop / mate / mate-media / Makefile
blob6f1954234e74da584982c3e909b54d6f022dc321
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 2016 Till Wegmueller
13 # Copyright 2016 Ken Mays
16 include ../../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= mate-media
19 COMPONENT_VERSION= 1.14.0
20 COMPONENT_PROJECT_URL= http://www.mate-desktop.org
21 COMPONENT_SUMMARY= Multimedia applications for the MATE desktop
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:4e3e1f5d0d0df0b8707fc85719e8aeb5403db2fdbe86725a67be5a85ac444a36
26 COMPONENT_ARCHIVE_URL= http://pub.mate-desktop.org/releases/1.14/$(COMPONENT_ARCHIVE)
27 COMPONENT_LICENSE= GPLv2, LGPLv2, FDLv1.1
28 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
29 COMPONENT_CLASSIFICATION = System/Libraries
30 COMPONENT_FMRI = desktop/mate/$(COMPONENT_NAME)
32 include $(WS_TOP)/make-rules/prep.mk
33 include $(WS_TOP)/make-rules/configure.mk
34 include $(WS_TOP)/make-rules/ips.mk
36 PATH=/usr/gnu/bin:/usr/bin
38 COMPONENT_PREP_ACTION= cd $(@D) && NOCONFIGURE=1 ./autogen.sh
40 CONFIGURE_OPTIONS+= --sysconfdir=/etc
41 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib/mate
42 CONFIGURE_OPTIONS+= --disable-static
43 CONFIGURE_OPTIONS+= --disable-scrollkeeper
44 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
45 CONFIGURE_OPTIONS+= --with-gtk=2.0
47 COMPONENT_BUILD_ENV += CC="$(CC)"
48 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
50 # common targets
51 build: $(BUILD_32_and_64)
53 install: $(INSTALL_32_and_64)
55 test: $(NO_TESTS)
57 REQUIRED_PACKAGES += library/desktop/cairo
58 REQUIRED_PACKAGES += library/desktop/gtk2
59 REQUIRED_PACKAGES += library/desktop/mate/libmatemixer
60 REQUIRED_PACKAGES += library/desktop/mate/mate-desktop
61 REQUIRED_PACKAGES += library/desktop/pango
62 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
63 REQUIRED_PACKAGES += library/glib2
64 REQUIRED_PACKAGES += library/libunique
65 REQUIRED_PACKAGES += library/libxml2
66 REQUIRED_PACKAGES += system/library/math