blob: 36acad94f6cbbc5974701a0d03bdfa98d7aa7405 (
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
|
# $NetBSD: Makefile,v 1.21 2018/02/05 18:37:21 jperkin Exp $
DISTNAME= mpeg4ip-1.6.1
PKGNAME= libmp4v2-1.6.1
PKGREVISION= 8
CATEGORIES= multimedia
# distfile at sf is corrupt
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpeg4ip/}
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=ahze/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mpeg4ip.sourceforge.net/
COMMENT= Library for reading and modifying mp4 files
USE_LANGUAGES= c c++03
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= USENASM=no
# the "bootstrap" script checks too much, and isn't useful anyway
#CONFIGURE_SCRIPT= bootstrap
# libmp4v2 has config.{guess,sub} also in common/video/iso-mpeg4
# (unused by libmp4v2 build)
OVERRIDE_DIRDEPTH= 3
# to install mp4* tools
BUILD_DIRS= . lib/mp4v2/util
# lowercase min,max cannot be used as macros, conflicts with libstdc++6
SUBST_CLASSES+= minmax
SUBST_STAGE.minmax= post-patch
SUBST_FILES.minmax= common/video/iso-mpeg4/src/*
SUBST_SED.minmax= -e 's,min *(,MIN(,g' -e 's,max *(,MAX(,g'
SUBST_MESSAGE.minmax= replace lowercase min,max with uppercase
pre-configure:
${TOUCH} ${WRKSRC}/bootstrapped
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|