2012-10-07 22:35:26 +02:00
|
|
|
# Created by: alex
|
2001-09-20 09:50:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xine
|
2013-10-19 18:43:32 +02:00
|
|
|
PORTVERSION= 1.2.4
|
2014-05-16 19:27:39 +02:00
|
|
|
PORTREVISION= 10
|
2004-12-30 01:39:19 +01:00
|
|
|
CATEGORIES= multimedia ipv6
|
2010-06-19 13:06:36 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
|
2001-09-20 09:50:12 +02:00
|
|
|
PKGNAMEPREFIX= lib
|
2005-04-28 19:33:54 +02:00
|
|
|
DISTNAME= ${PORTNAME}-lib-${PORTVERSION}
|
2001-09-20 09:50:12 +02:00
|
|
|
|
2011-03-25 21:30:31 +01:00
|
|
|
MAINTAINER= nox@FreeBSD.org
|
2003-02-22 15:25:38 +01:00
|
|
|
COMMENT= Libraries for xine multimedia player
|
2001-09-20 09:50:12 +02:00
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
BUILD_DEPENDS= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \
|
|
|
|
liba52.so:${PORTSDIR}/audio/liba52 \
|
|
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
|
|
|
libspeex.so:${PORTSDIR}/audio/speex \
|
|
|
|
libmng.so:${PORTSDIR}/graphics/libmng \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libdvdread.so:${PORTSDIR}/multimedia/libdvdread \
|
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
|
|
libfame.so:${PORTSDIR}/multimedia/libfame \
|
|
|
|
libcdio.so:${PORTSDIR}/sysutils/libcdio \
|
|
|
|
libmodplug.so:${PORTSDIR}/audio/libmodplug \
|
|
|
|
libvcdinfo.so:${PORTSDIR}/multimedia/vcdimager \
|
|
|
|
libtheora.so:${PORTSDIR}/multimedia/libtheora \
|
|
|
|
libmad.so:${PORTSDIR}/audio/libmad \
|
|
|
|
libdca.so:${PORTSDIR}/multimedia/libdca \
|
|
|
|
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
|
|
|
|
libfaad.so:${PORTSDIR}/audio/faad \
|
|
|
|
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
|
2009-05-10 07:51:11 +02:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
2014-05-15 12:41:21 +02:00
|
|
|
# DVDCSS version hardcoded in src/input/input_dvd.c misc/cdda_server.c
|
|
|
|
# and src/input/libdvdnav/dvd_input.c (dlopen'ed)
|
|
|
|
LIB_DEPENDS+= libdvdcss.so.2:${PORTSDIR}/multimedia/libdvdcss
|
2009-05-10 07:51:11 +02:00
|
|
|
.endif
|
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
USES= compiler gmake iconv libtool:keepla pathfix perl5 pkgconfig tar:xz
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-15 12:41:21 +02:00
|
|
|
USE_XORG= x11 xv xinerama
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= gl glu
|
2013-09-04 18:45:13 +02:00
|
|
|
USE_PERL5= build
|
2004-01-28 07:17:42 +01:00
|
|
|
USE_SDL= sdl
|
2006-12-07 18:13:41 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-15 12:41:21 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2010-08-18 21:10:55 +02:00
|
|
|
CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 \
|
|
|
|
--enable-ipv6 \
|
2007-07-23 11:36:51 +02:00
|
|
|
--with-external-libmad \
|
2010-08-18 21:10:55 +02:00
|
|
|
--with-external-libdts \
|
|
|
|
--with-libflac \
|
|
|
|
--with-external-ffmpeg \
|
|
|
|
--with-external-libfaad \
|
2013-09-04 18:45:13 +02:00
|
|
|
--disable-real-codecs \
|
2010-08-18 21:10:55 +02:00
|
|
|
--disable-v4l \
|
- 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
2012-02-26 16:22:37 +01:00
|
|
|
--without-alsa \
|
|
|
|
--disable-musepack \
|
|
|
|
--enable-dvb
|
2001-09-20 09:50:12 +02:00
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
OPTIONS_DEFINE= CACA ESOUND JACK GNOMEVFS2 PULSEAUDIO XVMC SMB AALIB \
|
2014-05-15 12:41:21 +02:00
|
|
|
IMAGEMAGICK PIXBUF WAVPACK VAAPI LIBBLURAY
|
2007-07-15 17:21:33 +02:00
|
|
|
|
2013-10-19 20:13:57 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/xine-lib
|
2013-11-29 19:00:12 +01:00
|
|
|
# Please sync with XINE_PLUGINSDIR in multimedia/xine
|
|
|
|
# and multimedia/vdr-plugin-xineliboutput
|
2014-05-16 19:27:39 +02:00
|
|
|
PLUGINSDIR= lib/xine/plugins/2.3
|
|
|
|
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
|
2009-05-10 07:51:11 +02:00
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-08-18 21:10:55 +02:00
|
|
|
|
2013-07-21 13:27:17 +02:00
|
|
|
.if ${ARCH} == "i386"
|
2013-09-04 18:45:13 +02:00
|
|
|
CFLAGS+= -fomit-frame-pointer
|
2011-10-29 18:58:13 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2010-08-18 21:10:55 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
.endif
|
2001-09-20 09:50:12 +02:00
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MCACA}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libcaca.so:${PORTSDIR}/graphics/libcaca
|
2005-10-23 01:38:48 +02:00
|
|
|
PLIST_SUB+= WITH_CACA=""
|
2004-05-12 18:49:13 +02:00
|
|
|
.else
|
2005-10-23 01:38:48 +02:00
|
|
|
PLIST_SUB+= WITH_CACA="@comment "
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-caca --disable-cacatest
|
2001-09-20 09:50:12 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MESOUND}
|
2003-02-01 17:44:37 +01:00
|
|
|
USE_GNOME+= esound
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_ESOUND=""
|
2001-10-26 18:58:00 +02:00
|
|
|
.else
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_ESOUND="@comment "
|
2007-02-15 09:34:53 +01:00
|
|
|
CONFIGURE_ARGS+= --without-esound
|
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MJACK}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack
|
2007-02-15 09:34:53 +01:00
|
|
|
PLIST_SUB+= WITH_JACK=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_JACK="@comment "
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-jack
|
2001-10-26 18:58:00 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNOMEVFS2}
|
2003-06-22 06:49:06 +02:00
|
|
|
USE_GNOME+= gnomevfs2
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_GNOMEVFS2=""
|
2003-02-09 16:19:12 +01:00
|
|
|
.else
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_GNOMEVFS2="@comment "
|
2006-12-03 11:28:23 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-gnomevfs
|
2003-02-09 16:19:12 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MPULSEAUDIO}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
|
2006-12-07 18:13:41 +01:00
|
|
|
PLIST_SUB+= WITH_PULSEAUDIO=""
|
2005-09-20 18:44:33 +02:00
|
|
|
.else
|
2006-12-07 18:13:41 +01:00
|
|
|
PLIST_SUB+= WITH_PULSEAUDIO="@comment "
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-pulseaudio
|
2005-09-20 18:44:33 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MXVMC}
|
2013-09-06 23:21:41 +02:00
|
|
|
.if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1)
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xvmc-lib=XvMCNVIDIA
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libXvMCNVIDIA.so:${PORTSDIR}/x11/nvidia-driver-304
|
2007-05-19 22:36:56 +02:00
|
|
|
.else
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xvmc-lib=XvMCW
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libXvMC.so:${PORTSDIR}/x11/libXvMC
|
2007-05-19 22:36:56 +02:00
|
|
|
.endif
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_XVMC=""
|
|
|
|
.else
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-xvmc
|
2004-05-12 18:49:13 +02:00
|
|
|
PLIST_SUB+= WITH_XVMC="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MSMB}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
|
2004-12-30 01:39:19 +01:00
|
|
|
PLIST_SUB+= WITH_SMB=""
|
2013-10-20 15:49:04 +02:00
|
|
|
CONFIGURE_ENV+= LIBSMBCLIENT_LIBS="-L${LOCALBASE}/lib -lsmbclient" \
|
|
|
|
LIBSMBCLIENT_CFLAGS="-I${LOCALBASE}/include"
|
2012-06-02 21:37:10 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-samba
|
2004-12-30 01:39:19 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_SMB="@comment "
|
2006-04-30 19:26:43 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-samba
|
2004-12-30 01:39:19 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MAALIB}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libaa.so:${PORTSDIR}/graphics/aalib
|
2006-08-27 14:47:13 +02:00
|
|
|
PLIST_SUB+= WITH_AALIB=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_AALIB="@comment "
|
2006-12-03 11:28:23 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-aalib --disable-aalibtest
|
2006-08-27 14:47:13 +02:00
|
|
|
.endif
|
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libMagickWand.so:${PORTSDIR}/graphics/ImageMagick
|
2006-08-27 14:47:13 +02:00
|
|
|
PLIST_SUB+= WITH_IMAGEMAGICK=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_IMAGEMAGICK="@comment "
|
2007-07-15 17:21:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-imagemagick
|
2006-08-27 14:47:13 +02:00
|
|
|
.endif
|
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
.if ${PORT_OPTIONS:MPIXBUF}
|
|
|
|
USE_GNOME+= gdkpixbuf2
|
2006-08-27 14:47:13 +02:00
|
|
|
PLIST_SUB+= WITH_GTK2=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_GTK2="@comment "
|
|
|
|
CONFIGURE_ARGS+= --disable-gdkpixbuf
|
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MWAVPACK}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libwavpack.so:${PORTSDIR}/audio/wavpack
|
2007-09-24 16:52:19 +02:00
|
|
|
PLIST_SUB+= WITH_WAVPACK=""
|
|
|
|
CONFIGURE_ARGS+= --with-wavpack
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_WAVPACK="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-wavpack
|
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MVAAPI}
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libva.so:${PORTSDIR}/multimedia/libva
|
2013-11-23 20:20:55 +01:00
|
|
|
PLIST_SUB+= VAAPI=""
|
|
|
|
CONFIGURE_ARGS+= --enable-vaapi
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= VAAPI="@comment "
|
2011-03-25 21:30:31 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MLIBBLURAY}
|
2013-11-23 20:20:55 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-bluray
|
2013-10-19 18:43:32 +02:00
|
|
|
LIB_DEPENDS+= libbluray.so:${PORTSDIR}/multimedia/libbluray
|
- 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
2012-02-26 16:22:37 +01:00
|
|
|
PLIST_SUB+= LIBBLURAY=""
|
2011-01-15 23:46:39 +01:00
|
|
|
.else
|
2013-11-23 20:20:55 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-bluray
|
- 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
2012-02-26 16:22:37 +01:00
|
|
|
PLIST_SUB+= LIBBLURAY="@comment "
|
2011-01-15 23:46:39 +01:00
|
|
|
.endif
|
|
|
|
|
2007-07-15 17:21:33 +02:00
|
|
|
.if ${CONFIGURE_ARGS:M*--without-imagemagick*} == "" || ${CONFIGURE_ARGS:M*-disable-gdkpixbuf*} == ""
|
2006-12-07 18:13:41 +01:00
|
|
|
PLIST_SUB+= WITH_DMX_IMAGE=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_DMX_IMAGE="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-08-27 14:47:13 +02:00
|
|
|
.if ${ARCH} == "i386"
|
|
|
|
PLIST_SUB+= WITH_VIDIX=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_VIDIX="@comment "
|
|
|
|
CONFIGURE_ARGS+= --disable-vidix
|
|
|
|
.endif
|
|
|
|
|
2014-05-15 12:41:21 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-02-15 09:34:53 +01:00
|
|
|
post-patch:
|
2014-02-27 21:03:51 +01:00
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
|
|
@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \
|
|
|
|
${WRKSRC}/src/libw32dll/wine/Makefile.in
|
|
|
|
.endif
|
2012-06-02 21:37:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MVAAPI}
|
2013-11-23 20:20:55 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|-ldl||' \
|
|
|
|
${WRKSRC}/src/video_out/Makefile.in
|
2011-01-15 23:46:39 +01:00
|
|
|
.endif
|
2011-06-23 00:49:45 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|#define _ATOM QT_ATOM('', '', '', '')||" \
|
|
|
|
${WRKSRC}/src/demuxers/demux_qt.c
|
2002-06-30 19:35:29 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-05-15 12:41:21 +02:00
|
|
|
's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \
|
- 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
2012-02-26 16:22:37 +01:00
|
|
|
${WRKSRC}/configure
|
2007-05-25 13:25:19 +02:00
|
|
|
|
2014-05-16 19:27:39 +02:00
|
|
|
# XXX older nvidia-driver versions don't support opengl 2.0 so this
|
|
|
|
# plugin might not get built:
|
|
|
|
post-install:
|
|
|
|
.if !exists(${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so)
|
|
|
|
${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \
|
|
|
|
${TMPPLIST}
|
|
|
|
.endif
|
|
|
|
|
2014-02-27 21:03:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|