File:  [cvs.NetBSD.org] / pkgsrc / multimedia / mlt / Makefile
Revision 1.110: download - view: text, annotated - select for diffs
Tue Aug 18 17:58:10 2020 UTC (4 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
*: revbump for libsndfile

# $NetBSD: Makefile,v 1.110 2020/08/18 17:58:10 leot Exp $

DISTNAME=	mlt-6.20.0
PKGREVISION=	3
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_GITHUB:=mltframework/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.mltframework.org/
COMMENT=	Open source multimedia framework
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES=	c c++11
GNU_CONFIGURE=	YES

CONFIGURE_ARGS+=	--enable-gpl
CONFIGURE_ARGS+=	--disable-swfdec
CONFIGURE_ARGS+=	--disable-sdl

CFLAGS.NetBSD+=		-DHAVE_LOCALE_H -DHAVE_STRTOD_L

SUBST_CLASSES+=		frei0r
SUBST_STAGE.frei0r=	pre-configure
SUBST_FILES.frei0r=	src/modules/frei0r/factory.c
SUBST_SED.frei0r=	-e 's^/usr/lib/frei0r-1.*:^${BUILDLINK_PREFIX.frei0r}/lib/frei0r-1:^'

PKGCONFIG_OVERRIDE+=	mlt++.pc.in
PKGCONFIG_OVERRIDE+=	mlt-framework.pc.in

.include "../../audio/libebur128/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_COMPILER:M*gcc*)
.  include "../../devel/libatomic/buildlink3.mk"
.endif
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../multimedia/frei0r/buildlink3.mk"
.include "../../multimedia/libdv/buildlink3.mk"
.include "../../multimedia/movit/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>