aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-08-13 04:12:02 +0800
committerthierry <thierry@FreeBSD.org>2007-08-13 04:12:02 +0800
commit23505504390a9d3cbc578a7e399122c76a0d43b7 (patch)
treecc089aea22415be3e914ba4e955ef605827843d8 /multimedia/vlc
parent04c76e05ffd122b012e6b100aaad4066a31fd9e3 (diff)
downloadfreebsd-ports-gnome-23505504390a9d3cbc578a7e399122c76a0d43b7.tar.gz
freebsd-ports-gnome-23505504390a9d3cbc578a7e399122c76a0d43b7.tar.zst
freebsd-ports-gnome-23505504390a9d3cbc578a7e399122c76a0d43b7.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
Diffstat (limited to 'multimedia/vlc')
-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 \