gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / image / eog / Makefile
blobd684ddaea1f4b230868d058256f76ccf60119c36
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 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= eog
18 COMPONENT_VERSION= 2.32.1
19 COMPONENT_REVISION= 3
20 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/EyeOfGnome
21 COMPONENT_SUMMARY= GNOME image viewer
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:543672fb8e8e300bf2cf4c7eef43b5b1624e2e48e6aa0801a083ae7beb2d7078
26 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
28 include $(WS_TOP)/make-rules/prep.mk
29 include $(WS_TOP)/make-rules/configure.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 PATH=/usr/gnu/bin:/usr/bin
34 COMPONENT_PRE_CONFIGURE_ACTION = (cp -r $(SOURCE_DIR)/* $(@D) && \
35 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
36 cd $(@D)/po-sun && $(MAKE) all &&\
37 for i in $(@D)/po-sun/*.po; do dos2unix -ascii $$i $$i; done &&\
38 cd $(@D) && gnome-doc-common &&\
39 libtoolize --force && glib-gettextize --force --copy &&\
40 intltoolize --force --copy --automake &&\
41 aclocal -I . &&\
42 autoheader &&\
43 automake -a -f -c --gnu &&\
44 autoconf )
46 CONFIGURE_SCRIPT= $(@D)/configure
48 CONFIGURE_OPTIONS+= --sysconfdir=/etc
49 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
50 CONFIGURE_OPTIONS+= --disable-scrollkeeper
52 CONFIGURE_ENV+= PYTHON=$(PYTHON)
54 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
56 # common targets
57 build: $(BUILD_32)
59 install: $(INSTALL_32)
61 test: $(NO_TESTS)
63 REQUIRED_PACKAGES += gnome/config/gconf
64 REQUIRED_PACKAGES += image/library/libexif
65 REQUIRED_PACKAGES += image/library/libjpeg6
66 REQUIRED_PACKAGES += image/library/libjpeg6-ijg
67 REQUIRED_PACKAGES += image/library/librsvg
68 REQUIRED_PACKAGES += library/desktop/atk
69 REQUIRED_PACKAGES += library/desktop/cairo
70 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
71 REQUIRED_PACKAGES += library/desktop/gnome-desktop
72 REQUIRED_PACKAGES += library/desktop/gtk2
73 REQUIRED_PACKAGES += library/glib2
74 REQUIRED_PACKAGES += library/lcms2
75 REQUIRED_PACKAGES += library/libxml2
76 REQUIRED_PACKAGES += library/zlib
77 REQUIRED_PACKAGES += runtime/python-27
78 REQUIRED_PACKAGES += system/library
79 REQUIRED_PACKAGES += system/library/libdbus-glib
80 REQUIRED_PACKAGES += system/library/math
81 REQUIRED_PACKAGES += x11/library/libx11