2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2015/04/25 14:23:40 tnn Exp $
|
2006-04-12 23:39:38 +02:00
|
|
|
|
2007-08-09 22:02:36 +02:00
|
|
|
DISTNAME= mpeg4ip-1.5.0.1
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 2
|
2006-04-12 23:39:38 +02:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpeg4ip/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://mpeg4ip.sourceforge.net/
|
|
|
|
COMMENT= Tools for streaming video and audio
|
|
|
|
|
2006-05-30 22:20:53 +02:00
|
|
|
CONFLICTS+= faad2<2.0nb6
|
2006-05-19 14:21:52 +02:00
|
|
|
|
2006-05-09 04:38:44 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2006-04-12 23:39:38 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
2012-04-18 02:09:43 +02:00
|
|
|
USE_TOOLS+= pkg-config autoconf
|
2006-04-12 23:39:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= bootstrap
|
2006-07-07 17:49:30 +02:00
|
|
|
OVERRIDE_DIRDEPTH= 3 # */*/*/libtool
|
2006-04-12 23:39:38 +02:00
|
|
|
|
2006-10-03 14:55:32 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= mpeg4ipSDL
|
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
PLIST.mpeg4ipSDL= yes
|
2006-10-03 14:55:32 +02:00
|
|
|
.endif
|
|
|
|
|
2010-09-27 11:09:28 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mpeg4ip
|
|
|
|
PKG_SUPPORTED_OPTIONS= mmx
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
. if !empty(PKG_OPTIONS:Mmmx)
|
|
|
|
CONFIGURE_ARGS+= --enable-mmx
|
|
|
|
BUILD_DEPENDS+= nasm>=0.97.19:../../devel/nasm
|
|
|
|
. else
|
|
|
|
CONFIGURE_ARGS+= --disable-mmx
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
2012-04-18 02:09:43 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CFLAGS+= -fno-strict-aliasing
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
|
2012-10-12 10:04:04 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
|
2006-04-12 23:39:38 +02:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|