2013-04-11 13:34:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.101 2013/04/11 17:34:00 brad 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
|
|
|
|
2012-11-29 15:18:21 -05:00
|
|
|
DISTNAME= xine-lib-1.2.2
|
2013-04-11 13:34:00 -04:00
|
|
|
REVISION= 1
|
2009-02-02 17:00:42 -05:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
|
2011-11-15 19:43:17 -05:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2008-12-29 18:26:21 -05:00
|
|
|
|
2012-11-29 15:18:21 -05:00
|
|
|
SHARED_LIBS= xine 30.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
|
2011-11-15 19:43:17 -05:00
|
|
|
|
2012-11-29 15:18:21 -05:00
|
|
|
WANTLIB= FLAC GL GLU ICE SDL SM X11 Xext Xinerama Xv XvMCW a52 avcodec \
|
|
|
|
avutil bluray c cdio dca dvdnav dvdread expat faad fontconfig \
|
2013-04-11 13:34:00 -04:00
|
|
|
freetype iso9660 m mad modplug mpcdec mng ogg postproc pthread \
|
|
|
|
pthread-stubs sndio speex theora usbhid vcdinfo vorbis wavpack \
|
|
|
|
xcb-shape xcb-shm xcb-xv xcb xml2 z
|
2009-02-02 17:00:42 -05:00
|
|
|
|
2012-11-29 15:18:21 -05:00
|
|
|
XINEAPI_REV= 2.2
|
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/libogg \
|
|
|
|
audio/libvorbis \
|
2012-05-24 14:36:45 -04:00
|
|
|
audio/musepack \
|
2010-11-19 02:23:05 -05:00
|
|
|
audio/speex \
|
|
|
|
audio/wavpack \
|
|
|
|
devel/sdl \
|
2012-04-08 03:37:25 -04:00
|
|
|
multimedia/libbluray \
|
2010-11-19 02:23:05 -05:00
|
|
|
multimedia/libdvdnav \
|
|
|
|
multimedia/libtheora \
|
2012-01-05 03:52:26 -05:00
|
|
|
graphics/ffmpeg>=20111126 \
|
2010-11-19 02:23:05 -05:00
|
|
|
graphics/libmng \
|
|
|
|
graphics/vcdimager
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2012-11-29 15:18:21 -05:00
|
|
|
MAKE_ENV= V=1
|
|
|
|
|
2009-02-02 17:00:42 -05:00
|
|
|
USE_GMAKE= Yes
|
2012-11-29 15:18:21 -05:00
|
|
|
# Uses GNU libtool -weak feature
|
|
|
|
USE_LIBTOOL= gnu
|
2012-01-05 03:52:26 -05:00
|
|
|
USE_GROFF= Yes
|
2012-06-10 03:35:30 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.69
|
2009-02-02 17:00:42 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-aalib \
|
|
|
|
--disable-gdkpixbuf \
|
|
|
|
--disable-gnomevfs \
|
|
|
|
--disable-optimizations \
|
2010-01-05 06:48:51 -05:00
|
|
|
--disable-real-codecs \
|
2009-02-02 17:00:42 -05:00
|
|
|
--disable-samba \
|
2010-01-05 06:48:51 -05:00
|
|
|
--disable-w32dll \
|
2010-03-20 21:41:15 -04:00
|
|
|
--with-external-dvdnav \
|
2009-02-02 17:00:42 -05:00
|
|
|
--with-fontconfig \
|
|
|
|
--with-freetype \
|
|
|
|
--with-wavpack \
|
|
|
|
--without-caca \
|
|
|
|
--without-esound \
|
2012-11-29 15:18:21 -05:00
|
|
|
--without-imagemagick
|
2010-03-21 17:31:52 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2012-08-28 01:54:05 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_header_execinfo_h=no
|
2006-03-24 17:43:41 -05:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2009-04-03 20:28:56 -04:00
|
|
|
|
2011-05-11 05:05:54 -04:00
|
|
|
post-install:
|
|
|
|
@find ${PREFIX}/lib/xine/plugins -name '*.a' -print | xargs rm
|
|
|
|
|
2006-03-24 17:43:41 -05:00
|
|
|
.include <bsd.port.mk>
|