openbsd-ports/multimedia/xine-lib/Makefile

85 lines
1.9 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.101 2013/04/11 17:34:00 brad Exp $
SHARED_ONLY= Yes
COMMENT= multimedia decoding library
DISTNAME= xine-lib-1.2.2
REVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
2011-11-15 19:43:17 -05:00
EXTRACT_SUFX= .tar.xz
SHARED_LIBS= xine 30.0
2009-02-17 07:39:34 -05:00
HOMEPAGE= http://www.xine-project.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# GPLv2
2011-06-24 16:10:27 -04:00
PERMIT_PACKAGE_CDROM= patents
PERMIT_PACKAGE_FTP= Yes
2011-11-15 19:43:17 -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 \
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
XINEAPI_REV= 2.2
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/libmodplug \
2010-11-19 02:23:05 -05:00
audio/libogg \
audio/libvorbis \
audio/musepack \
2010-11-19 02:23:05 -05:00
audio/speex \
audio/wavpack \
devel/sdl \
multimedia/libbluray \
2010-11-19 02:23:05 -05:00
multimedia/libdvdnav \
multimedia/libtheora \
graphics/ffmpeg>=20111126 \
2010-11-19 02:23:05 -05:00
graphics/libmng \
graphics/vcdimager
MAKE_ENV= V=1
USE_GMAKE= Yes
# Uses GNU libtool -weak feature
USE_LIBTOOL= gnu
USE_GROFF= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
CONFIGURE_ARGS+=--disable-aalib \
--disable-gdkpixbuf \
--disable-gnomevfs \
--disable-optimizations \
--disable-real-codecs \
--disable-samba \
--disable-w32dll \
2010-03-20 21:41:15 -04:00
--with-external-dvdnav \
--with-fontconfig \
--with-freetype \
--with-wavpack \
--without-caca \
--without-esound \
--without-imagemagick
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
ac_cv_header_execinfo_h=no
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
post-install:
@find ${PREFIX}/lib/xine/plugins -name '*.a' -print | xargs rm
.include <bsd.port.mk>