Lines 6-34
Link Here
|
6 |
# |
6 |
# |
7 |
# Options to define Features: |
7 |
# Options to define Features: |
8 |
# WITH_AUTODETECT=yes |
8 |
# WITH_AUTODETECT=yes |
|
|
9 |
# |
9 |
# WITH_GNOME=yes |
10 |
# WITH_GNOME=yes |
|
|
11 |
# Gnome Interface |
12 |
# |
13 |
# WITHOUT_GTKVLC=yes |
14 |
# Gtk12 Interface (Default interface) |
15 |
# |
10 |
# WITH_ESOUND=yes |
16 |
# WITH_ESOUND=yes |
|
|
17 |
# |
11 |
# WITH_AALIB=yes |
18 |
# WITH_AALIB=yes |
|
|
19 |
# |
12 |
# WITH_CDDB=yes |
20 |
# WITH_CDDB=yes |
|
|
21 |
# |
13 |
# WITH_DTS=yes |
22 |
# WITH_DTS=yes |
|
|
23 |
# |
14 |
# WITH_FRIBIDI=yes |
24 |
# WITH_FRIBIDI=yes |
|
|
25 |
# |
15 |
# WITH_GGI=yes |
26 |
# WITH_GGI=yes |
|
|
27 |
# |
16 |
# WITH_LIBDVBPSI=yes |
28 |
# WITH_LIBDVBPSI=yes |
|
|
29 |
# |
17 |
# WITH_LIBID3TAG=yes |
30 |
# WITH_LIBID3TAG=yes |
|
|
31 |
# |
18 |
# WITH_LIBMATROSKA=yes |
32 |
# WITH_LIBMATROSKA=yes |
|
|
33 |
# |
19 |
# WITH_LIBMPEG2=yes |
34 |
# WITH_LIBMPEG2=yes |
|
|
35 |
# |
20 |
# WITH_LIBTHEORA=yes |
36 |
# WITH_LIBTHEORA=yes |
|
|
37 |
# |
21 |
# WITH_LIVEMEDIA=yes |
38 |
# WITH_LIVEMEDIA=yes |
22 |
# WITH_NCURSES=yes (ncurses interface) |
39 |
# |
|
|
40 |
# WITH_NCURSES=yes |
41 |
# Ncurses interface |
42 |
# |
23 |
# WITH_SPEEX=yes |
43 |
# WITH_SPEEX=yes |
|
|
44 |
# |
24 |
# WITH_SVGALIB=yes |
45 |
# WITH_SVGALIB=yes |
|
|
46 |
# |
25 |
# WITH_XOSD=yes |
47 |
# WITH_XOSD=yes |
26 |
# WITH_XVID=yes |
48 |
# |
|
|
49 |
# WITHOUT_XVID=yes |
50 |
# |
27 |
# WITH_WXWINDOWS=yes |
51 |
# WITH_WXWINDOWS=yes |
|
|
52 |
# WxWindows Interface |
53 |
# |
28 |
# WITH_OPTIMIZED_CFLAGS=yes |
54 |
# WITH_OPTIMIZED_CFLAGS=yes |
|
|
55 |
# |
29 |
# WITH_DVD_DEVICE=/dev/somedevice (5.x: default is acd0, 4:x default is acd0c) |
56 |
# WITH_DVD_DEVICE=/dev/somedevice (5.x: default is acd0, 4:x default is acd0c) |
30 |
# WITH_CDROM_DEVICE=/dev/somedevice |
57 |
# WITH_CDROM_DEVICE=/dev/somedevice |
|
|
58 |
# |
31 |
# WITHOUT_NLS=yes |
59 |
# WITHOUT_NLS=yes |
|
|
60 |
# |
32 |
# WITHOUT_LIBID3TAG=yes |
61 |
# WITHOUT_LIBID3TAG=yes |
33 |
|
62 |
|
34 |
PORTNAME= vlc |
63 |
PORTNAME= vlc |
Lines 92-102
Link Here
|
92 |
.include <bsd.port.pre.mk> |
121 |
.include <bsd.port.pre.mk> |
93 |
|
122 |
|
94 |
.if ${OSVERSION} < 500000 |
123 |
.if ${OSVERSION} < 500000 |
95 |
USE_GCC= 3.3 |
124 |
USE_GCC= 3.4 |
96 |
.endif |
125 |
.endif |
97 |
|
126 |
|
98 |
.if defined(WITH_AUTODETECT) && !defined(BATCH) |
|
|
99 |
|
100 |
.if ${HAVE_GNOME:Mgnomelibs}!="" && !defined(WITHOUT_GNOME) |
127 |
.if ${HAVE_GNOME:Mgnomelibs}!="" && !defined(WITHOUT_GNOME) |
101 |
WITH_GNOME= yes |
128 |
WITH_GNOME= yes |
102 |
.endif |
129 |
.endif |
Lines 105-110
Link Here
|
105 |
WITH_ESOUND= yes |
132 |
WITH_ESOUND= yes |
106 |
.endif |
133 |
.endif |
107 |
|
134 |
|
|
|
135 |
.if defined(WITH_AUTODETECT) && !defined(BATCH) |
136 |
|
108 |
.if exists(${LOCALBASE}/lib/libaa.so.1) && !defined(WITHOUT_AALIB) |
137 |
.if exists(${LOCALBASE}/lib/libaa.so.1) && !defined(WITHOUT_AALIB) |
109 |
WITH_AALIB= yes |
138 |
WITH_AALIB= yes |
110 |
.endif |
139 |
.endif |
Lines 153-162
Link Here
|
153 |
WITH_XOSD= yes |
182 |
WITH_XOSD= yes |
154 |
.endif |
183 |
.endif |
155 |
|
184 |
|
156 |
.if exists(${LOCALBASE}/lib/libxvidcore.so.4) && !defined(WITHOUT_XVID) |
|
|
157 |
WITH_XVID= yes |
158 |
.endif |
159 |
|
160 |
.endif |
185 |
.endif |
161 |
|
186 |
|
162 |
.if defined(WITH_MATROSKA) |
187 |
.if defined(WITH_MATROSKA) |
Lines 194-201
Link Here
|
194 |
PLIST_FILES+= bin/gnome-vlc \ |
219 |
PLIST_FILES+= bin/gnome-vlc \ |
195 |
lib/vlc/gui/libgnome_plugin.so \ |
220 |
lib/vlc/gui/libgnome_plugin.so \ |
196 |
lib/vlc/misc/libgnome_main_plugin.so |
221 |
lib/vlc/misc/libgnome_main_plugin.so |
|
|
222 |
.endif |
223 |
|
224 |
.if !defined(WITHOUT_GTKVLC) |
225 |
PLIST_FILES+= bin/gvlc \ |
226 |
lib/vlc/gui/libgtk_plugin.so \ |
227 |
lib/vlc/misc/libgtk_main_plugin.so |
197 |
.else |
228 |
.else |
198 |
CONFIGURE_ARGS+=--enable-gtk |
229 |
CONFIGURE_ARGS+=--disable-gtk |
199 |
.endif |
230 |
.endif |
200 |
|
231 |
|
201 |
.if defined(WITH_WXWINDOWS) && !defined(WITHOUT_WXWINDOWS) |
232 |
.if defined(WITH_WXWINDOWS) && !defined(WITHOUT_WXWINDOWS) |
Lines 322-328
Link Here
|
322 |
CONFIGURE_ARGS+=--disable-xosd |
353 |
CONFIGURE_ARGS+=--disable-xosd |
323 |
.endif |
354 |
.endif |
324 |
|
355 |
|
325 |
.if defined(WITH_XVID) && !defined(WITHOUT_XVID) |
356 |
.if !defined(WITHOUT_XVID) |
326 |
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid |
357 |
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid |
327 |
CONFIGURE_ARGS+=--enable-xvideo |
358 |
CONFIGURE_ARGS+=--enable-xvideo |
328 |
PLIST_FILES+= lib/vlc/video_output/libxvideo_plugin.so |
359 |
PLIST_FILES+= lib/vlc/video_output/libxvideo_plugin.so |