diff options
author | nox <nox@FreeBSD.org> | 2012-02-26 23:22:37 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2012-02-26 23:22:37 +0800 |
commit | 43ee86bbe02ddd769636f9076096c9871a4f8b95 (patch) | |
tree | deefe265cb512ac12217d02a6d9cf5f09e408e70 /multimedia/vdr-plugin-xineliboutput | |
parent | 3d59b95822df4fff8ceaf461bcf666bc3ecd7e26 (diff) | |
download | freebsd-ports-gnome-43ee86bbe02ddd769636f9076096c9871a4f8b95.tar.gz freebsd-ports-gnome-43ee86bbe02ddd769636f9076096c9871a4f8b95.tar.zst freebsd-ports-gnome-43ee86bbe02ddd769636f9076096c9871a4f8b95.zip |
- Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support. (which still is broken for tuners using
hardware pid filtering, like when running webcamd with
"-m dvb-usb-init.force_pid_filter_usage=1".)
- Add patches to fix build of ports depending on libxine to:
audio/amarok,
graphics/gimageview [1], graphics/pornview [1],
graphics/osg [2], graphics/osg-devel [2],
multimedia/emotion,
x11/kdelibs4 [3],
multimedia/kmplayer,
multimedia/konverter,
multimedia/qdvdauthor [4],
multimedia/vdr-plugin-xineliboutput,
multimedia/xfce4-media [5],
multimedia/xine_artsplugin,
multimedia/k9copy-kde4 [6]
- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]
- Mark multimedia/phonon-xine BROKEN which refuses to build with
libxine 1.2.x and is deprecated upstream. [3]
- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]
- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
but it only shows a green window at least with mp4 or ts files.
(avi files and audio still work.) It seems the kaffeine developers
have found this too and are now switching away from libxine in
their git repo - so I guess we'll have a broken kaffeine at least
until they release a new version.
- Bump PORTREVISIONs for ports depending on libxine by default.
- Add optional libbluray support to multimedia/libxine and
multimedia/vdr-plugin-xineliboutput.
PR: ports/165057 [6]
Submitted by: nox (self) [6], rakuco [3]
Approved by: dinoex (maintainer, via irc) [1],
amdmi3 (maintainer, via private email) [2],
kde@ (rakuco, via irc) [3],
Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
xfce@ (rene, via irc) [5],
Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
lme (maintainer, via irc) [7]
Thanx to: Darren Salt (upstream libxine maintainer) for a few
hints on irc to help with patching ports depending
on deprecated libxine features
Diffstat (limited to 'multimedia/vdr-plugin-xineliboutput')
-rw-r--r-- | multimedia/vdr-plugin-xineliboutput/Makefile | 9 | ||||
-rw-r--r-- | multimedia/vdr-plugin-xineliboutput/files/patch-xine_post_audiochannel.c | 47 | ||||
-rw-r--r-- | multimedia/vdr-plugin-xineliboutput/pkg-plist | 8 |
3 files changed, 55 insertions, 9 deletions
diff --git a/multimedia/vdr-plugin-xineliboutput/Makefile b/multimedia/vdr-plugin-xineliboutput/Makefile index c5b0e09ba06e..5b6bb6dccae0 100644 --- a/multimedia/vdr-plugin-xineliboutput/Makefile +++ b/multimedia/vdr-plugin-xineliboutput/Makefile @@ -7,7 +7,7 @@ PORTNAME= vdr-plugin-xineliboutput PORTVERSION= 1.0.90s20111129.1002 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= SF:release \ LOCAL:snapshot @@ -19,7 +19,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - xineliboutput plugin/viewer -LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine \ +LIB_DEPENDS+= xine.2:${PORTSDIR}/multimedia/libxine \ avutil.1:${PORTSDIR}/multimedia/ffmpeg \ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ vdpau.1:${PORTSDIR}/multimedia/libvdpau @@ -36,9 +36,8 @@ WRKSRC= ${WRKDIR}/vdr-${PLUGIN} .include "${.CURDIR}/../vdr/Makefile.plugins" -# libbluray in ports is too old -# OPTIONS= LIBBLURAY "Enable libbluray support" on -OPTIONS= LIBEXTRACTOR "Enable libextractor support" off +OPTIONS= LIBBLURAY "Enable libbluray support" off \ + LIBEXTRACTOR "Enable libextractor support" off .include <bsd.port.pre.mk> diff --git a/multimedia/vdr-plugin-xineliboutput/files/patch-xine_post_audiochannel.c b/multimedia/vdr-plugin-xineliboutput/files/patch-xine_post_audiochannel.c new file mode 100644 index 000000000000..5dd2611910bc --- /dev/null +++ b/multimedia/vdr-plugin-xineliboutput/files/patch-xine_post_audiochannel.c @@ -0,0 +1,47 @@ +--- vdr-xineliboutput/xine_post_audiochannel.c.orig ++++ vdr-xineliboutput/xine_post_audiochannel.c +@@ -72,7 +72,7 @@ typedef struct audioch_post_plugin_s + /* + * Port functions + */ +-#if XINE_VERSION_CODE < 10200 ++#if 1 // XINE_VERSION_CODE < 10200 + static int audioch_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, + uint32_t bits, uint32_t rate, int mode) + #else +@@ -87,7 +87,7 @@ static int audioch_port_open(xine_audio_ + _x_post_inc_usage(port); + + port->stream = stream; +-#if XINE_VERSION_CODE < 10200 ++#if 1 // XINE_VERSION_CODE < 10200 + port->bits = bits; + port->rate = rate; + port->mode = mode; +@@ -114,7 +114,7 @@ static void audioch_port_put_buffer (xin + int i; + + if(this->channels == 2) { +-#if XINE_VERSION_CODE < 10200 ++#if 1 // XINE_VERSION_CODE < 10200 + int step = buf->format.bits / 8; + #else + int step = sample_bytes_table[buf->format.sample_format]; +@@ -124,7 +124,7 @@ static void audioch_port_put_buffer (xin + newbuf->vpts = buf->vpts; + newbuf->frame_header_count = buf->frame_header_count; + newbuf->first_access_unit = buf->first_access_unit; +-#if XINE_VERSION_CODE < 10200 ++#if 1 // XINE_VERSION_CODE < 10200 + newbuf->format.bits = buf->format.bits; + newbuf->format.rate = buf->format.rate; + newbuf->format.mode = buf->format.mode; +@@ -258,7 +258,7 @@ static post_plugin_t *audioch_open_plugi + input_param->name = "parameters"; + input_param->type = XINE_POST_DATA_PARAMETERS; + input_param->data = &post_api; +-#if XINE_VERSION_CODE >= 10102 ++#if 1 // XINE_VERSION_CODE >= 10102 + xine_list_push_back(this->post_plugin.input, input_param); + #else + xine_list_append_content(this->post_plugin.input, input_param); diff --git a/multimedia/vdr-plugin-xineliboutput/pkg-plist b/multimedia/vdr-plugin-xineliboutput/pkg-plist index 3327ff72accf..8d32ab7403df 100644 --- a/multimedia/vdr-plugin-xineliboutput/pkg-plist +++ b/multimedia/vdr-plugin-xineliboutput/pkg-plist @@ -1,9 +1,9 @@ bin/vdr-fbfe bin/vdr-sxfe -lib/xine/plugins/1.29/xineplug_inp_xvdr.so -lib/xine/plugins/1.29/post/xineplug_post_autocrop.so -lib/xine/plugins/1.29/post/xineplug_post_swscale.so -lib/xine/plugins/1.29/post/xineplug_post_audiochannel.so +lib/xine/plugins/2.1/xineplug_inp_xvdr.so +lib/xine/plugins/2.1/post/xineplug_post_autocrop.so +lib/xine/plugins/2.1/post/xineplug_post_swscale.so +lib/xine/plugins/2.1/post/xineplug_post_audiochannel.so lib/vdr/libvdr-xineliboutput.so.1.7.22 lib/vdr/libxineliboutput-sxfe.so.1.0.90-cvs @unexec if cmp -s %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf.sample %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; then rm -f %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; fi |