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 (c) 2017 Alexander Pyhalov
15 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_VERSION
= 2.8.18
19 COMPONENT_PROJECT_URL
= http
://www.gimp.org
/
20 COMPONENT_SUMMARY
= The Gimp image editor
21 COMPONENT_FMRI
= image
/editor
/gimp
22 COMPONENT_CLASSIFICATION
= Applications
/Graphics and Imaging
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:39dd2247c678deaf5cc664397d3c6bd4fb910d3472290fd54b52b441b5815441
27 COMPONENT_ARCHIVE_URL
= http
://download.gimp.org
/pub
/gimp
/v2.8
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_LICENSE
= GPLv3
29 COMPONENT_LICENSE_FILE
= COPYING
31 include $(WS_TOP
)/make-rules
/prep.mk
32 include $(WS_TOP
)/make-rules
/configure.mk
33 include $(WS_TOP
)/make-rules
/ips.mk
35 PATH
=/usr
/gnu
/bin
:/usr
/bin
37 CFLAGS
+= -I
/usr
/include/glib-2.0
-I
/usr
/lib
/glib-2.0
/include
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
40 libtoolize
--force &&\
41 intltoolize
--force --copy
--automake
&&\
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
47 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
48 CONFIGURE_OPTIONS
+= --localstatedir
=/var
/lib
49 CONFIGURE_OPTIONS
+= --enable-mp
50 CONFIGURE_OPTIONS
+= --enable-default-binary
51 CONFIGURE_OPTIONS
+= --enable-mmx
=no
52 CONFIGURE_OPTIONS
+= --with-lcms
=2
54 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
59 install: $(INSTALL_32
)
63 REQUIRED_PACKAGES
+= codec
/jasper
64 REQUIRED_PACKAGES
+= compress
/bzip2
65 REQUIRED_PACKAGES
+= image
/library
/babl
66 REQUIRED_PACKAGES
+= image
/library
/gegl
67 REQUIRED_PACKAGES
+= image
/library
/libexif
68 REQUIRED_PACKAGES
+= image
/library
/libjpeg6
69 REQUIRED_PACKAGES
+= image
/library
/libjpeg6-ijg
70 REQUIRED_PACKAGES
+= image
/library
/libpng
71 REQUIRED_PACKAGES
+= image
/library
/librsvg
72 REQUIRED_PACKAGES
+= image
/library
/libtiff
73 REQUIRED_PACKAGES
+= library
/aalib
74 REQUIRED_PACKAGES
+= library
/desktop
/cairo
75 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
76 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
77 REQUIRED_PACKAGES
+= library
/desktop
/pango
78 REQUIRED_PACKAGES
+= library
/glib2
79 REQUIRED_PACKAGES
+= library
/lcms2
80 REQUIRED_PACKAGES
+= library
/libpoppler
81 REQUIRED_PACKAGES
+= library
/python
/pygobject-27
82 REQUIRED_PACKAGES
+= library
/python
/pygtk2
83 REQUIRED_PACKAGES
+= library
/python
/pygtk2-27
84 REQUIRED_PACKAGES
+= library
/zlib
85 REQUIRED_PACKAGES
+= print/filter/ghostscript
86 REQUIRED_PACKAGES
+= runtime
/python-27
87 REQUIRED_PACKAGES
+= system
/library
88 REQUIRED_PACKAGES
+= system
/library
/fontconfig
89 REQUIRED_PACKAGES
+= system
/library
/freetype-2
90 REQUIRED_PACKAGES
+= system
/library
/libdbus
91 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
92 REQUIRED_PACKAGES
+= system
/library
/math
93 REQUIRED_PACKAGES
+= x11
/library
/libx11
94 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
95 REQUIRED_PACKAGES
+= x11
/library
/libxext
96 REQUIRED_PACKAGES
+= x11
/library
/libxfixes
97 REQUIRED_PACKAGES
+= x11
/library
/libxmu
98 REQUIRED_PACKAGES
+= x11
/library
/libxpm