mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Update to 1.0.90s20111129.1002 .
- Add knob to make textproc/libextractor dependency optional because that port is currently marked BROKEN on i386, see: http://lists.freebsd.org/pipermail/freebsd-ports/2011-December/071729.html Subject: -fstack-protector again (rpm4, BROKEN textproc/libextractor) Feature safe: yes
This commit is contained in:
parent
7eaded3bda
commit
60a231f221
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287153
@ -6,25 +6,24 @@
|
||||
#
|
||||
|
||||
PORTNAME= vdr-plugin-xineliboutput
|
||||
PORTVERSION= 1.0.90s20110308.2305
|
||||
PORTREVISION= 11
|
||||
PORTVERSION= 1.0.90s20111129.1002
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF:release \
|
||||
LOCAL:snapshot
|
||||
MASTER_SITE_SUBDIR= xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \
|
||||
nox/:snapshot
|
||||
DISTNAME= ${PORTNAME:S/-plugin-/-plugin-/}_${DISTVERSIONPREFIX}${DISTVERSION:S/s/+cvs/:S/$/.orig/}${DISTVERSIONSUFFIX}
|
||||
DISTNAME= ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION:S/s/+cvs/}${DISTVERSIONSUFFIX}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot
|
||||
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - xineliboutput plugin/viewer
|
||||
|
||||
LIB_DEPENDS+= extractor.3:${PORTSDIR}/textproc/libextractor \
|
||||
xine.1:${PORTSDIR}/multimedia/libxine \
|
||||
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine \
|
||||
avutil.1:${PORTSDIR}/multimedia/ffmpeg \
|
||||
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
|
||||
vdpau.1:${PORTSDIR}/multimedia/libvdpau
|
||||
|
||||
USE_BZIP2= yes
|
||||
PATCH_STRIP= -p1
|
||||
USE_GNOME+= pkgconfig
|
||||
USE_XORG+= xrandr xrender
|
||||
@ -36,10 +35,28 @@ WRKSRC= ${WRKDIR}/vdr-${PLUGIN}
|
||||
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
MAKE_ARGS+= CONFIGURE_OPTS="${CONFIGURE_OPTS}"
|
||||
# libbluray in ports is too old
|
||||
# OPTIONS= LIBBLURAY "Enable libbluray support" on
|
||||
OPTIONS= LIBEXTRACTOR "Enable libextractor support" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_LIBEXTRACTOR)
|
||||
LIB_DEPENDS+= extractor.3:${PORTSDIR}/textproc/libextractor
|
||||
CONFIGURE_OPTS+= --enable-libextractor
|
||||
.else
|
||||
CONFIGURE_OPTS+= --disable-libextractor
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIBBLURAY)
|
||||
CONFIGURE_OPTS+= --enable-libbluray
|
||||
LIB_DEPENDS+= bluray.0:${PORTSDIR}/multimedia/libbluray
|
||||
.else
|
||||
CONFIGURE_OPTS+= --disable-libbluray
|
||||
.endif
|
||||
|
||||
MAKE_ARGS+= CONFIGURE_OPTS="${CONFIGURE_OPTS}"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
# clang doesn't know -MG
|
||||
${TOUCH} -t 200001010000 ${WRKSRC}/nosignal_720x576.c \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (vdr/vdr-plugin-xineliboutput_1.0.90+cvs20110308.2305.orig.tar.gz) = 9d5ae04c96cdebcd0f6eebc32242bfbfcbc5fa0d1c7aaf12cbebb5226a3a6a61
|
||||
SIZE (vdr/vdr-plugin-xineliboutput_1.0.90+cvs20110308.2305.orig.tar.gz) = 440599
|
||||
SHA256 (vdr/vdr-plugin-xineliboutput_1.0.90+cvs20111129.1002.tar.bz2) = ce659755ef526f333b565dde70b261c22ad604d59303d5a0c54666101b014d4c
|
||||
SIZE (vdr/vdr-plugin-xineliboutput_1.0.90+cvs20111129.1002.tar.bz2) = 371781
|
||||
|
@ -1,24 +1,26 @@
|
||||
--- a/configure
|
||||
+++ a/configure
|
||||
@@ -348,10 +348,13 @@ test_pkgconfig
|
||||
@@ -350,11 +350,14 @@ test_pkgconfig
|
||||
[ $debug = yes ] && \
|
||||
test_library X11 do_error "none.h" "-lnolib"
|
||||
|
||||
-test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)"
|
||||
-test_library VDR libcap "sys/capability.h" "-lcap" "cap_get_proc()"
|
||||
-test_library XINE libxine "xine.h" "-lxine" "xine_init(0)"
|
||||
-test_library DLFCN dlfcn "dlfcn.h" "-ldl" "dlopen(0,0)"
|
||||
+#test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)"
|
||||
-test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)"
|
||||
-test_library VDR libcap "sys/capability.h" "-lcap" "cap_get_proc()"
|
||||
-test_library VDR libbluray "libbluray/bluray.h" "-lbluray" "bd_get_disc_info(0)"
|
||||
-test_library XINE libxine "xine.h" "-lxine" "xine_init(0)"
|
||||
-test_library DLFCN dlfcn "dlfcn.h" "-ldl" "dlopen(0,0)"
|
||||
+#test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)"
|
||||
+test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+#test_library VDR libcap "sys/capability.h" "-lcap" "cap_get_proc()"
|
||||
+#test_library XINE libxine "xine.h" "-lxine" "xine_init(0)"
|
||||
+test_library XINE libxine "xine.h" "-lxine" "xine_init(0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+#test_library DLFCN dlfcn "dlfcn.h" "-ldl" "dlopen(0,0)"
|
||||
+test_library DLFCN dlfcn "dlfcn.h" "" "dlopen(0,0)"
|
||||
+#test_library VDR libcap "sys/capability.h" "-lcap" "cap_get_proc()"
|
||||
+#test_library VDR libbluray "libbluray/bluray.h" "-lbluray" "bd_get_disc_info(0)"
|
||||
+test_library VDR libbluray "libbluray/bluray.h" "-lbluray" "bd_get_disc_info(0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+#test_library XINE libxine "xine.h" "-lxine" "xine_init(0)"
|
||||
+test_library XINE libxine "xine.h" "-lxine" "xine_init(0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+test_library DLFCN dlfcn "dlfcn.h" "" "dlopen(0,0)"
|
||||
|
||||
if enabled libxine; then
|
||||
|
||||
@@ -363,19 +366,30 @@ if enabled libxine; then
|
||||
@@ -366,24 +369,40 @@ if enabled libxine; then
|
||||
fi
|
||||
log " $XINEPLUGINDIR"
|
||||
|
||||
@ -57,6 +59,17 @@
|
||||
+ test_library X11 opengl "GL/glx.h" "-lGL -lGLU -lglut" "glXQueryVersion(0,0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+# test_library none vdpau "vdpau/vdpau_x11.h" "-lvdpau" "vdp_device_create_x11(0,0,0,0)"
|
||||
+ test_library none vdpau "vdpau/vdpau_x11.h" "-lvdpau" "vdp_device_create_x11(0,0,0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
||||
+# test_library X11 dbus-glib-1 \
|
||||
+# "dbus/dbus-glib.h" \
|
||||
+# "-ldbus-glib-1 -lgobject-2.0 -lglib-2.0" \
|
||||
+# "dbus_g_bus_get(0,0)" \
|
||||
+# "-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include"
|
||||
test_library X11 dbus-glib-1 \
|
||||
"dbus/dbus-glib.h" \
|
||||
"-ldbus-glib-1 -lgobject-2.0 -lglib-2.0" \
|
||||
"dbus_g_bus_get(0,0)" \
|
||||
- "-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include"
|
||||
+ "-I/usr/include/dbus-1.0 -I${LOCALBASE}/include/dbus-1.0 -I/usr/include/glib-2.0 -I${LOCALBASE}/include/glib-2.0 -L${LOCALBASE}/lib"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -4,8 +4,9 @@
|
||||
#ifndef _XINELIBOUTPUT_SYS_CAP_H_
|
||||
#define _XINELIBOUTPUT_SYS_CAP_H_
|
||||
|
||||
-#include "../features.h"
|
||||
+#ifdef HAVE_LIBCAP
|
||||
#include "features.h"
|
||||
+# include "../features.h"
|
||||
+#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user