pkgsrc/multimedia/mjpegtools/Makefile
xtraeme f32c8b7dc2 Update mjpegtools/mplex to 1.8.0.
Some changes:

* Modularised input handling for MPEG compression tools.
* movtar read/write support
* MJPEG playback in software, and experimental MJPEG hardware
   overlay playback (see mjpeg/)
* mpeg2enc _much_ improved!
2006-01-25 08:09:12 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2006/01/25 08:09:12 xtraeme Exp $
DISTNAME= mjpegtools-1.8.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://mjpeg.sourceforge.net/
COMMENT= Programs for compressing video streams
DEPENDS+= toolame>=02l:../../audio/toolame
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
USE_TOOLS+= gmake
USE_TOOLS+= bash:run pkg-config
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= libtool
PKGCONFIG_OVERRIDE= mjpegtools.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-libquicktime
CONFIGURE_ARGS+= --enable-large-file
CONFIGURE_ARGS+= --enable-simd
CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame}
.include "options.mk"
SUBST_CLASSES+= bash
SUBST_STAGE.bash= post-patch
SUBST_FILES.bash= scripts/mpegtranscode
SUBST_FILES.bash+= scripts/lav2avi.sh
SUBST_FILES.bash+= scripts/lav2mpeg
SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!${TOOLS_PATH.bash},'
INFO_FILES= mjpeg-howto.info
.include "../../audio/lame/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
# GTK+ support is disabled to avoid a dependency on GTK+ when building GNOME2.
# This only disables the "glav" program. If you really need it, please add an
# external package for it.
#.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"