summaryrefslogtreecommitdiff
path: root/multimedia
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
parent- Don't build ffmpeg with swscaler by default: VLC 0.8.6c does not (diff)
- 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')
-rw-r--r--multimedia/vlc/Makefile2
-rw-r--r--multimedia/vlc/Makefile.inc12
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 10f43a64c13a..565bb6b5bff1 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -10,7 +10,7 @@
PORTNAME= vlc
DISTVERSION= 0.8.6c
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \
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 \