blob: 4157d16de522f5bc5c9b817311218685a363cf36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= efl
PORTVERSION= 1.18.1
CATEGORIES= devel enlightenment
MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/
MAINTAINER= enlightenment@FreeBSD.org
COMMENT= Enlightenment Foundation Libraries
LICENSE= BSD2CLAUSE LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libdbus-1.so:devel/dbus \
libsndfile.so:audio/libsndfile
DIST_SUBDIR= enlightenment
GNU_CONFIGURE= yes
USES= autoreconf compiler:c++11-lib gettext-tools gmake iconv jpeg \
libtool pathfix pkgconfig shared-mime-info tar:xz
USE_XORG= x11 xcursor xcomposite xdamage xext xfixes xi xinerama xp \
xrandr xrender xtst xscrnsaver
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-profile=release \
--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
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS NVIDIA PHYSICS PULSEAUDIO SSL
OPTIONS_GROUP= EMOTION INPUT LOADER
OPTIONS_GROUP_EMOTION= GSTREAMER LIBXINE V4L VLC
OPTIONS_GROUP_INPUT= IBUS SCIM
OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF
OPTIONS_RADIO= ENGINE
OPTIONS_RADIO_ENGINE= OPENGL SDL
OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PHYSICS SSL GSTREAMER PDF SVG OPENGL
OPTIONS_SUB= yes
HARFBUZZ_DESC= OpenType text shaping engine
NVIDIA_DESC= Apply Nvidia workaround
PHYSICS_DESC= Physics effects
VLC_DESC= Multimedia support by VLC
IBUS_DESC= Intelligent Input Bus
SCIM_DESC= Smart Common Input Method
XCF_DESC= Gimp image format support
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
AVAHI_CONFIGURE_ENABLE= avahi
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
FRIBIDI_CONFIGURE_ENABLE= fribidi
HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE= harfbuzz
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet
PHYSICS_CONFIGURE_ENABLE= physics
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio
GSTREAMER_USE= GSTREAMER1=core
GSTREAMER_CONFIGURE_ENABLE= gstreamer1
LIBXINE_LIB_DEPENDS= libxine.so:multimedia/libxine
LIBXINE_CONFIGURE_ENABLE= xine
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
V4L_CONFIGURE_ENABLE= v4l2
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc
VLC_CONFIGURE_WITH= generic_vlc
IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus
SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim
SCIM_CONFIGURE_ENABLE= scim
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15
OPENJPEG_CONFIGURE_ENABLE= image-loader-jp2k
PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler
PDF_CONFIGURE_ENABLE= poppler
PS_LIB_DEPENDS= libspectre.so:print/libspectre
PS_CONFIGURE_ENABLE= spectre
RAW_LIB_DEPENDS= libraw.so:graphics/libraw
RAW_CONFIGURE_ENABLE= libraw
SVG_USE= GNOME=cairo GNOME=librsvg2
SVG_CONFIGURE_ENABLE= librsvg
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_CONFIGURE_ENABLE= image-loader-webp
XCF_CONFIGURE_ENABLE= xcf
OPENGL_USE= GL=gl
SDL_USE= SDL=sdl2
SDL_CONFIGURE_ENABLE= sdl
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNVIDIA}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-lib-ecore_x-ecore_x_vsync_tool.c
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
PLIST_SUB+= AUDIO=""
.else
CONFIGURE_ARGS+= --disable-audio
PLIST_SUB+= AUDIO="@comment "
.endif
.if ${PORT_OPTIONS:MSSL}
USES+= ssl
WITH_OPENSSL_PORT= yes
.else
CONFIGURE_ARGS+= --with-crypto=none
.endif
.if ${PORT_OPTIONS:MIBUS}
CONFIGURE_ARGS+= --with-glib=yes
.else
CONFIGURE_ARGS+= --disable-ibus --with-glib=no
.endif
.if empty(PORT_OPTIONS:MOPENGL)
CONFIGURE_ARGS+= --with-opengl=none
.endif
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
USES+= lua
CONFIGURE_ARGS+= --enable-lua-old
PLIST_SUB+= ELUA="@comment "
.else
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit
PLIST_SUB+= ELUA=""
.endif
pre-patch:
@${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.am
post-stage:
${RM} -r ${STAGEDIR}${PREFIX}/share/gdb
for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \
if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \
done
.include <bsd.port.mk>
|