pkgsrc/multimedia/gst-plugins0.10-base/Makefile
jperkin f7ea903280 gst-plugins0.10-base: Improved hack for .mo files.
The find(1) hack was broken for at least two reasons (-execdir is not portable
and share/locale was hardcoded instead of using PKGLOCALEDIR).  Explicitly
setting the DOMAIN variable is at least a working improvement, if not ideal.
2021-10-21 16:11:11 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2021/10/21 16:11:11 jperkin Exp $
#
.include "Makefile.common"
PKGREVISION= 18
#CONFIGURE_ARGS+= --disable-silent-rules
COMMENT+= Base plugins
# some plugins were moved from bad to base
CONFLICTS+= gst-plugins0.10-bad<0.10.10
USE_TOOLS+= perl:run autoconf automake gmake
USE_TOOLS+= autoreconf autopoint
TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= pkgconfig/*.pc.in
REPLACE_PERL+= tools/gst-visualise-m.m
PKG_OPTIONS_VAR= PKG_OPTIONS.gst-plugins0.10-base
PKG_SUPPORTED_OPTIONS= introspection
PKG_SUGGESTED_OPTIONS= introspection
.include "../../mk/bsd.options.mk"
PLIST_VARS+= introspection
# only useful if gstreamer was built with the "gstcheck" option
TEST_TARGET= check-torture
# soft dependency only, .pc file not needed
#.include "../../textproc/iso-codes/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mintrospection)
PLIST.introspection= yes
.include "../../devel/gobject-introspection/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-introspection
.endif
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
.include "../../mk/bsd.pkg.mk"