blob: a22c28bed3f7301ecc3c627262d64d786dac37fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.106 2020/06/02 08:24:27 adam Exp $
DISTNAME= mlt-6.18.0
PKGREVISION= 5
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/libsamplerate/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.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"
|