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
18 COMPONENT_VERSION
= 2.32.1
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
34 PATH
=/usr
/gnu
/bin
:/usr
/bin
36 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-r
$(SOURCE_DIR
)/* $(@D
) && \
37 cp
-r
$(COMPONENT_DIR
)/files
/po-sun
$(@D
) && \
38 cd
$(@D
)/po-sun
&& $(MAKE
) all &&\
39 for i in
$(@D
)/po-sun
/*.po
; do dos2unix
-ascii
$$i $$i; done
&&\
40 cd
$(@D
) && gnome-doc-common
&&\
41 libtoolize
--force && glib-gettextize
--force --copy
&&\
42 intltoolize
--force --copy
--automake
&&\
45 automake
-a
-f
-c
--gnu
&&\
48 CONFIGURE_SCRIPT
= $(@D
)/configure
50 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
51 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
52 CONFIGURE_OPTIONS
+= --disable-scrollkeeper
54 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
56 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
61 install: $(INSTALL_32
)
65 REQUIRED_PACKAGES
+= gnome
/config
/gconf
66 REQUIRED_PACKAGES
+= image
/library
/libexif
67 REQUIRED_PACKAGES
+= image
/library
/libjpeg6
68 REQUIRED_PACKAGES
+= image
/library
/libjpeg6-ijg
69 REQUIRED_PACKAGES
+= image
/library
/librsvg
70 REQUIRED_PACKAGES
+= library
/desktop
/atk
71 REQUIRED_PACKAGES
+= library
/desktop
/cairo
72 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
73 REQUIRED_PACKAGES
+= library
/desktop
/gnome-desktop
74 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
75 REQUIRED_PACKAGES
+= library
/glib2
76 REQUIRED_PACKAGES
+= library
/lcms2
77 REQUIRED_PACKAGES
+= library
/libxml2
78 REQUIRED_PACKAGES
+= library
/zlib
79 REQUIRED_PACKAGES
+= runtime
/python-27
80 REQUIRED_PACKAGES
+= system
/library
81 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
82 REQUIRED_PACKAGES
+= system
/library
/math
83 REQUIRED_PACKAGES
+= x11
/library
/libx11