Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 12:53:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202404] [MAINTAINER] multimedia/mplayer2: updates to Makefile
Message-ID:  <bug-202404-13-CmjDzxtus7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202404-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202404-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202404

--- Comment #13 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 160301
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D160301
v5

> +		--disable-gif \

Have you checked if maybe mplayer contains the fix?

  $ svn log -v svn://svn.mplayerhq.hu/mplayer/trunk/libvo/vo_gif89a.c
  ------------------------------------------------------------------------
  r37293 | al | 2014-10-05 06:39:08 +0400 (Sun, 05 Oct 2014) | 3 lines
  Changed paths:
     M /trunk/libmpdemux/demux_gif.c
     M /trunk/libvo/vo_gif89a.c

  Fix build for GIFLIB versions 5.1 and higher

  ------------------------------------------------------------------------
  r36367 | al | 2013-07-28 01:16:06 +0400 (Sun, 28 Jul 2013) | 24 lines
  Changed paths:
     M /trunk/configure
     M /trunk/libmpdemux/demux_gif.c
     M /trunk/libvo/vo_gif89a.c

  Support newer GIFLIB versions

  Work with GIFLIB version >=3D 4.2

  Several functions have been renamed or changed in signature.

  GIFLIB is used by vo gif89a and demuxer gif.

  Note about GIFLIB Version 4.2:
  It does not work with vanilla GIFLIB 4.2 but it works with
  versions that have re-added quantize support like e.g. the
  package from arch linux.

  Note about GIFLIB Version 5:
  The newly added GCB functions use size_t but the necessary
  standard headers are not included in gif_lib.h . To workaround
  this:

  * configure: use statement_check_broken to include stdlib.h
  * vo gif89: include gif_lib.h after stdlib.h
  * demuxer gif: no workaround needed,
                 gif_lib.h is already included after stdlib.h

> -RTC_DESC=3D	Enable kernel realtime clock timing
> -PULSE_DESC=3D	Enable PulseAudio support
> -THEORA_DESC=3D	Enable ogg theora video support
>  ASS_DESC=3D	Enable ASS/SSA subtitle rendering
> -WIN32_DESC=3D	Enable win32 codec set on the IA32 arch
> -REALPLAYER_DESC=3DEnable realplayer plugin
> -LIRC_DESC=3D	Enable lirc support
> +DVDREAD_DESC=3D	DVD Playback support
> +DVDNAV_DESC=3D	DVD menu navigation
> +ENCA_DESC=3D	Enable encoding detection support
> +LIBAV_DESC=3D	Enable libav support
>  LIBCDIO_DESC=3D	Enable libcdio support
> +LIRC_DESC=3D	Enable lirc support
> +PULSE_DESC=3D	Enable PulseAudio support
> +REALPLAYER_DESC=3DEnable realplayer plugin
> +RTC_DESC=3D	Enable kernel realtime clock timing
> +THEORA_DESC=3D	Enable ogg theora video support

Maybe standardize on option names and their descriptions using
Mk/bsd.options.desc.mk.

> +ASS_IMPLIES=3D		ENCA

mplayer2 builds fine with ASS=3Don ENCA=3Doff. I've misunderstood what
--disable-ass --disable-enca was supposed to accomplish. The line can go aw=
ay.

> +DV_CONFIGURE_ON=3D	--enable-libdv
> +DV_CONFIGURE_OFF=3D	--disable-libdv
> +IPV6_CONFIGURE_ON=3D	--enable-inet6
> +IPV6_CONFIGURE_OFF=3D	--disable-inet6
> +JACK_CONFIGURE_ON=3D	--enable-jack
> +JACK_CONFIGURE_OFF=3D	--disable-jack
[and many more]

Do you have a reason to prefer _CONFIGURE_(ON|OFF) over _CONFIGURE_ENABLE?

> +LIBAV_LIB_DEPENDS=3D	libavresample.so:${PORTSDIR}/multimedia/libav
> +LIBAV_CONFIGURE_ENABLE=3D	libavresample
> +LIBAV_LIBS=3D		-lavresample

Does this actually work? multimedia/libav alters its libraries' names to av=
oid
conflict with multimedia/ffmpeg. pkg-config won't find them without extra
hackery.

  $ pkg which -o /usr/local/lib/libavresample.so
  /usr/local/lib/libavresample.so was installed by package multimedia/ffmpeg

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202404-13-CmjDzxtus7>