pkgsrc/multimedia/libmpeg2/Makefile
wiz 7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00

36 lines
926 B
Makefile

# $NetBSD: Makefile,v 1.12 2005/12/11 09:40:45 wiz Exp $
DISTNAME= mpeg2dec-0.4.0b
PKGNAME= libmpeg2-0.4.0b
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://libmpeg2.sourceforge.net/files/
MAINTAINER= wulf@NetBSD.org
HOMEPAGE= http://libmpeg2.sourceforge.net/
COMMENT= Library for decoding mpeg-2 and mpeg-1 video streams
PKG_INSTALLATION_TYPES= overwrite pkgviews
# remove on next update, only needed for 0.4.0b
WRKSRC= ${WRKDIR}/mpeg2dec-0.4.0
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libmpeg2/convert/libmpeg2convert.pc.in
PKGCONFIG_OVERRIDE+= libmpeg2/libmpeg2.pc.in
CONFIGURE_ARGS+= --enable-shared
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
. if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
CONFIGURE_ENV+= LIBMPEG2_CFLAGS=-prefer-non-pic
. endif
.endif
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"