svn commit: r362261 - head/multimedia/gstreamer
Thomas Zander
riggs at FreeBSD.org
Sat Jul 19 13:18:39 UTC 2014
Author: riggs
Date: Sat Jul 19 13:18:38 2014
New Revision: 362261
URL: http://svnweb.freebsd.org/changeset/ports/362261
QAT: https://qat.redports.org/buildarchive/r362261/
Log:
- Add NLS option
PR: 179701
Submitted by: nemysis at gmx.ch
Approved by: mentors (implicit)
Modified:
head/multimedia/gstreamer/Makefile
head/multimedia/gstreamer/pkg-plist
Modified: head/multimedia/gstreamer/Makefile
==============================================================================
--- head/multimedia/gstreamer/Makefile Sat Jul 19 13:16:02 2014 (r362260)
+++ head/multimedia/gstreamer/Makefile Sat Jul 19 13:18:38 2014 (r362261)
@@ -15,7 +15,7 @@ LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
CFLAGS:= ${CFLAGS} -O2 -Wno-format
-USES= bison gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
+USES= bison gmake libtool:keepla pathfix pkgconfig tar:bzip2
USE_GNOME= glib20 introspection libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
@@ -30,7 +30,7 @@ USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GST_VERSION= 0.10
-OPTIONS_DEFINE= LIBCHECK
+OPTIONS_DEFINE= LIBCHECK NLS
LIBCHECK_DESC= Unit tests support
.include <bsd.port.pre.mk>
@@ -54,6 +54,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${
CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex"
.endif
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
Modified: head/multimedia/gstreamer/pkg-plist
==============================================================================
--- head/multimedia/gstreamer/pkg-plist Sat Jul 19 13:16:02 2014 (r362260)
+++ head/multimedia/gstreamer/pkg-plist Sat Jul 19 13:18:38 2014 (r362261)
@@ -153,46 +153,46 @@ share/gir-1.0/GstBase-%%VERSION%%.gir
%%CHECK%%share/gir-1.0/GstCheck-%%VERSION%%.gir
share/gir-1.0/GstController-%%VERSION%%.gir
share/gir-1.0/GstNet-%%VERSION%%.gir
-share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/be/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/bg/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/da/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/el/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/eo/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/eu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/es/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/fi/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/gl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/hu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/id/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/ja/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/lt/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/pl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/pt_BR/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/ro/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/ru/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/rw/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/sk/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/sl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/zh_CN/LC_MESSAGES/gstreamer-%%VERSION%%.mo
-share/locale/zh_TW/LC_MESSAGES/gstreamer-%%VERSION%%.mo
- at dirrmtry share/locale/rw/LC_MESSAGES
- at dirrmtry share/locale/rw
+%%NLS%%share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/be/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/rw
@dirrm libexec/gstreamer-%%VERSION%%
@dirrm lib/gstreamer-%%VERSION%%
@dirrm include/gstreamer-%%VERSION%%/gst/net
More information about the svn-ports-all
mailing list