2011-04-15 23:22:31 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.74 2011/04/15 23:22:31 sthen 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
|
|
|
|
2010-09-13 20:12:16 +00:00
|
|
|
DISTNAME= xine-lib-1.1.19
|
2011-04-15 23:22:31 +00:00
|
|
|
REVISION= 4
|
2009-02-02 22:00:42 +00:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2008-12-29 23:26:21 +00:00
|
|
|
|
2010-09-13 20:12:16 +00:00
|
|
|
SHARED_LIBS= xine 28.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
|
2006-03-24 22:43:41 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-11-19 07:23:05 +00: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 11:15:55 +00:00
|
|
|
wavpack x264 xcb-shape xcb-shm xcb-xv xcb z Xdamage Xfixes \
|
|
|
|
Xxf86vm drm
|
2009-02-02 22:00:42 +00:00
|
|
|
|
2010-09-13 20:12:16 +00:00
|
|
|
XINEAPI_REV= 1.29
|
2009-02-02 22:00:42 +00:00
|
|
|
SUBST_VARS+= XINEAPI_REV
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2010-11-19 07:23:05 +00: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 22:43:41 +00:00
|
|
|
|
2008-03-27 01:35:02 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2009-02-02 22:00:42 +00:00
|
|
|
PKG_ARGS+= -Di386=1
|
2008-03-27 01:35:02 +00:00
|
|
|
.else
|
2009-02-02 22:00:42 +00:00
|
|
|
PKG_ARGS+= -Di386=0
|
2008-03-27 01:35:02 +00:00
|
|
|
.endif
|
|
|
|
|
2009-02-02 22:00:42 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 21:25:07 +00:00
|
|
|
USE_GROFF = Yes
|
2009-02-02 22:00:42 +00:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2011-03-26 10:05:24 +00:00
|
|
|
AUTOCONF_VERSION= 2.65
|
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
|
|
|
|
|
2006-03-24 22:43:41 +00:00
|
|
|
.include <bsd.port.mk>
|