2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.57 2015/04/25 14:23:40 tnn Exp $
|
2004-01-26 13:44:05 +01:00
|
|
|
|
2012-07-07 17:49:00 +02:00
|
|
|
DISTNAME= mjpegtools-2.0.0
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 4
|
2004-01-26 13:45:44 +01:00
|
|
|
CATEGORIES= multimedia
|
2004-01-26 13:44:05 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-01-26 13:44:05 +01:00
|
|
|
HOMEPAGE= http://mjpeg.sourceforge.net/
|
|
|
|
COMMENT= Programs for compressing video streams
|
2011-01-24 10:54:35 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2004-01-26 13:44:05 +01:00
|
|
|
|
2006-01-29 05:25:58 +01:00
|
|
|
CONFLICTS+= mplex-[0-9]*
|
2004-01-26 13:44:05 +01:00
|
|
|
DEPENDS+= toolame>=02l:../../audio/toolame
|
|
|
|
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
|
|
|
|
|
2006-05-14 17:36:34 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-01-26 13:44:05 +01:00
|
|
|
USE_LIBTOOL= yes
|
2012-07-07 17:49:00 +02:00
|
|
|
USE_TOOLS+= bash:run gmake pkg-config
|
2004-01-26 13:44:05 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-01-25 09:09:12 +01:00
|
|
|
CONFIGURE_ARGS+= --without-libquicktime
|
2004-01-26 13:44:05 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-large-file
|
|
|
|
CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame}
|
|
|
|
|
2012-07-07 17:49:00 +02:00
|
|
|
SHLIBTOOL_OVERRIDE= # empty
|
|
|
|
PKGCONFIG_OVERRIDE= mjpegtools.pc.in
|
|
|
|
INFO_FILES= yes
|
|
|
|
|
2007-02-05 21:38:57 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2012-07-07 17:49:00 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2007-02-05 21:38:57 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-sdltest
|
2012-07-07 17:49:00 +02:00
|
|
|
CONFIGURE_ENV+= mjt_cv_extern___progname=no
|
|
|
|
.else
|
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2007-02-05 21:38:57 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-laudio
|
2006-12-03 16:16:03 +01:00
|
|
|
|
2005-06-07 23:23:04 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2004-02-18 01:13:28 +01:00
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2006-01-25 09:09:12 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2012-07-07 17:49:00 +02:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2004-02-18 01:13:28 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-01-26 13:44:05 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|