mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add NLS option
PR: 179701 Submitted by: nemysis@gmx.ch Approved by: mentors (implicit)
This commit is contained in:
parent
78cd9966cf
commit
7ad29f7ca5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362261
@ -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:${PORTSDIR}/textproc/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
|
||||
|
@ -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
|
||||
@dirrmtry share/locale/rw/LC_MESSAGES
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user