|
Lines 2-16
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= efl |
4 |
PORTNAME= efl |
| 5 |
DISTVERSION= 1.20.7 |
5 |
DISTVERSION= 1.24.3 |
| 6 |
PORTREVISION= 27 |
|
|
| 7 |
CATEGORIES= devel enlightenment |
6 |
CATEGORIES= devel enlightenment |
| 8 |
MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ |
7 |
MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ |
| 9 |
DIST_SUBDIR= enlightenment |
8 |
DIST_SUBDIR= enlightenment |
| 10 |
|
9 |
|
| 11 |
PATCH_SITES= https://github.com/Enlightenment/efl/commit/ |
|
|
| 12 |
PATCHFILES= fa97d86d0fa7301399f7b2b783c5de9b0c8d5ebe.patch:-p1 |
| 13 |
|
| 14 |
MAINTAINER= enlightenment@FreeBSD.org |
10 |
MAINTAINER= enlightenment@FreeBSD.org |
| 15 |
COMMENT= Enlightenment Foundation Libraries |
11 |
COMMENT= Enlightenment Foundation Libraries |
| 16 |
|
12 |
|
|
Lines 17-22
Link Here
|
| 17 |
LICENSE= BSD2CLAUSE LGPL21 |
13 |
LICENSE= BSD2CLAUSE LGPL21 |
| 18 |
LICENSE_COMB= multi |
14 |
LICENSE_COMB= multi |
| 19 |
|
15 |
|
|
|
16 |
BUILD_DEPENDS= checkmk:devel/check |
| 20 |
LIB_DEPENDS= libgif.so:graphics/giflib \ |
17 |
LIB_DEPENDS= libgif.so:graphics/giflib \ |
| 21 |
libpng.so:graphics/png \ |
18 |
libpng.so:graphics/png \ |
| 22 |
libtiff.so:graphics/tiff \ |
19 |
libtiff.so:graphics/tiff \ |
|
Lines 24-48
Link Here
|
| 24 |
libfontconfig.so:x11-fonts/fontconfig \ |
21 |
libfontconfig.so:x11-fonts/fontconfig \ |
| 25 |
libdbus-1.so:devel/dbus \ |
22 |
libdbus-1.so:devel/dbus \ |
| 26 |
libsndfile.so:audio/libsndfile |
23 |
libsndfile.so:audio/libsndfile |
|
|
24 |
RUN_DEPENDS= update-mime-database:misc/shared-mime-info |
| 27 |
|
25 |
|
| 28 |
# lib/libeio.so.1 |
26 |
# lib/libeio.so.1 |
| 29 |
CONFLICTS_INSTALL= libeio |
27 |
CONFLICTS_INSTALL= libeio |
| 30 |
|
28 |
|
| 31 |
GNU_CONFIGURE= yes |
29 |
USES= compiler:c++14-lang gettext-tools iconv \ |
| 32 |
USES= autoreconf compiler:c++14-lang gettext-tools gmake gnome iconv \ |
30 |
jpeg libtool meson ninja ssl pathfix pkgconfig python:3.5+ shared-mime-info \ |
| 33 |
jpeg libtool pathfix pkgconfig python:2.7,run shared-mime-info \ |
|
|
| 34 |
shebangfix tar:xz xorg |
31 |
shebangfix tar:xz xorg |
| 35 |
SHEBANG_FILES= src/scripts/eina/eina-bench-cmp |
32 |
SHEBANG_FILES= src/tests/elementary/spec/generator.py \ |
|
|
33 |
src/bin/exactness/exactness_play.in \ |
| 34 |
src/bin/exactness/exactness_record.in |
| 36 |
USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ |
35 |
USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ |
| 37 |
xrandr xrender xtst xscrnsaver |
36 |
xrandr xrender xtst xscrnsaver |
| 38 |
USE_LDCONFIG= yes |
37 |
USE_LDCONFIG= yes |
| 39 |
|
38 |
|
| 40 |
CONFIGURE_ARGS= --with-profile=release \ |
39 |
MESON_ARGS= -Dsystemd=false -Deeze=false |
| 41 |
--enable-multisense \ |
40 |
|
| 42 |
--disable-systemd \ |
|
|
| 43 |
--disable-elput \ |
| 44 |
--disable-cserve \ |
| 45 |
--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb |
| 46 |
CPPFLAGS+= -I${LOCALBASE}/include |
41 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 47 |
LDFLAGS+= -L${LOCALBASE}/lib |
42 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 48 |
INSTALLS_ICONS= yes |
43 |
INSTALLS_ICONS= yes |
|
Lines 49-154
Link Here
|
| 49 |
|
44 |
|
| 50 |
PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} |
45 |
PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} |
| 51 |
|
46 |
|
| 52 |
OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SSL WAYLAND WAYLAND_EGL |
47 |
OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SDL VNC EFLONE EXAMPLES DOXYGEN |
| 53 |
OPTIONS_GROUP= EMOTION INPUT LOADER |
48 |
OPTIONS_GROUP= EMOTION INPUT LOADER BINDINGS |
| 54 |
OPTIONS_GROUP_EMOTION= GSTREAMER LIBXINE V4L VLC |
49 |
OPTIONS_GROUP_EMOTION= GSTREAMER V4L |
| 55 |
OPTIONS_GROUP_INPUT= IBUS SCIM |
50 |
OPTIONS_GROUP_INPUT= IBUS SCIM XIM |
| 56 |
OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF |
51 |
OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF |
| 57 |
OPTIONS_RADIO= ENGINE |
52 |
OPTIONS_GROUP_BINDINGS= LUA CXX |
| 58 |
OPTIONS_RADIO_ENGINE= OPENGL OPENGLES SDL |
53 |
#OPTIONS_GROUP_WAYLAND= WAYLAND |
| 59 |
OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO SSL GSTREAMER PDF SVG OPENGL |
54 |
OPTIONS_SINGLE= ENGINE LUAL |
|
|
55 |
OPTIONS_SINGLE_ENGINE= OPENGL OPENGLES NONE |
| 56 |
OPTIONS_SINGLE_LUAL= LUAJIT LUALANG |
| 57 |
OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO EFLONE EXAMPLES GSTREAMER V4L SCIM XIM \ |
| 58 |
OPENJPEG PDF PS RAW SVG WEBP XCF OPENGL LUAJIT CXX |
| 59 |
OPTIONS_DEFAULT_powerpc64= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO EFLONE EXAMPLES GSTREAMER V4L SCIM XIM \ |
| 60 |
OPENJPEG PDF PS RAW SVG WEBP XCF OPENGL LUALANG CXX |
| 61 |
OPTIONS_DEFAULT_sparc64= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO EFLONE EXAMPLES GSTREAMER V4L SCIM XIM \ |
| 62 |
OPENJPEG PDF PS RAW SVG WEBP XCF OPENGL LUALANG CXX |
| 63 |
OPTIONS_DEFAULT_aarch64= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO EFLONE EXAMPLES GSTREAMER V4L SCIM XIM \ |
| 64 |
OPENJPEG PDF PS RAW SVG WEBP XCF OPENGL LUALANG CXX |
| 65 |
OPTIONS_EXCLUDE_powerpc64= LUAJIT |
| 66 |
OPTIONS_EXCLUDE_sparc64= LUAJIT |
| 67 |
OPTIONS_EXCLUDE_aarch64= LUAJIT |
| 68 |
OPTIONS_EXCLUDE_powerpc64= LUA |
| 69 |
OPTIONS_EXCLUDE_sparc64= LUA |
| 70 |
OPTIONS_EXCLUDE_aarch64= LUA |
| 60 |
OPTIONS_SUB= yes |
71 |
OPTIONS_SUB= yes |
| 61 |
|
72 |
|
| 62 |
HARFBUZZ_DESC= OpenType text shaping engine |
73 |
HARFBUZZ_DESC= OpenType text shaping engine |
| 63 |
PHYSICS_DESC= Physics effects |
74 |
PHYSICS_DESC= Physics engine (bullet) |
| 64 |
WAYLAND_DESC= Wayland backend support |
75 |
EFLONE_DESC= Create EFL-One library (single file library) |
| 65 |
WAYLAND_EGL_DESC= Wayland-EGL backend support |
76 |
VNC_DESC= VNC Server support |
| 66 |
VLC_DESC= Multimedia support by VLC |
|
|
| 67 |
IBUS_DESC= Intelligent Input Bus |
77 |
IBUS_DESC= Intelligent Input Bus |
| 68 |
SCIM_DESC= Smart Common Input Method |
78 |
SCIM_DESC= Smart Common Input Method |
|
|
79 |
XIM_DESC= X Input Method |
| 80 |
SVG_DESC= Vector graphics support |
| 69 |
XCF_DESC= Gimp image format support |
81 |
XCF_DESC= Gimp image format support |
|
|
82 |
LUAL_DESC= LUA |
| 83 |
LUALANG_DESC= Use Lua |
| 84 |
LUAJIT_DESC= Use Luajit |
| 70 |
OPENGLES_DESC= 2D/3D rendering support via OpenGL ES |
85 |
OPENGLES_DESC= 2D/3D rendering support via OpenGL ES |
|
|
86 |
NONE_DESC= No acceleration, software only |
| 87 |
LUA_DESC= Lua Bindings |
| 88 |
CXX_DESC= C++ Bindings |
| 89 |
EXAMPLES_DESC= Build examples of using EFL |
| 71 |
|
90 |
|
| 72 |
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app |
91 |
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app |
| 73 |
AVAHI_CONFIGURE_ENABLE= avahi |
92 |
AVAHI_MESON_TRUE= avahi |
| 74 |
|
93 |
|
| 75 |
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi |
94 |
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi |
| 76 |
FRIBIDI_CONFIGURE_ENABLE= fribidi |
95 |
FRIBIDI_MESON_TRUE= fribidi |
| 77 |
|
96 |
|
| 78 |
HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz |
97 |
HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz |
| 79 |
HARFBUZZ_CONFIGURE_ENABLE= harfbuzz |
98 |
HARFBUZZ_MESON_TRUE= harfbuzz |
| 80 |
|
99 |
|
| 81 |
NLS_USES= gettext-runtime |
100 |
NLS_USES= gettext-runtime |
| 82 |
NLS_CONFIGURE_ENABLE= nls |
101 |
NLS_MESON_TRUE= nls |
| 83 |
|
102 |
|
| 84 |
PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet |
103 |
PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet |
| 85 |
PHYSICS_CONFIGURE_ENABLE= physics |
104 |
PHYSICS_MESON_TRUE= physics |
| 86 |
|
105 |
|
| 87 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
106 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
| 88 |
PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio |
107 |
PULSEAUDIO_MESON_TRUE= pulseaudio |
| 89 |
|
108 |
|
| 90 |
WAYLAND_BROKEN= ERROR: epoll_create() is deprecated, use epoll_create1(EPOLL_CLOEXEC). |
109 |
EFLONE_MESON_TRUE= efl-one |
| 91 |
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols |
|
|
| 92 |
WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ |
| 93 |
libxkbcommon.so:x11/libxkbcommon \ |
| 94 |
libwayland-client.so:graphics/wayland \ |
| 95 |
libwayland-cursor.so:graphics/wayland |
| 96 |
WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim |
| 97 |
WAYLAND_LDFLAGS= -lepoll-shim |
| 98 |
WAYLAND_CONFIGURE_ENABLE= wayland |
| 99 |
|
110 |
|
| 100 |
WAYLAND_EGL_LIB_DEPENDS= libwayland-egl.so:graphics/wayland |
111 |
EXAMPLES_MESON_TRUE= build-examples |
| 101 |
WAYLAND_EGL_CONFIGURE_ENABLE= egl |
|
|
| 102 |
WAYLAND_EGL_USE= GL=egl |
| 103 |
WAYLAND_EGL_IMPLIES= WAYLAND OPENGLES |
| 104 |
|
112 |
|
|
|
113 |
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen |
| 114 |
DOXYGEN_PREVENTS= OPENJPEG |
| 115 |
DOXYGEN_PREVENTS_MSG= devel/doxygen installs graphics/openjpeg15 which breaks build of all ports that depend on graphics/openjpeg |
| 116 |
|
| 117 |
VNC_MESON_TRUE= vnc-server |
| 118 |
VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver |
| 119 |
|
| 120 |
#WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols |
| 121 |
#WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ |
| 122 |
# libxkbcommon.so:x11/libxkbcommon \ |
| 123 |
# libwayland-client.so:graphics/wayland \ |
| 124 |
# libwayland-cursor.so:graphics/wayland |
| 125 |
#WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim |
| 126 |
#WAYLAND_LDFLAGS= -lepoll-shim |
| 127 |
# WL BROKEN: ../src/lib/ecore_wl2/ecore_wl2_buffer.c:20:10: |
| 128 |
# fatal error: 'linux/dma-buf.h' file not found |
| 129 |
# UNTIL FIXED WL-DEPRECATED IS ONLY POSSIBLE |
| 130 |
#WAYLAND_MESON_TRUE= wl |
| 131 |
|
| 105 |
GSTREAMER_USE= GSTREAMER1=core |
132 |
GSTREAMER_USE= GSTREAMER1=core |
| 106 |
GSTREAMER_CONFIGURE_ENABLE= gstreamer1 |
133 |
GSTREAMER_MESON_TRUE= gstreamer |
| 107 |
|
134 |
|
| 108 |
LIBXINE_LIB_DEPENDS= libxine.so:multimedia/libxine |
|
|
| 109 |
LIBXINE_CONFIGURE_ENABLE= xine |
| 110 |
|
| 111 |
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat |
135 |
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat |
| 112 |
V4L_CONFIGURE_ENABLE= v4l2 |
136 |
V4L_MESON_TRUE= v4l2 |
| 113 |
|
137 |
|
| 114 |
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc |
|
|
| 115 |
VLC_CONFIGURE_WITH= generic_vlc |
| 116 |
|
| 117 |
IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus |
138 |
IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus |
|
|
139 |
IBUS_USES= gnome |
| 140 |
IBUS_USE= GNOME=glib20 |
| 141 |
IBUS_MESON_TRUE= glib |
| 118 |
|
142 |
|
| 119 |
SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim |
143 |
SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim |
| 120 |
SCIM_CONFIGURE_ENABLE= scim |
|
|
| 121 |
|
144 |
|
| 122 |
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 |
145 |
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg |
| 123 |
OPENJPEG_CONFIGURE_ENABLE= image-loader-jp2k |
146 |
OPENJPEG_PREVENTS= DOXYGEN |
|
|
147 |
OPENJPEG_PREVENTS_MSG= devel/doxygen installs graphics/openjpeg15 which breaks build of all ports that depend on graphics/openjpeg |
| 124 |
|
148 |
|
| 125 |
PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler |
149 |
PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler |
| 126 |
PDF_CONFIGURE_ENABLE= poppler |
|
|
| 127 |
|
150 |
|
| 128 |
PS_LIB_DEPENDS= libspectre.so:print/libspectre |
151 |
PS_LIB_DEPENDS= libspectre.so:print/libspectre |
| 129 |
PS_CONFIGURE_ENABLE= spectre |
|
|
| 130 |
|
152 |
|
| 131 |
RAW_LIB_DEPENDS= libraw.so:graphics/libraw |
153 |
RAW_LIB_DEPENDS= libraw.so:graphics/libraw |
| 132 |
RAW_CONFIGURE_ENABLE= libraw |
|
|
| 133 |
|
154 |
|
|
|
155 |
SVG_USES= gnome |
| 134 |
SVG_USE= GNOME=cairo GNOME=librsvg2 |
156 |
SVG_USE= GNOME=cairo GNOME=librsvg2 |
| 135 |
SVG_CONFIGURE_ENABLE= librsvg |
|
|
| 136 |
|
157 |
|
| 137 |
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp |
158 |
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp |
| 138 |
WEBP_CONFIGURE_ENABLE= image-loader-webp |
|
|
| 139 |
|
159 |
|
| 140 |
XCF_CONFIGURE_ENABLE= xcf |
160 |
LUAJIT_BUILD_DEPENDS= luajit:lang/luajit |
|
|
161 |
LUAJIT_RUN_DEPENDS= luajit:lang/luajit |
| 162 |
LUAJIT_MESON_ON= -Dlua-interpreter=luajit |
| 163 |
LUAJIT_PREVENTS= LUALANG |
| 141 |
|
164 |
|
|
|
165 |
LUALANG_USES= lua:51,build,run |
| 166 |
LUALANG_MESON_ON= -Dlua-interpreter=lua |
| 167 |
LUALANG_PREVENTS= LUAJIT |
| 168 |
|
| 142 |
OPENGL_USES= gl |
169 |
OPENGL_USES= gl |
| 143 |
OPENGL_USE= GL=gl |
170 |
OPENGL_USE= GL=gl |
|
|
171 |
OPENGL_MESON_ON= -Dopengl=full |
| 172 |
OPENGL_PREVENTS= OPENGLES NONE |
| 144 |
|
173 |
|
| 145 |
OPENGLES_USES= gl |
174 |
OPENGLES_USES= gl |
| 146 |
OPENGLES_USE= GL=glesv2 |
175 |
OPENGLES_USE= GL=glesv2 |
| 147 |
OPENGLES_CONFIGURE_ON= --with-opengl=es --enable-egl |
176 |
OPENGLES_MESON_ON= -Dopengl=es-egl |
|
|
177 |
OPENGLES_PREVENTS= OPENGL NONE |
| 148 |
|
178 |
|
|
|
179 |
NONE_MESON_ON= -Dopengl=none |
| 180 |
NONE_PREVENTS= OPENGL OPENGLES |
| 181 |
|
| 149 |
SDL_USES= sdl |
182 |
SDL_USES= sdl |
| 150 |
SDL_USE= SDL=sdl2 |
183 |
SDL_USE= SDL=sdl2 |
| 151 |
SDL_CONFIGURE_ENABLE= sdl |
184 |
SDL_MESON_TRUE= sdl |
| 152 |
|
185 |
|
| 153 |
.include <bsd.port.options.mk> |
186 |
.include <bsd.port.options.mk> |
| 154 |
|
187 |
|
|
Lines 155-202
Link Here
|
| 155 |
.if ${PORT_OPTIONS:MPULSEAUDIO} |
188 |
.if ${PORT_OPTIONS:MPULSEAUDIO} |
| 156 |
PLIST_SUB+= AUDIO="" |
189 |
PLIST_SUB+= AUDIO="" |
| 157 |
.else |
190 |
.else |
| 158 |
CONFIGURE_ARGS+= --disable-pulseaudio |
|
|
| 159 |
PLIST_SUB+= AUDIO="@comment " |
191 |
PLIST_SUB+= AUDIO="@comment " |
|
|
192 |
PULSEAUDIO_CONFIGURE_ON= -Dpulseaudio=false |
| 160 |
.endif |
193 |
.endif |
| 161 |
|
194 |
|
| 162 |
.if ${PORT_OPTIONS:MSSL} |
195 |
ECORE-IMF-LOADERS-DISABLER-BASE= -Decore-imf-loaders-disabler= |
| 163 |
USES+= ssl |
196 |
ECORE-IMF-LOADERS-DISABLER:= ${ECORE-IMF-LOADERS-DISABLER-BASE} |
|
|
197 |
|
| 198 |
.if empty(PORT_OPTIONS:MIBUS) |
| 199 |
ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}ibus" |
| 200 |
.endif |
| 201 |
|
| 202 |
.if empty(PORT_OPTIONS:MSCIM) |
| 203 |
.if ${ECORE-IMF-LOADERS-DISABLER} != ${ECORE-IMF-LOADERS-DISABLER-BASE} |
| 204 |
ECORE-IMF-LOADERS-DISABLER-BASE:=${ECORE-IMF-LOADERS-DISABLER} |
| 205 |
ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE},scim" |
| 164 |
.else |
206 |
.else |
| 165 |
CONFIGURE_ARGS+= --with-crypto=none |
207 |
ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}scim" |
| 166 |
.endif |
208 |
.endif |
|
|
209 |
.endif |
| 167 |
|
210 |
|
| 168 |
.if ${PORT_OPTIONS:MIBUS} |
211 |
.if empty(PORT_OPTIONS:MXIM) |
| 169 |
CONFIGURE_ARGS+= --with-glib=yes |
212 |
.if ${ECORE-IMF-LOADERS-DISABLER} != ${ECORE-IMF-LOADERS-DISABLER-BASE} |
|
|
213 |
ECORE-IMF-LOADERS-DISABLER-BASE:=${ECORE-IMF-LOADERS-DISABLER} |
| 214 |
ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE},xim" |
| 170 |
.else |
215 |
.else |
| 171 |
CONFIGURE_ARGS+= --disable-ibus --with-glib=no |
216 |
ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}xim" |
| 172 |
.endif |
217 |
.endif |
|
|
218 |
.endif |
| 173 |
|
219 |
|
| 174 |
.if empty(PORT_OPTIONS:MOPENGL) && empty(PORT_OPTIONS:MOPENGLES) |
220 |
MESON_ARGS+= ${ECORE-IMF-LOADERS-DISABLER} |
| 175 |
CONFIGURE_ARGS+= --with-opengl=none |
221 |
|
|
|
222 |
EVAS-LOADERS-DISABLER-BASE= -Devas-loaders-disabler= |
| 223 |
EVAS-LOADERS-DISABLER:= ${EVAS-LOADERS-DISABLER-BASE} |
| 224 |
|
| 225 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 226 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}json" |
| 227 |
|
| 228 |
.if empty(PORT_OPTIONS:MOPENJPEG) |
| 229 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 230 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 231 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},jp2k" |
| 232 |
.else |
| 233 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}jp2k" |
| 176 |
.endif |
234 |
.endif |
|
|
235 |
.endif |
| 177 |
|
236 |
|
| 178 |
# keep in sync with all platforms where libunwind is available |
237 |
.if empty(PORT_OPTIONS:MPDF) |
| 179 |
.if (${ARCH} == amd64 || ${ARCH} == i386) |
238 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 180 |
LIB_DEPENDS+= libunwind.so:devel/libunwind |
239 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
|
|
240 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},pdf" |
| 241 |
.else |
| 242 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}pdf" |
| 181 |
.endif |
243 |
.endif |
|
|
244 |
.endif |
| 182 |
|
245 |
|
| 183 |
.if ${ARCH:Mpowerpc*} || ${ARCH} == "sparc64" |
246 |
.if empty(PORT_OPTIONS:MPS) |
| 184 |
USES+= lua |
247 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 185 |
CONFIGURE_ARGS+= --enable-lua-old |
248 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 186 |
PLIST_SUB+= ELUA="@comment " |
249 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},ps" |
| 187 |
.else |
250 |
.else |
| 188 |
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit |
251 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}ps" |
| 189 |
PLIST_SUB+= ELUA="" |
|
|
| 190 |
.endif |
252 |
.endif |
|
|
253 |
.endif |
| 191 |
|
254 |
|
|
|
255 |
.if empty(PORT_OPTIONS:MRAW) |
| 256 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 257 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 258 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},raw" |
| 259 |
.else |
| 260 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}raw" |
| 261 |
.endif |
| 262 |
.endif |
| 263 |
|
| 264 |
.if empty(PORT_OPTIONS:MSVG) |
| 265 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 266 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 267 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},rsvg" |
| 268 |
.else |
| 269 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}rsvg" |
| 270 |
.endif |
| 271 |
.endif |
| 272 |
|
| 273 |
.if empty(PORT_OPTIONS:MWEBP) |
| 274 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 275 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 276 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},webp" |
| 277 |
.else |
| 278 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}webp" |
| 279 |
.endif |
| 280 |
.endif |
| 281 |
|
| 282 |
.if empty(PORT_OPTIONS:MXCF) |
| 283 |
.if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} |
| 284 |
EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} |
| 285 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},xcf" |
| 286 |
.else |
| 287 |
EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}xcf" |
| 288 |
.endif |
| 289 |
.endif |
| 290 |
|
| 291 |
MESON_ARGS+= ${EVAS-LOADERS-DISABLER} |
| 292 |
|
| 293 |
.if ${PORT_OPTIONS:MLUA} && ${PORT_OPTIONS:MCXX} |
| 294 |
EFL_BINDINGS= -Dbindings=luajit,cxx |
| 295 |
.else |
| 296 |
.if ${PORT_OPTIONS:MLUA} |
| 297 |
EFL_BINDINGS= -Dbindings=luajit |
| 298 |
.else |
| 299 |
.if ${PORT_OPTIONS:MCXX} |
| 300 |
EFL_BINDINGS= -Dbindings=cxx |
| 301 |
.endif |
| 302 |
.endif |
| 303 |
.endif |
| 304 |
|
| 305 |
MESON_ARGS+= ${EFL_BINDINGS} |
| 306 |
|
| 307 |
#.if ${PORT_OPTIONS:MOPENGLES} && ${PORT_OPTIONS:MWAYLAND} |
| 308 |
#WAYLAND_LIB_DEPENDS+= libwayland-egl.so:graphics/wayland |
| 309 |
#WAYLAND_MESON_ARGS= -Degl=true |
| 310 |
#WAYLAND_USE= GL=egl |
| 311 |
#.endif |
| 312 |
|
| 313 |
.if (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == aarch64) |
| 314 |
LIB_DEPENDS+= libunwind.so:devel/libunwind |
| 315 |
.endif |
| 316 |
# Hack to be able to build the port with both graphics/openjpeg and graphics/openjpeg15 installed |
| 317 |
# The problem is reported: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247427 |
| 318 |
#pre-build: |
| 319 |
# @if [ -f ${PREFIX}/include/openjpeg.h ]; then \ |
| 320 |
# ${DIALOG} --no-cancel --pause 'The file /usr/local/include/openjpeg.h will be renamed to /usr/local/include/_openjpeg.h for build.\nIf the port build is failed you MUST rename the file back manually.' 15 40 30; \ |
| 321 |
# ${MV} ${PREFIX}/include/openjpeg.h ${PREFIX}/include/_openjpeg.h; \ |
| 322 |
# fi |
| 323 |
#post-build: |
| 324 |
# @if [ -f ${PREFIX}/include/_openjpeg.h ]; then \ |
| 325 |
# ${MV} ${PREFIX}/include/_openjpeg.h ${PREFIX}/include/openjpeg.h; \ |
| 326 |
# fi |
| 327 |
# End openjpeg hack |
| 328 |
post-stage: |
| 329 |
@${ECHO_CMD} "generating plist"; |
| 330 |
@cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f -or -type l >> ${TMPPLIST} |
| 192 |
post-install: |
331 |
post-install: |
| 193 |
@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb |
332 |
@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb |
| 194 |
@for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ |
333 |
@for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ |
| 195 |
if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ |
334 |
if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ |
| 196 |
done |
335 |
done |
| 197 |
# workaround for https://phab.enlightenment.org/T6783 : it leaves an empty directory |
336 |
# workaround for https://phab.enlightenment.org/T6783 : it leaves an empty directory |
| 198 |
@if [ -d ${STAGEDIR}${PREFIX}/lib/evas/utils -a -z "$$(ls -A ${STAGEDIR}${PREFIX}/lib/evas/utils)" ]; then \ |
337 |
@if [ -d ${STAGEDIR}${PREFIX}/lib/evas/utils -a -z "$$(ls -A ${STAGEDIR}${PREFIX}/lib/evas/utils)" ]; then \ |
| 199 |
${RMDIR} ${STAGEDIR}${PREFIX}/lib/evas/utils; \ |
338 |
${RMDIR} ${STAGEDIR}${PREFIX}/lib/evas/utils; \ |
| 200 |
fi |
339 |
fi |
| 201 |
|
340 |
|
| 202 |
.include <bsd.port.mk> |
341 |
.include <bsd.port.mk> |