2012-04-08 19:19:04 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.89 2012/04/08 19:19:04 ajacoutot Exp $
|
2008-08-20 01:54:01 +00:00
|
|
|
|
2009-02-02 22:00:42 +00:00
|
|
|
SHARED_ONLY= Yes
|
2006-03-24 22:43:41 +00:00
|
|
|
|
2009-02-02 22:00:42 +00:00
|
|
|
COMMENT= multimedia decoding library
|
2008-03-24 03:26:34 +00:00
|
|
|
|
2012-01-05 08:52:26 +00:00
|
|
|
DISTNAME= xine-lib-1.1.20.1
|
2012-04-08 19:19:04 +00:00
|
|
|
REVISION= 2
|
2009-02-02 22:00:42 +00:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
|
2011-11-16 00:43:17 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2008-12-29 23:26:21 +00:00
|
|
|
|
2011-11-16 00:43:17 +00:00
|
|
|
SHARED_LIBS= xine 29.0
|
2006-03-24 22:43:41 +00:00
|
|
|
|
2009-02-17 12:39:34 +00:00
|
|
|
HOMEPAGE= http://www.xine-project.org/
|
2009-02-02 22:00:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
2006-03-24 22:43:41 +00:00
|
|
|
|
2008-04-15 11:24:14 +00:00
|
|
|
# GPLv2
|
2011-06-24 20:10:27 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2006-03-24 22:43:41 +00:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-11-16 00:43:17 +00:00
|
|
|
|
2011-04-18 23:11:53 +00:00
|
|
|
WANTLIB= FLAC GL GLU SDL X11 Xau Xdamage Xdmcp Xext Xfixes Xinerama \
|
2012-04-08 07:37:25 +00:00
|
|
|
Xv XvMCW Xxf86vm a52 avcodec avutil bluray c cdio dca drm \
|
|
|
|
dvdnav dvdread expat faad fontconfig freetype gsm iso9660 \
|
|
|
|
jpeg lcms m mad modplug mpcdec mng mp3lame ogg orc-0.4 \
|
|
|
|
postproc pthread-stubs pthread schroedinger-1.0 sndio speex \
|
|
|
|
stdc++ theora theoradec theoraenc usbhid vcdinfo vorbis \
|
|
|
|
vorbisenc vpx wavpack x264 xcb-shape xcb-shm xcb-xv xcb \
|
|
|
|
xml2 z
|
2009-02-02 22:00:42 +00:00
|
|
|
|
2011-11-16 00:43:17 +00:00
|
|
|
XINEAPI_REV= 1.30
|
2009-02-02 22:00:42 +00:00
|
|
|
SUBST_VARS+= XINEAPI_REV
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2012-04-08 07:37:25 +00:00
|
|
|
BUILD_DEPENDS= devel/libtool \
|
|
|
|
${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2010-11-19 07:23:05 +00:00
|
|
|
LIB_DEPENDS= audio/faad \
|
|
|
|
audio/flac \
|
|
|
|
audio/liba52 \
|
|
|
|
audio/libcdio \
|
|
|
|
audio/libdca \
|
|
|
|
audio/libmad \
|
2011-04-18 23:11:53 +00:00
|
|
|
audio/libmodplug \
|
2010-11-19 07:23:05 +00:00
|
|
|
audio/libmpcdec \
|
|
|
|
audio/libogg \
|
|
|
|
audio/libvorbis \
|
|
|
|
audio/speex \
|
|
|
|
audio/wavpack \
|
|
|
|
devel/sdl \
|
2012-04-08 07:37:25 +00:00
|
|
|
multimedia/libbluray \
|
2010-11-19 07:23:05 +00:00
|
|
|
multimedia/libdvdnav \
|
|
|
|
multimedia/libtheora \
|
2012-01-05 08:52:26 +00:00
|
|
|
graphics/ffmpeg>=20111126 \
|
2010-11-19 07:23:05 +00:00
|
|
|
graphics/libmng \
|
|
|
|
graphics/vcdimager
|
2006-03-24 22:43:41 +00:00
|
|
|
|
2012-04-08 07:37:25 +00:00
|
|
|
AUTOCONF_VERSION= 2.68
|
|
|
|
AUTOMAKE_VERSION= 1.11
|
|
|
|
|
2009-02-02 22:00:42 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2012-01-05 08:52:26 +00:00
|
|
|
USE_GROFF= Yes
|
2012-04-08 07:37:25 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-02-02 22:00:42 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-aalib \
|
|
|
|
--disable-dxr3 \
|
|
|
|
--disable-fb \
|
|
|
|
--disable-gdkpixbuf \
|
|
|
|
--disable-gnomevfs \
|
2010-03-21 01:41:15 +00:00
|
|
|
--disable-libv4l \
|
2009-02-02 22:00:42 +00:00
|
|
|
--disable-optimizations \
|
|
|
|
--disable-oss \
|
2010-01-05 11:48:51 +00:00
|
|
|
--disable-real-codecs \
|
2009-02-02 22:00:42 +00:00
|
|
|
--disable-samba \
|
2010-03-21 01:41:15 +00:00
|
|
|
--disable-sunaudio \
|
2009-02-02 22:00:42 +00:00
|
|
|
--disable-vidix \
|
2010-01-05 11:48:51 +00:00
|
|
|
--disable-w32dll \
|
2010-03-21 01:41:15 +00:00
|
|
|
--with-external-a52dec \
|
|
|
|
--with-external-dvdnav \
|
|
|
|
--with-external-libdts \
|
|
|
|
--with-external-libfaad \
|
|
|
|
--with-external-libmad \
|
|
|
|
--with-external-libmpcdec \
|
2009-02-02 22:00:42 +00:00
|
|
|
--with-fontconfig \
|
|
|
|
--with-freetype \
|
|
|
|
--with-wavpack \
|
|
|
|
--without-alsa \
|
|
|
|
--without-caca \
|
|
|
|
--without-esound \
|
|
|
|
--without-imagemagick \
|
|
|
|
--without-jack \
|
2009-08-07 22:11:08 +00:00
|
|
|
--without-pulseaudio
|
2010-03-21 21:31:52 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2010-03-21 01:41:15 +00:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2006-03-24 22:43:41 +00:00
|
|
|
|
2009-04-04 00:28:56 +00:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2012-04-07 17:24:36 +00:00
|
|
|
post-extract:
|
|
|
|
@perl -pi -e 's/\r\n/\n/g' ${WRKSRC}/src/demuxers/asfheader.c
|
|
|
|
|
2012-04-08 07:37:25 +00:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
sh autogen.sh noconfig
|
|
|
|
|
2011-05-11 09:05:54 +00:00
|
|
|
post-install:
|
|
|
|
@find ${PREFIX}/lib/xine/plugins -name '*.a' -print | xargs rm
|
|
|
|
|
2006-03-24 22:43:41 +00:00
|
|
|
.include <bsd.port.mk>
|