Bug 182167 - multimedia/ffmpeg missing dependency audio/jack, devel/sdl12
Summary: multimedia/ffmpeg missing dependency audio/jack, devel/sdl12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-16 20:00 UTC by Pawel Pekala
Modified: 2013-10-31 19:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala freebsd_committer freebsd_triage 2013-09-16 20:00:00 UTC
Package built with default options:

[corn:~]# ldd /usr/local/bin/ffmpeg | grep -Ei '(jack|sdl)'
        libjack.so.0 => /usr/local/lib/libjack.so.0 (0x802acf000)
        libSDL-1.2.so.11 => /usr/local/lib/libSDL-1.2.so.11 (0x802ce9000)
[corn:~]# pkg info -d ffmpeg-0.7.15_1,1 | grep -Ei '(jack|sdl)'
[corn:~]# 

Same situation with ffmpeg-devel and ffmpeg1.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-16 20:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2013-10-14 18:52:34 UTC
Responsible Changed
From-To: mm->wg

Reassign to new maintainer
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-10-31 19:38:09 UTC
State Changed
From-To: open->closed

Fixed, thanks
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-10-31 19:38:39 UTC
Author: wg
Date: Thu Oct 31 19:38:31 2013
New Revision: 332279
URL: http://svnweb.freebsd.org/changeset/ports/332279

Log:
  multimedia/ffmpeg: do not link to libs not selected
  
  - ffmpeg build would link to libs like jack and SDL if they are not listed in
    --disable-{in,out}dev
  - Add JACK option
  
  PR:		ports/182167

Modified:
  head/multimedia/ffmpeg/Makefile

Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile	Thu Oct 31 19:34:14 2013	(r332278)
+++ head/multimedia/ffmpeg/Makefile	Thu Oct 31 19:38:31 2013	(r332279)
@@ -26,7 +26,7 @@ WANT_SDL=	yes
 
 OPTIONS_DEFINE=	AACPLUS ALSA AMR_NB AMR_WB ASS CDIO CELT DEBUG FAAC \
 		FDK_AAC FFSERVER FONTCONFIG FREETYPE FREI0R GNUTLS GSM ICONV \
-		LAME LIBBLURAY LIBV4L MODPLUG OPENAL OPENCV OPENJPEG OPENSSL \
+		JACK LAME LIBBLURAY LIBV4L MODPLUG OPENAL OPENCV OPENJPEG OPENSSL \
 		OPTIMIZED_CFLAGS OPUS PULSEAUDIO RTMP SCHROEDINGER SDL SPEEX \
 		THEORA VAAPI VDPAU VO_AACENC VO_AMRWBENC VORBIS VPX \
 		X11GRAB X264 XVID
@@ -106,6 +106,9 @@ GSM_CONFIGURE_ENABLE=	libgsm
 ICONV_USES=	iconv
 ICONV_CONFIGURE_ENABLE=	iconv
 
+JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audi/jack
+JACK_CONFIGURE_OFF=	--disable-indev=jack
+
 # lame
 LAME_LIB_DEPENDS=	libmp3lame.so:${PORTSDIR}/audio/lame
 LAME_CONFIGURE_ENABLE=	libmp3lame
@@ -117,6 +120,8 @@ LIBBLURAY_CONFIGURE_ENABLE=	libbluray
 # libv4l
 LIBV4L_LIB_DEPENDS=	libv4l2.so:${PORTSDIR}/multimedia/libv4l
 LIBV4L_CONFIGURE_ENABLE=	libv4l2
+LIBV4L_CONFIGURE_OFF=		--disable-indev=v4l2 \
+				--disable-outdev=v4l2
 
 # modplug
 MODPLUG_LIB_DEPENDS=	libmodplug.so:${PORTSDIR}/audio/libmodplug
@@ -125,6 +130,7 @@ MODPLUG_CONFIGURE_ENABLE=	libmodplug
 # OpenAL
 OPENAL_LIB_DEPENDS=	libopenal.so:${PORTSDIR}/audio/openal-soft
 OPENAL_CONFIGURE_ENABLE=	openal
+OPENAL_CONFIGURE_OFF=		--disable-indev=openal
 
 # opencv
 OPENCV_LIB_DEPENDS=	libopencv_imgproc.so:${PORTSDIR}/graphics/opencv-core
@@ -141,6 +147,8 @@ OPUS_CONFIGURE_ENABLE=	libopus
 # pulseaudio
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
 PULSEAUDIO_CONFIGURE_ENABLE=	libpulse
+PULSEAUDIO_CONFIGURE_OFF=	--disable-indev=pulse \
+				--disable-outdev=pulse
 
 # rtmp
 RTMP_LIB_DEPENDS=	librtmp.so:${PORTSDIR}/multimedia/librtmp
@@ -305,7 +313,7 @@ FFPROGS+=	ffplay
 DOC_DOCFILES+=	ffplay.html
 .endif
 .else
-CONFIGURE_ARGS+=	--disable-ffplay
+CONFIGURE_ARGS+=	--disable-ffplay --disable-outdev=sdl
 .endif
 
 # vorbis
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"