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