Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME?= gimp |
3 |
PORTNAME?= gimp |
4 |
PORTVERSION= 2.10.32 |
4 |
PORTVERSION= 2.10.32 |
|
|
5 |
PORTREVISION= 1 |
5 |
PORTEPOCH?= 1 |
6 |
PORTEPOCH?= 1 |
6 |
CATEGORIES?= graphics gnome |
7 |
CATEGORIES?= graphics gnome |
7 |
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} |
8 |
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} |
Lines 17-41
LICENSE_COMB= multi
Link Here
|
17 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
18 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
18 |
glib-networking>=0:net/glib-networking \ |
19 |
glib-networking>=0:net/glib-networking \ |
19 |
mypaint-brushes>0:graphics/mypaint-brushes |
20 |
mypaint-brushes>0:graphics/mypaint-brushes |
20 |
LIB_DEPENDS= libpng.so:graphics/png \ |
21 |
|
21 |
libtiff.so:graphics/tiff \ |
22 |
LIB_DEPENDS= libasound.so:audio/alsa-lib \ |
22 |
libasound.so:audio/alsa-lib \ |
|
|
23 |
liblcms2.so:graphics/lcms2 \ |
24 |
libgegl-0.4.so:graphics/gegl \ |
25 |
libbabl-0.1.so:x11/babl \ |
23 |
libbabl-0.1.so:x11/babl \ |
26 |
libharfbuzz.so:print/harfbuzz \ |
|
|
27 |
libfontconfig.so:x11-fonts/fontconfig \ |
24 |
libfontconfig.so:x11-fonts/fontconfig \ |
28 |
libpoppler-glib.so:graphics/poppler-glib \ |
25 |
libfreetype.so:print/freetype2 \ |
|
|
26 |
libgegl-0.4.so:graphics/gegl \ |
29 |
libgexiv2.so:graphics/gexiv2 \ |
27 |
libgexiv2.so:graphics/gexiv2 \ |
|
|
28 |
libharfbuzz.so:print/harfbuzz \ |
30 |
libjson-c.so:devel/json-c \ |
29 |
libjson-c.so:devel/json-c \ |
|
|
30 |
libjson-glib-1.0.so:devel/json-glib \ |
31 |
liblcms2.so:graphics/lcms2 \ |
31 |
libmypaint.so:graphics/libmypaint \ |
32 |
libmypaint.so:graphics/libmypaint \ |
32 |
libfreetype.so:print/freetype2 |
33 |
libpng.so:graphics/png \ |
33 |
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
34 |
libpoppler-glib.so:graphics/poppler-glib \ |
34 |
glib-networking>=0:net/glib-networking \ |
35 |
libtiff.so:graphics/tiff |
35 |
mypaint-brushes>0:graphics/mypaint-brushes |
|
|
36 |
|
36 |
|
37 |
LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib \ |
37 |
LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}} |
38 |
${LIB_DEPENDS_${ARCH}} |
|
|
39 |
|
38 |
|
40 |
LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind |
39 |
LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind |
41 |
LIB_DEPENDS_amd64= libunwind.so:devel/libunwind |
40 |
LIB_DEPENDS_amd64= libunwind.so:devel/libunwind |
Lines 44-81
LIB_DEPENDS_i386= libunwind.so:devel/libunwind
Link Here
|
44 |
LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind |
43 |
LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind |
45 |
LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind |
44 |
LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind |
46 |
|
45 |
|
47 |
GNU_CONFIGURE= yes |
46 |
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
|
|
47 |
glib-networking>=0:net/glib-networking \ |
48 |
mypaint-brushes>0:graphics/mypaint-brushes |
49 |
|
48 |
USES+= compiler:c++14-lang cpe gettext gmake gnome jpeg libtool \ |
50 |
USES+= compiler:c++14-lang cpe gettext gmake gnome jpeg libtool \ |
49 |
localbase pkgconfig shebangfix tar:bzip2 xorg |
51 |
localbase pkgconfig shebangfix tar:bzip2 xorg |
50 |
USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt |
52 |
CPE_VENDOR= gimp |
|
|
53 |
CPE_PRODUCT= gimp |
51 |
USE_GNOME+= cairo gtk20 intltool librsvg2 |
54 |
USE_GNOME+= cairo gtk20 intltool librsvg2 |
52 |
USE_LDCONFIG= yes |
55 |
USE_LDCONFIG= yes |
|
|
56 |
USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt |
57 |
|
58 |
SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py |
59 |
|
60 |
GNU_CONFIGURE= yes |
61 |
CONFIGURE_ARGS?= --with-html-dir=${PREFIX}/share/doc/gimp \ |
62 |
--with-bug-report-url="https://bugs.freebsd.org/" \ |
63 |
--disable-gtk-doc \ |
64 |
--without-linux-input \ |
65 |
--with-print \ |
66 |
--without-gudev \ |
67 |
--enable-default-binary \ |
68 |
--disable-gimp-console \ |
69 |
--disable-python \ |
70 |
--without-appdata-test \ |
71 |
--with-desktop-dir=${PREFIX}/share \ |
72 |
--docdir=${PREFIX}/share/doc/gimp \ |
73 |
--with-icc-directory=${LOCALBASE}/share/color/icc \ |
74 |
--without-webkit \ |
75 |
--enable-default-binary |
76 |
CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread |
77 |
|
53 |
INSTALL_TARGET= install-strip |
78 |
INSTALL_TARGET= install-strip |
54 |
TEST_TARGET= check |
|
|
55 |
.if !defined(XAUTHORITY) |
79 |
.if !defined(XAUTHORITY) |
56 |
TEST_ENV= XAUTHORITY=${HOME}/.Xauthority |
80 |
TEST_ENV= XAUTHORITY=${HOME}/.Xauthority |
57 |
.endif |
81 |
.endif |
58 |
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc/gimp \ |
82 |
TEST_TARGET= check |
59 |
--with-bug-report-url="https://bugs.freebsd.org/" \ |
|
|
60 |
--disable-gtk-doc \ |
61 |
--without-linux-input \ |
62 |
--with-print \ |
63 |
--without-gudev \ |
64 |
--enable-default-binary \ |
65 |
--disable-gimp-console \ |
66 |
--disable-python \ |
67 |
--without-appdata-test \ |
68 |
--with-desktop-dir=${PREFIX}/share \ |
69 |
--docdir=${PREFIX}/share/doc/gimp \ |
70 |
--with-icc-directory=${LOCALBASE}/share/color/icc \ |
71 |
--without-webkit \ |
72 |
--enable-default-binary |
73 |
CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread |
74 |
LIBS+= -lexecinfo -lm |
75 |
CPE_VENDOR= gimp |
76 |
CPE_PRODUCT= gimp |
77 |
|
83 |
|
78 |
SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py |
84 |
LIBS+= -lexecinfo -lm |
79 |
|
85 |
|
80 |
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E} |
86 |
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E} |
81 |
|
87 |
|
Lines 83-100
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E}
Link Here
|
83 |
|
89 |
|
84 |
USES+= desktop-file-utils |
90 |
USES+= desktop-file-utils |
85 |
|
91 |
|
86 |
OPTIONS_DEFINE?= AALIB GHOSTSCRIPT JXL \ |
92 |
OPTIONS_DEFINE?= AALIB GHOSTSCRIPT JXL LIBHEIF LIBMNG OPENEXR OPENJPEG \ |
87 |
LIBHEIF LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF |
93 |
SIMD WEBP WMF |
88 |
OPTIONS_DEFAULT= AALIB LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF |
94 |
OPTIONS_DEFAULT= AALIB LIBHEIF LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF |
89 |
OPTIONS_SUB= yes |
95 |
OPTIONS_SUB= yes |
90 |
|
96 |
|
91 |
.endif |
97 |
.endif |
92 |
|
98 |
|
93 |
.if defined(GIMP_SLAVE) |
99 |
.if defined(GIMP_SLAVE) |
94 |
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config |
100 |
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config |
95 |
GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` |
101 |
GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` |
96 |
GIMP_THUMB_LIBS=`${PKG_CONFIG} --libs gimpthumb-2.0` |
102 |
GIMP_THUMB_LIBS= `${PKG_CONFIG} --libs gimpthumb-2.0` |
97 |
GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` |
103 |
GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` |
98 |
|
104 |
|
99 |
LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app |
105 |
LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app |
100 |
|
106 |
|
Lines 102-108
LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app
Link Here
|
102 |
|
108 |
|
103 |
DEBUG_CONFIGURE_ON= --enable-debug |
109 |
DEBUG_CONFIGURE_ON= --enable-debug |
104 |
|
110 |
|
105 |
AALIB_DESC= Ascii-art Plug-in |
111 |
AALIB_DESC= Ascii-art Plug-in |
|
|
112 |
LIBHEIF_DESC= ISO/IEC 23008-12:2017 HEIF file format support |
113 |
OPENJPEG_DESC= Enhanced JPEG (jpeg2000) graphics support |
114 |
|
106 |
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib |
115 |
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib |
107 |
AALIB_CONFIGURE_WITH= aa |
116 |
AALIB_CONFIGURE_WITH= aa |
108 |
|
117 |
|
Lines 112-141
GHOSTSCRIPT_CONFIGURE_WITH= gs
Link Here
|
112 |
JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl |
121 |
JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl |
113 |
JXL_CONFIGURE_WITH= jpegxl |
122 |
JXL_CONFIGURE_WITH= jpegxl |
114 |
|
123 |
|
115 |
LIBHEIF_DESC= ISO/IEC 23008-12:2017 HEIF file format support |
|
|
116 |
LIBHEIF_LIB_DEPENDS= libheif.so:graphics/libheif |
124 |
LIBHEIF_LIB_DEPENDS= libheif.so:graphics/libheif |
117 |
LIBHEIF_CONFIGURE_WITH= libheif |
125 |
LIBHEIF_CONFIGURE_WITH= libheif |
118 |
|
126 |
|
119 |
LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng |
127 |
LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng |
120 |
LIBMNG_CONFIGURE_WITH= libmng |
128 |
LIBMNG_CONFIGURE_WITH= libmng |
121 |
|
129 |
|
122 |
OPENEXR_CONFIGURE_WITH= openexr |
|
|
123 |
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ |
130 |
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ |
124 |
libOpenEXR.so:graphics/openexr |
131 |
libOpenEXR.so:graphics/openexr |
|
|
132 |
OPENEXR_CONFIGURE_WITH= openexr |
125 |
|
133 |
|
126 |
OPENJPEG_DESC= Enhanced JPEG (jpeg2000) graphics support |
134 |
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg |
127 |
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg |
135 |
OPENJPEG_CONFIGURE_WITH= jpeg2000 |
128 |
OPENJPEG_CONFIGURE_WITH=jpeg2000 |
|
|
129 |
|
136 |
|
130 |
SIMD_CONFIGURE_OFF= --disable-mmx \ |
137 |
SIMD_CONFIGURE_OFF= --disable-mmx \ |
131 |
--disable-sse \ |
138 |
--disable-sse \ |
132 |
--disable-altivec |
139 |
--disable-altivec |
133 |
|
140 |
|
134 |
WEBP_CONFIGURE_WITH= webp |
|
|
135 |
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp |
141 |
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp |
|
|
142 |
WEBP_CONFIGURE_WITH= webp |
136 |
|
143 |
|
137 |
WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf \ |
144 |
WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \ |
138 |
libexpat.so:textproc/expat2 |
145 |
libwmf.so:graphics/libwmf |
|
|
146 |
|
139 |
WMF_CONFIGURE_WITH= wmf |
147 |
WMF_CONFIGURE_WITH= wmf |
140 |
|
148 |
|
141 |
.endif |
149 |
.endif |