2011-06-24 16:10:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.79 2011/06/24 20:11:14 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
|
2011-06-24 16:10:27 -04:00
|
|
|
REVISION= 9
|
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
|
2011-06-24 16:10:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2006-03-24 17:43:41 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-04-18 19:11:53 -04:00
|
|
|
WANTLIB= FLAC GL GLU SDL X11 Xau Xdamage Xdmcp Xext Xfixes Xinerama \
|
|
|
|
Xv XvMCW Xxf86vm a52 avcodec avutil c cdio dca drm dvdnav \
|
2011-06-24 07:17:05 -04:00
|
|
|
dvdread expat faad fontconfig freetype gsm iso9660 jpeg \
|
2011-04-18 19:11:53 -04:00
|
|
|
lcms m mad modplug mpcdec mng mp3lame ogg orc-0.4 postproc \
|
|
|
|
pthread-stubs pthread schroedinger-1.0 sndio speex theora \
|
|
|
|
theoradec theoraenc usbhid vcdinfo vorbis vorbisenc vpx \
|
|
|
|
wavpack x264 xcb-shape xcb-shm xcb-xv xcb z
|
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 \
|
2011-04-18 19:11:53 -04:00
|
|
|
audio/libmodplug \
|
2010-11-19 02:23:05 -05:00
|
|
|
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
|
|
|
CONFIGURE_STYLE= autoconf
|
2011-03-26 06:05:24 -04:00
|
|
|
AUTOCONF_VERSION= 2.65
|
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
|
|
|
|
|
2011-05-11 05:05:54 -04:00
|
|
|
post-install:
|
|
|
|
@find ${PREFIX}/lib/xine/plugins -name '*.a' -print | xargs rm
|
|
|
|
@rm ${PREFIX}/lib/libxine.la
|
|
|
|
|
2006-03-24 17:43:41 -05:00
|
|
|
.include <bsd.port.mk>
|