ddb6d1d6f7
http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/file/9aef7a72d009/ChangeLog - Remove an inline from include/xine/xineutils.h for the benefit of using libxine with base gcc 4.2 . - Bump PORTREVISIONs for ports depending on libxine. (now also non-default rdeps as per the new rule)
76 lines
2.1 KiB
Makefile
76 lines
2.1 KiB
Makefile
# Created by: Juergen Lock <nox@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vdr-plugin-xineliboutput
|
|
PORTVERSION= 1.0.90s20120511
|
|
PORTREVISION= 13
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF:release \
|
|
LOCAL:snapshot
|
|
MASTER_SITE_SUBDIR= xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \
|
|
nox/:snapshot
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= Video Disk Recorder - xineliboutput plugin/viewer
|
|
|
|
LIB_DEPENDS+= libxine.so:${PORTSDIR}/multimedia/libxine \
|
|
libavutil.so:${PORTSDIR}/multimedia/ffmpeg \
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
|
|
|
|
PATCH_STRIP= -p1
|
|
USES= pkgconfig tar:bzip2
|
|
USE_XORG+= xrandr xrender
|
|
USE_GL= gl glu glut
|
|
PORTDOCS= COPYING README HISTORY
|
|
PORTEXAMPLES= xine
|
|
WRKSRC= ${WRKDIR}/vdr-${PLUGIN}
|
|
XINE_PLUGINSDIR= lib/xine/plugins/2.5
|
|
|
|
OPTIONS_DEFINE= LIBBLURAY LIBEXTRACTOR EXAMPLES DOCS
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PLIST_SUB+= XINE_PLUGINSDIR=${XINE_PLUGINSDIR}
|
|
|
|
CONFIGURE_ARGS+= --cc="${CC}" --cxx="${CXX}" --add-cflags=-I${VDRDIR}
|
|
|
|
.if ${PORT_OPTIONS:MLIBEXTRACTOR}
|
|
LIB_DEPENDS+= libextractor.so:${PORTSDIR}/textproc/libextractor
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libextractor
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MLIBBLURAY}
|
|
LIB_DEPENDS+= libbluray.so:${PORTSDIR}/multimedia/libbluray
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libbluray
|
|
.endif
|
|
|
|
post-patch: post-patch-plugin
|
|
# clang doesn't know -MG
|
|
${TOUCH} -t 200001010000 ${WRKSRC}/nosignal_720x576.c \
|
|
${WRKSRC}/black_720x576.c ${WRKSRC}/vdrlogo_720x576.c
|
|
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
|
|
|
post-install: post-install-pluginlocales
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf \
|
|
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/xine
|
|
${INSTALL_DATA} ${FILESDIR}/keymap ${STAGEDIR}${EXAMPLESDIR}/xine
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|