aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/Makefile.inc
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-08-12 20:12:02 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-08-12 20:12:02 +0000
commit6b484558488c9164cc07b5e112f18b310c5745e0 (patch)
tree2b33fdef1376a3ba894783395dd5c5ba85e86bbf /multimedia/vlc/Makefile.inc
parent73023861593faf34ba73bf4ae776fc72735d326d (diff)
downloadports-6b484558488c9164cc07b5e112f18b310c5745e0.tar.gz
ports-6b484558488c9164cc07b5e112f18b310c5745e0.zip
- This version of VLC does not support ffmeg when it has been built with
swscaler: add a warning message in this case, and bump PORTREVISION to chase the ffmpeg update; - fix scrambled output with non-english locales. PR: ports/115428 and ports/115446 Approved by: mezz
Notes
Notes: svn path=/head/; revision=197545
Diffstat (limited to 'multimedia/vlc/Makefile.inc')
-rw-r--r--multimedia/vlc/Makefile.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/vlc/Makefile.inc b/multimedia/vlc/Makefile.inc
index 63e1527d5a7e..56f8db9b5b8f 100644
--- a/multimedia/vlc/Makefile.inc
+++ b/multimedia/vlc/Makefile.inc
@@ -225,6 +225,18 @@
# Do not install Vlc's Documents
#
+pre-everything::
+.if exists(${LOCALBASE}/lib/libswscale.so)
+ @${ECHO_CMD}
+ @${ECHO_CMD} 'VLC cannot find ffmpeg if it has been built with the software scaler,'
+ @${ECHO_CMD} 'be sure to not define WITH_SWSCALER to build it.'
+ @${ECHO_CMD}
+.endif
+
+post-extract:
+# remove badly formatted pre-generated messages catalogs
+ ${FIND} ${WRKSRC} -name "*.gmo" -delete
+
post-patch:
# Subtitle default font
@${REINPLACE_CMD} -e \