Why is vdr-plugin-dxr3 linked with libavformat?

Nicolas Boullis nboullis at debian.org
Tue Jun 27 22:45:06 UTC 2006


Hi,

Still checking vdr-plugin-dxr3, I don't understand why the 
debian/patches/02_debian_ffmpeg.dpatch patch adds libavformat to the 
libraries it is linked with.

I tried to remove it (see the attached trivial patch), I built it and 
everything looks fine.

Can I commit this or am I missing something?


Cheers,

Nicolas
-------------- next part --------------
Index: debian/control
===================================================================
--- debian/control	(revision 3092)
+++ debian/control	(working copy)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
 Uploaders: Nicolas Boullis <nboullis at debian.org>
-Build-Depends: debhelper (>> 4.1.16), dpatch (>= 2.0.9), vdr-dev (>= 1.4.0-1), libavcodec-dev, libavformat-dev, em8300-headers
+Build-Depends: debhelper (>> 4.1.16), dpatch (>= 2.0.9), vdr-dev (>= 1.4.0-1), libavcodec-dev, em8300-headers
 Standards-Version: 3.7.2
 
 Package: vdr-plugin-dxr3
Index: debian/patches/02_debian_ffmpeg.dpatch
===================================================================
--- debian/patches/02_debian_ffmpeg.dpatch	(revision 3092)
+++ debian/patches/02_debian_ffmpeg.dpatch	(working copy)
@@ -15,7 +15,7 @@
 -INCLUDES += -I$(VDRDIR)/include -I$(FFMDIR) -I$(EM8300)
 -LIBS     = -L$(FFMDIR)/libavcodec -lavcodec
 +INCLUDES += -I$(VDRDIR)/include `ffmpeg-config --cflags` -I$(EM8300)
-+LIBS     = `ffmpeg-config --plugin-libs avcodec avformat`
++LIBS     = `ffmpeg-config --plugin-libs avcodec`
  DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
  DEFINES += -D_GNU_SOURCE
  


More information about the pkg-vdr-dvb-devel mailing list