diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/VLC/Portfile ./Portfile
old
|
new
|
|
5 | 5 | PortGroup compiler_blacklist_versions 1.0 |
6 | 6 | |
7 | 7 | name VLC |
8 | | version 2.1.0 |
9 | | revision 3 |
| 8 | version 2.1.2 |
10 | 9 | categories multimedia |
11 | 10 | |
12 | 11 | maintainers jeremyhu openmaintainer |
… |
… |
|
34 | 33 | distname vlc-${version} |
35 | 34 | use_xz yes |
36 | 35 | |
37 | | checksums md5 8c77bda671821f5b9ede96b6816e2ade \ |
38 | | sha1 f6bdf3971f764a9a192f44e4b6363ac482919dc2 \ |
39 | | rmd160 b8f3240eb6941d3eb4b2fc21c8b279b80f4cd026 |
| 36 | checksums md5 fb6787ad749aadcfaeab3471939b3426 \ |
| 37 | sha1 2b0ef3a3767c56d64a2815c772c8b3f865018e70 \ |
| 38 | rmd160 8e952218c2be5cb3ed0333ba776bd87477468a63 |
40 | 39 | |
41 | 40 | depends_build port:pkgconfig |
42 | 41 | |
… |
… |
|
46 | 45 | port:ncurses port:lua port:libpng port:jpeg port:tiff port:libebml \ |
47 | 46 | port:gnutls port:taglib port:libxml2 port:faad2 \ |
48 | 47 | port:x264 port:libtheora port:twolame port:libssh2 \ |
49 | | port:libdvdnav port:libdvdread port:libproxy \ |
50 | | port:fluidsynth port:libsamplerate port:libupnp \ |
51 | | port:avahi path:lib/libavcodec.dylib:ffmpeg \ |
52 | | port:openjpeg15 port:libbluray \ |
53 | | port:libdc1394 port:libmpeg2 |
| 48 | port:libdvdnav port:libdvdread port:libsamplerate port:libupnp \ |
| 49 | port:avahi path:lib/libavcodec.dylib:ffmpeg port:openjpeg15 port:libbluray \ |
| 50 | port:libdc1394 port:libmpeg2 port:dirac port:libass port:libsdl \ |
| 51 | port:libsdl_image port:schroedinger port:speex port:libmodplug \ |
| 52 | port:libmpcdec port:fontconfig port:freetype port:fribidi |
| 53 | |
| 54 | # extra deps found by port-depcheck.sh |
| 55 | depends_lib-append \ |
| 56 | port:XviD port:bzip2 port:gettext port:glib2 port:gmp \ |
| 57 | port:libgpg-error port:libiconv port:libidn port:libsndfile \ |
| 58 | port:libusb port:nettle port:openssl port:orc port:p11-kit \ |
| 59 | port:readline port:xorg-libX11 port:xorg-libXau port:xorg-libXdmcp \ |
| 60 | port:xorg-libXext port:xorg-libXrandr port:xorg-libxcb port:xrender |
54 | 61 | |
55 | 62 | # TODO: live555 opencv FreeRDP |
56 | 63 | |
… |
… |
|
74 | 81 | class_struct.patch \ |
75 | 82 | qtkit.patch \ |
76 | 83 | static_assert.patch \ |
77 | | no-sparkle.patch \ |
78 | | patch-freetype-2.5.1.diff |
| 84 | no-sparkle.patch |
79 | 85 | |
80 | 86 | post-patch { |
81 | 87 | reinplace "s:librsvg-2/librsvg:librsvg:" \ |
… |
… |
|
104 | 110 | configure.args-append \ |
105 | 111 | --with-contrib=${worksrcpath}/contrib \ |
106 | 112 | --disable-debug --disable-update-check --enable-gnutls \ |
107 | | --disable-notify --disable-telepathy --disable-dbus \ |
| 113 | --disable-notify --disable-dbus \ |
108 | 114 | --disable-gnomevfs --disable-growl --disable-macosx-vlc-app \ |
109 | | --enable-libproxy --enable-lua |
| 115 | --enable-lua |
110 | 116 | |
111 | 117 | # Input Plugins |
112 | 118 | # build fails when FreeRDP is installed |
113 | 119 | # build fails when opencv is installed |
114 | 120 | configure.args-append \ |
115 | | --enable-dvdnav --enable-dvdread --disable-smb --disable-vcdx \ |
| 121 | --enable-dvdnav --enable-dvdread --disable-smbclient --disable-vcdx \ |
116 | 122 | --disable-macosx-qtkit --disable-macosx-eyetv --disable-realrtsp \ |
117 | 123 | --disable-libfreerdp --disable-opencv \ |
118 | 124 | --enable-sftp |
… |
… |
|
120 | 126 | # Mux/Demux Plugins |
121 | 127 | configure.args-append \ |
122 | 128 | --disable-dvbpsi --enable-ogg --enable-mux_ogg \ |
123 | | --enable-mkv --disable-mod --disable-mpc --disable-shout |
| 129 | --enable-mkv --enable-mod --enable-mpc --disable-shout |
124 | 130 | |
125 | 131 | # Codec Plugins |
126 | 132 | configure.args-append \ |
127 | 133 | --enable-a52 --enable-faad --enable-flac --disable-live555 \ |
128 | | --enable-opus --enable-vorbis --enable-ogg --enable-mad --disable-libass \ |
| 134 | --enable-opus --enable-vorbis --enable-ogg --enable-mad --enable-libass \ |
129 | 135 | --enable-dca --enable-png --disable-quicktime --enable-twolame \ |
130 | 136 | --disable-speex --enable-theora --enable-x264 --enable-postproc \ |
131 | 137 | --enable-avcodec --enable-avformat --enable-swscale \ |
132 | | --enable-fluidsynth |
| 138 | --disable-fluidsynth --enable-dirac --enable-schroedinger --enable-speex |
133 | 139 | |
134 | 140 | # Video Plugins |
135 | 141 | configure.args-append \ |
136 | | --disable-caca --disable-sdl --disable-macosx-vout \ |
| 142 | --disable-caca --enable-sdl --enable-sdl-image --disable-macosx-vout \ |
137 | 143 | --without-x --disable-xcb --disable-xvideo --disable-glx \ |
138 | | --disable-fontconfig --disable-freetype --disable-fribidi \ |
| 144 | --enable-freetype --enable-fontconfig --enable-fribidi \ |
139 | 145 | --disable-svg |
140 | 146 | |
141 | 147 | # Audio Plugins |
… |
… |
|
145 | 151 | # Interface Plugins |
146 | 152 | configure.args-append \ |
147 | 153 | --disable-macosx --disable-macosx-dialog-provider \ |
148 | | --disable-qt4 --enable-ncurses --disable-skins2 |
| 154 | --disable-qt --enable-ncurses --disable-skins2 |
149 | 155 | |
150 | 156 | # Visualisations and Video Filter Plugins |
151 | 157 | configure.args-append \ |
… |
… |
|
155 | 161 | configure.args-append \ |
156 | 162 | --enable-bonjour --enable-upnp |
157 | 163 | |
158 | | variant jack description {Enable jack plugin for audio output} { |
159 | | depends_lib-append port:jack |
160 | | configure.args-delete --disable-jack |
161 | | configure.args-append --enable-jack |
| 164 | variant jack description {Enable jack and fluidsynth plugins for audio output} { |
| 165 | depends_lib-append port:jack port:fluidsynth port:portaudio |
| 166 | configure.args-delete --disable-jack --disable-fluidsynth |
| 167 | configure.args-append --enable-jack --enable-fluidsynth |
162 | 168 | } |
163 | 169 | |
164 | 170 | variant qtkit description {Enable qtcapture and qtaudio} { |
… |
… |
|
171 | 177 | configure.args-append --enable-macosx-eyetv |
172 | 178 | } |
173 | 179 | |
174 | | variant speex description {Enable Speex decoder support} { |
175 | | depends_lib-append path:lib/libspeex.dylib:speex |
176 | | configure.args-delete --disable-speex |
177 | | configure.args-append --enable-speex |
178 | | } |
179 | | |
180 | 180 | variant svg description {Enable SVG support} { |
181 | 181 | depends_lib-append port:librsvg |
182 | 182 | configure.args-delete --disable-svg |
… |
… |
|
195 | 195 | configure.args-append --enable-vcdx |
196 | 196 | } |
197 | 197 | |
198 | | variant mod description {Enable MOD demuxer support} { |
199 | | depends_lib-append port:libmodplug |
200 | | configure.args-delete --disable-mod |
201 | | configure.args-append --enable-mod |
202 | | } |
203 | | |
204 | | variant mpc description {enable Musepack Decoder library support} { |
205 | | depends_lib-append port:libmpcdec |
206 | | configure.args-delete --disable-mpc |
207 | | configure.args-append --enable-mpc |
208 | | } |
209 | | |
210 | 198 | variant dvb description {enable DVB Program Specific Information support} { |
211 | 199 | depends_lib-append port:libdvbpsi |
212 | 200 | configure.args-delete --disable-dvbpsi |
213 | 201 | configure.args-append --enable-dvbpsi |
214 | 202 | } |
215 | 203 | |
216 | | variant osd description {Enable onscreen display and TrueType font support} { |
217 | | depends_lib-append port:fontconfig port:freetype |
218 | | configure.args-delete --disable-freetype --disable-fontconfig |
219 | | configure.args-append --enable-freetype --enable-fontconfig |
220 | | } |
221 | | |
222 | | variant fribidi requires osd description {Enable FriBidi Unicode support} { |
223 | | depends_lib-append port:fribidi |
224 | | configure.args-delete --disable-fribidi |
225 | | configure.args-append --enable-fribidi |
226 | | } |
227 | | |
228 | | variant sdl description {Enable SDL/SDL-Image support} { |
229 | | depends_lib-append port:libsdl port:libsdl_image |
230 | | configure.args-delete --disable-sdl |
231 | | configure.args-append --enable-sdl |
232 | | } |
233 | | |
234 | 204 | variant smb description {Enable Samba 3 support} { |
235 | 205 | depends_lib-append port:samba3 |
236 | | configure.args-delete --disable-smb |
237 | | configure.args-append --enable-smb |
| 206 | configure.args-delete --disable-smbclient |
| 207 | configure.args-append --enable-smbclient |
238 | 208 | configure.ldflags-append -L${prefix}/lib/samba3 |
239 | 209 | } |
240 | 210 | |
… |
… |
|
253 | 223 | } |
254 | 224 | |
255 | 225 | variant qt4 description {Build using QT4 UI. This will use qt4-mac} { |
256 | | configure.args-delete --disable-qt4 |
257 | | configure.args-append --enable-qt4 |
| 226 | configure.args-delete --disable-qt |
| 227 | configure.args-append --enable-qt |
258 | 228 | |
259 | 229 | PortGroup qt4 1.0 |
260 | 230 | |
… |
… |
|
271 | 241 | configure.args-append --enable-macosx --enable-macosx-dialog-provider |
272 | 242 | } |
273 | 243 | |
274 | | default_variants +mod +mpc +osd +quartz |
275 | | |
276 | 244 | variant huge \ |
277 | | requires dvb eyetv fribidi jack mod mpc osd sdl shout speex svg vcd \ |
| 245 | requires dvb eyetv jack shout svg vcd \ |
278 | 246 | description {Enable all variants except quartz, qt4, smb, and x11} {} |
279 | 247 | |
280 | 248 | variant full \ |
… |
… |
|
282 | 250 | description {Enable all variants} {} |
283 | 251 | |
284 | 252 | platform macosx { |
285 | | default_variants-append +qtkit |
| 253 | default_variants-append +quartz +qtkit |
286 | 254 | |
287 | 255 | configure.args-delete \ |
288 | 256 | --disable-macosx-vout --disable-macosx-audio \ |
289 | 257 | |
290 | 258 | configure.args-append \ |
291 | | --enable-macosx-vout --enable-macosx-audio \ |
292 | | --with-macosx-sdk=/ |
| 259 | --enable-macosx-vout --enable-macosx-audio |
293 | 260 | |
294 | 261 | if {[variant_isset qt4] || [variant_isset quartz]} { |
295 | 262 | configure.args-delete --disable-macosx-vlc-app |
… |
… |
|
326 | 293 | eval file delete [glob ${destroot}${prefix}/lib/vlc/plugins/*/*.la] |
327 | 294 | |
328 | 295 | if {[variant_isset qt4] || [variant_isset quartz]} { |
329 | | file rename ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app |
330 | | |
331 | | # These are already in ${prefix}, so we don't need to bundle them as well |
332 | | file delete -force ${destroot}${applications_dir}/VLC.app/Contents/Frameworks |
333 | | file delete -force ${destroot}${applications_dir}/VLC.app/Contents/lib |
334 | | |
335 | | # There's no need to install these into the bundle and the prefix |
336 | | file delete -force ${destroot}${applications_dir}/VLC.app/Contents/MacOS/include |
337 | | file delete -force ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib |
338 | | file delete -force ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins |
339 | | |
340 | | # http://trac.macports.org/ticket/35131 |
341 | | ln -s ${prefix}/lib ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib |
342 | | ln -s ${prefix}/lib/vlc/plugins ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins |
| 296 | file copy ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app |
| 297 | file copy ${worksrcpath}/modules/plugins.dat \ |
| 298 | ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins/plugins.dat |
343 | 299 | } |
344 | 300 | } |
345 | 301 | } |
diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/VLC/files/no-sparkle.patch ./files/no-sparkle.patch
old
|
new
|
|
95 | 95 | #pragma mark Media Key support |
96 | 96 | |
97 | 97 | -(void)mediaKeyTap:(SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event |
98 | | diff --git modules/gui/macosx/simple_prefs.m modules/gui/macosx/simple_prefs.m |
99 | | index a91fe3a..4407d25 100644 |
100 | | --- modules/gui/macosx/simple_prefs.m |
101 | | +++ modules/gui/macosx/simple_prefs.m |
| 98 | diff -u modules/gui/macosx/simple_prefs.m.orig modules/gui/macosx/simple_prefs.m |
| 99 | --- modules/gui/macosx/simple_prefs.m.orig 2013-12-11 08:20:00.000000000 -0500 |
| 100 | +++ modules/gui/macosx/simple_prefs.m 2013-12-11 08:21:56.000000000 -0500 |
102 | 101 | @@ -38,8 +38,6 @@ |
103 | 102 | #import "AppleRemote.h" |
104 | 103 | #import "CoreInteraction.h" |
105 | 104 | |
106 | 105 | -#import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl |
107 | 106 | - |
108 | | static NSString* VLCSPrefsToolbarIdentifier = @"Our Simple Preferences Toolbar Identifier"; |
109 | | static NSString* VLCIntfSettingToolbarIdentifier = @"Intf Settings Item Identifier"; |
110 | | static NSString* VLCAudioSettingToolbarIdentifier = @"Audio Settings Item Identifier"; |
111 | | @@ -235,7 +233,6 @@ create_toolbar_item(NSString * o_itemIdent, NSString * o_name, NSString * o_desc |
| 107 | static const char *const ppsz_language[] = |
| 108 | { |
| 109 | "auto", |
| 110 | @@ -365,7 +363,6 @@ |
112 | 111 | [o_intf_appleremote_sysvol_ckb setTitle: _NS("Control system volume with the Apple Remote")]; |
113 | 112 | [o_intf_mediakeys_ckb setTitle: _NS("Control playback with media keys")]; |
114 | 113 | [o_intf_update_ckb setTitle: _NS("Automatically check for updates")]; |
… |
… |
|
116 | 115 | [o_intf_enableGrowl_ckb setTitle: _NS("Enable Growl notifications (on playlist item change)")]; |
117 | 116 | [o_intf_autoresize_ckb setTitle: _NS("Resize interface to the native video size")]; |
118 | 117 | [o_intf_pauseminimized_ckb setTitle: _NS("Pause the video playback when minimized")]; |
119 | | @@ -440,10 +437,6 @@ static inline char * __config_GetLabel(vlc_object_t *p_this, const char *psz_nam |
| 118 | @@ -585,10 +582,6 @@ |
120 | 119 | [self setupButton: o_intf_appleremote_sysvol_ckb forBoolValue: "macosx-appleremote-sysvol"]; |
121 | 120 | |
122 | 121 | [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"]; |
diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/VLC/files/patch-freetype-2.5.1.diff ./files/patch-freetype-2.5.1.diff
old
|
new
|
|
1 | | From c5b2b0a284ba6b544646f3a205aa1a2e1117d431 Mon Sep 17 00:00:00 2001 |
2 | | From: Jean-Baptiste Kempf <jb@videolan.org> |
3 | | Date: Mon, 2 Dec 2013 17:32:07 +0100 |
4 | | Subject: [PATCH 1/1] Freetype: fix compilation with 2.5.1 |
5 | | |
6 | | Close #10019 |
7 | | --- |
8 | | modules/text_renderer/freetype.c | 3 ++- |
9 | | 1 file changed, 2 insertions(+), 1 deletion(-) |
10 | | |
11 | | diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c |
12 | | index bd78c0d..baeeb96 100644 |
13 | | --- modules/text_renderer/freetype.c |
14 | | +++ modules/text_renderer/freetype.c |
15 | | @@ -88,10 +88,11 @@ |
16 | | #endif |
17 | | |
18 | | /* Freetype */ |
19 | | -#include <freetype/ftsynth.h> |
20 | | +#include <ft2build.h> |
21 | | #include FT_FREETYPE_H |
22 | | #include FT_GLYPH_H |
23 | | #include FT_STROKER_H |
24 | | +#include FT_SYNTHESIS_H |
25 | | |
26 | | #define FT_FLOOR(X) ((X & -64) >> 6) |
27 | | #define FT_CEIL(X) (((X + 63) & -64) >> 6) |
28 | | -- |
29 | | 1.7.10.4 |
30 | | |