2010-11-22 06:15:55 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.72 2010/11/22 11:15:55 sthen Exp $
|
2008-08-19 21:54:01 -04:00
|
|
|
|
2009-02-02 17:00:42 -05:00
|
|
|
SHARED_ONLY= Yes
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2009-02-02 17:00:42 -05:00
|
|
|
COMMENT= multimedia decoding library
|
2008-03-23 23:26:34 -04:00
|
|
|
|
2010-09-13 16:12:16 -04:00
|
|
|
DISTNAME= xine-lib-1.1.19
|
2010-11-22 06:15:55 -05:00
|
|
|
REVISION= 3
|
2009-02-02 17:00:42 -05:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2008-12-29 18:26:21 -05:00
|
|
|
|
2010-09-13 16:12:16 -04:00
|
|
|
SHARED_LIBS= xine 28.0
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2009-02-17 07:39:34 -05:00
|
|
|
HOMEPAGE= http://www.xine-project.org/
|
2009-02-02 17:00:42 -05:00
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2008-04-15 07:24:14 -04:00
|
|
|
# GPLv2
|
2006-03-24 17:43:41 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-11-19 02:23:05 -05:00
|
|
|
WANTLIB= FLAC>=5 GL GLU SDL>=3 X11 Xau Xdmcp Xext Xinerama Xv \
|
|
|
|
XvMCW a52 avcodec>=7 avutil>=6 c cdio dca dvdnav>=6 \
|
|
|
|
dvdread expat faac faad>=2 fontconfig freetype gsm iso9660 \
|
|
|
|
jpeg lcms m mad>=2 mpcdec mng>=3 mp3lame ogg>=5 orc-0.4 \
|
|
|
|
postproc>=7 pthread-stubs pthread schroedinger-1.0 sndio \
|
|
|
|
speex>=3 theora>=1 usbhid vcdinfo vorbis>=4 vorbisenc>=3 \
|
2010-11-22 06:15:55 -05:00
|
|
|
wavpack x264 xcb-shape xcb-shm xcb-xv xcb z Xdamage Xfixes \
|
|
|
|
Xxf86vm drm
|
2009-02-02 17:00:42 -05:00
|
|
|
|
2010-09-13 16:12:16 -04:00
|
|
|
XINEAPI_REV= 1.29
|
2009-02-02 17:00:42 -05:00
|
|
|
SUBST_VARS+= XINEAPI_REV
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= audio/faad \
|
|
|
|
audio/flac \
|
|
|
|
audio/liba52 \
|
|
|
|
audio/libcdio \
|
|
|
|
audio/libdca \
|
|
|
|
audio/libmad \
|
|
|
|
audio/libmpcdec \
|
|
|
|
audio/libogg \
|
|
|
|
audio/libvorbis \
|
|
|
|
audio/speex \
|
|
|
|
audio/wavpack \
|
|
|
|
devel/sdl \
|
|
|
|
multimedia/libdvdnav \
|
|
|
|
multimedia/libtheora \
|
|
|
|
graphics/ffmpeg \
|
|
|
|
graphics/libmng \
|
|
|
|
graphics/vcdimager
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2008-03-26 21:35:02 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2009-02-02 17:00:42 -05:00
|
|
|
PKG_ARGS+= -Di386=1
|
2008-03-26 21:35:02 -04:00
|
|
|
.else
|
2009-02-02 17:00:42 -05:00
|
|
|
PKG_ARGS+= -Di386=0
|
2008-03-26 21:35:02 -04:00
|
|
|
.endif
|
|
|
|
|
2009-02-02 17:00:42 -05:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 17:25:07 -04:00
|
|
|
USE_GROFF = Yes
|
2009-02-02 17:00:42 -05:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2010-03-20 21:41:15 -04:00
|
|
|
# Should be 2.65
|
2010-04-03 15:52:41 -04:00
|
|
|
AUTOCONF_VERSION= 2.64
|
2009-02-02 17:00:42 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-aalib \
|
|
|
|
--disable-dxr3 \
|
|
|
|
--disable-fb \
|
|
|
|
--disable-gdkpixbuf \
|
|
|
|
--disable-gnomevfs \
|
2010-03-20 21:41:15 -04:00
|
|
|
--disable-libv4l \
|
2009-02-02 17:00:42 -05:00
|
|
|
--disable-optimizations \
|
|
|
|
--disable-oss \
|
2010-01-05 06:48:51 -05:00
|
|
|
--disable-real-codecs \
|
2009-02-02 17:00:42 -05:00
|
|
|
--disable-samba \
|
2010-03-20 21:41:15 -04:00
|
|
|
--disable-sunaudio \
|
2009-02-02 17:00:42 -05:00
|
|
|
--disable-vidix \
|
2010-01-05 06:48:51 -05:00
|
|
|
--disable-w32dll \
|
2010-03-20 21:41:15 -04:00
|
|
|
--with-external-a52dec \
|
|
|
|
--with-external-dvdnav \
|
|
|
|
--with-external-libdts \
|
|
|
|
--with-external-libfaad \
|
|
|
|
--with-external-libmad \
|
|
|
|
--with-external-libmpcdec \
|
2009-02-02 17:00:42 -05:00
|
|
|
--with-fontconfig \
|
|
|
|
--with-freetype \
|
|
|
|
--with-wavpack \
|
|
|
|
--without-alsa \
|
|
|
|
--without-caca \
|
|
|
|
--without-esound \
|
|
|
|
--without-imagemagick \
|
|
|
|
--without-jack \
|
2009-08-07 18:11:08 -04:00
|
|
|
--without-pulseaudio
|
2010-03-21 17:31:52 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2010-03-20 21:41:15 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2009-04-03 20:28:56 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-03-24 17:43:41 -05:00
|
|
|
.include <bsd.port.mk>
|