4f389a6a50
- Sync WANTLIBs ok sthen@
85 lines
1.9 KiB
Makefile
85 lines
1.9 KiB
Makefile
# $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/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
SHARED_LIBS= xine 30.0
|
|
|
|
HOMEPAGE= http://www.xine-project.org/
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= patents
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
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
|
|
LIB_DEPENDS= audio/faad \
|
|
audio/flac \
|
|
audio/liba52 \
|
|
audio/libcdio \
|
|
audio/libdca \
|
|
audio/libmad \
|
|
audio/libmodplug \
|
|
audio/libogg \
|
|
audio/libvorbis \
|
|
audio/musepack \
|
|
audio/speex \
|
|
audio/wavpack \
|
|
devel/sdl \
|
|
multimedia/libbluray \
|
|
multimedia/libdvdnav \
|
|
multimedia/libtheora \
|
|
graphics/ffmpeg>=20111126 \
|
|
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 \
|
|
--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
|
|
|
|
NO_TEST= Yes
|
|
|
|
post-install:
|
|
@find ${PREFIX}/lib/xine/plugins -name '*.a' -print | xargs rm
|
|
|
|
.include <bsd.port.mk>
|