Ticket #47313: vlc-devel.diff
File vlc-devel.diff, 2.7 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
multimedia/VLC-devel/Portfile
old new 5 5 PortGroup compiler_blacklist_versions 1.0 6 6 7 7 name VLC-devel 8 set commit_date 20150427 9 version 2.2.2-${commit_date}8 #version 3.0.0-150330-g7491a5ff 9 version 3.0.0-150503-g7385062d 10 10 11 11 categories multimedia devel 12 12 … … 39 39 40 40 41 41 fetch.type git 42 git.url git://git.videolan.org/vlc/vlc-2.2.git 43 git.branch 25028749dc5f86c04a67ae47fccc7d6ad672ee8a 42 if {[file exists ${filespath}/vlc-git/.git]} { 43 git.url file://${filespath}/vlc-git 44 } else { 45 git.url git://git.videolan.org/vlc/vlc.git 46 } 47 git.branch 7385062d 44 48 45 49 depends_build port:pkgconfig 46 50 … … 131 135 configure.ac-no-arch.patch \ 132 136 PR-34741-no__clang_version__.patch \ 133 137 static_assert.patch \ 134 no-sparkle.patch \ 135 dispatch_queue_serial.patch 138 no-sparkle.patch 136 139 137 140 post-patch { 138 141 reinplace "s:librsvg-2/librsvg:librsvg:" \ … … 199 202 # claiming the headers and libs are somewhere they're not. 200 203 configure.args-append \ 201 204 --disable-caca --enable-sdl --enable-sdl-image \ 202 --without-x --disable-xcb --disable-xvideo \205 --without-x --disable-xcb --disable-xvideo --disable-glx \ 203 206 --x-includes=${destroot} --x-libraries=${destroot} \ 204 207 --enable-freetype --enable-fontconfig --enable-fribidi \ 205 208 --disable-svg 206 209 207 210 # Audio Plugins 208 211 configure.args-append \ 209 --disable-jack --enable-samplerate 212 --disable-jack --enable-samplerate --disable-pulse 210 213 211 214 # Interface Plugins 212 215 configure.args-append \ … … 349 352 configure.args-delete --enable-freerdp 350 353 configure.args-append --disable-freerdp 351 354 depends_lib-delete port:FreeRDP 352 # same goes for pulseaudio353 configure.args-append --disable-pulse354 depends_lib-delete port:pulseaudio355 355 } 356 356 357 357 platform macosx { … … 394 394 file mkdir "${worksrcpath}/contrib/lib" 395 395 } 396 396 397 post-configure { 398 # modules/demux/mkv/util.cpp fails to build in C++11 mode, but there appears to be no 399 # finer-grained way to cancel C++11 mode than for all modules. 400 reinplace "s|-std=c++11||g" ${worksrcpath}/modules/Makefile 401 } 402 397 403 post-destroot { 398 404 eval file delete [glob ${destroot}${prefix}/lib/vlc/plugins/*/*.la] 399 405