Add Time Slider support to caja
[unleashed-userland.git] / components / desktop / mate / caja / Makefile
blob2d02572292471d2301966cc77e4c9d614fd54c42
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= caja
19 COMPONENT_VERSION= 1.14.1
20 COMPONENT_REVISION= 1
21 COMPONENT_PROJECT_URL= http://www.mate-desktop.org
22 COMPONENT_SUMMARY= File manager for the MATE desktop
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:2e7445a8ba77ff9fa7748645bdbe3b54d158db807fa40db25425d47101dd0dc2
27 COMPONENT_ARCHIVE_URL= http://pub.mate-desktop.org/releases/1.14/$(COMPONENT_ARCHIVE)
28 COMPONENT_LICENSE= GPLv2, LGPLv2, FDLv1.1
29 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
30 COMPONENT_CLASSIFICATION = System/Libraries
31 COMPONENT_FMRI = desktop/mate/$(COMPONENT_NAME)
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 COMPONENT_PREP_ACTION= \
40 ( cp $(COMPONENT_DIR)/files/icons/*.png $(@D)/icons && \
41 cd $(@D) && NOCONFIGURE=1 ./autogen.sh )
43 # Localization files should be updated
44 #COMPONENT_PRE_CONFIGURE_ACTION = \
45 # ( cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
46 # cd $(@D)/po-sun && $(MAKE) all )
48 CONFIGURE_OPTIONS+= --sysconfdir=/etc
49 CONFIGURE_OPTIONS+= --disable-static
50 CONFIGURE_OPTIONS+= --disable-scrollkeeper
51 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
52 CONFIGURE_OPTIONS+= --with-gnome-distributor="The OpenIndiana Project"
53 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib/$(COMPONENT_NAME)
55 CONFIGURE_ENV+= PYTHON="$(PYTHON)"
57 COMPONENT_BUILD_ENV += CC="$(CC)"
58 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
60 # common targets
61 build: $(BUILD_32_and_64)
63 install: $(INSTALL_32_and_64)
65 test: $(NO_TESTS)
67 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
68 REQUIRED_PACKAGES += image/library/libexif
69 REQUIRED_PACKAGES += library/desktop/atk
70 REQUIRED_PACKAGES += library/desktop/cairo
71 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
72 REQUIRED_PACKAGES += library/desktop/gtk2
73 REQUIRED_PACKAGES += library/desktop/mate/mate-desktop
74 REQUIRED_PACKAGES += library/desktop/pango
75 REQUIRED_PACKAGES += library/glib2
76 REQUIRED_PACKAGES += library/libunique
77 REQUIRED_PACKAGES += library/libxml2
78 REQUIRED_PACKAGES += library/desktop/mate/mate-common
79 REQUIRED_PACKAGES += system/library/math
80 REQUIRED_PACKAGES += x11/library/libice
81 REQUIRED_PACKAGES += x11/library/libsm
82 REQUIRED_PACKAGES += x11/library/libx11
83 REQUIRED_PACKAGES += x11/library/libxrender