[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / transcode

File: [cvs.NetBSD.org] / pkgsrc / multimedia / transcode / Makefile (download)

Revision 1.51, Mon Nov 10 17:21:37 2008 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.50: +2 -2 lines

Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.

# $NetBSD: Makefile,v 1.51 2008/11/10 17:21:37 wiz Exp $
#

DISTNAME=	transcode-1.0.6
PKGREVISION=	3
CATEGORIES=	multimedia
MASTER_SITES=	http://fromani.exit1.org/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.transcoding.org/
COMMENT=	Command line video-stream processing tool

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	awk:run gmake pkg-config
USE_LANGUAGES=	c c++

CONFIGURE_ENV+=		PATH_TO_AWK=${AWK:Q}
CONFIGURE_ARGS+=	--enable-libpostproc
CONFIGURE_ARGS+=	\
	--with-libavcodec-prefix=${BUILDLINK_PREFIX.ffmpeg}
CONFIGURE_ARGS+=	--enable-oss
CONFIGURE_ARGS+=	--disable-xio
CONFIGURE_ARGS+=	--enable-ogg
CONFIGURE_ARGS+=	--enable-theora
CONFIGURE_ARGS+=	--enable-vorbis

PTHREAD_AUTO_VARS=	yes
PTHREAD_OPTS=		require
LIBS+=			${LIBOSSAUDIO}

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386"
PLIST.i386=	yes
.endif

PLIST_VARS+=	i386


.include "options.mk"
.include "../../audio/faac/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../multimedia/libmpeg2/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"