r1536 - in /experimental/ffmpeg-debian/debian: control.common control.ffmpeg control.ffmpeg-debian rules

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Wed Nov 5 20:16:54 UTC 2008


Author: siretart
Date: Wed Nov  5 20:16:53 2008
New Revision: 1536

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1536
Log:

add rule to generate debian/control

implement the plan outlined in
http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2008-October/002090.html

Added:
    experimental/ffmpeg-debian/debian/control.common
    experimental/ffmpeg-debian/debian/control.ffmpeg
    experimental/ffmpeg-debian/debian/control.ffmpeg-debian
Modified:
    experimental/ffmpeg-debian/debian/rules

Added: experimental/ffmpeg-debian/debian/control.common
URL: http://svn.debian.org/wsvn/pkg-multimedia/experimental/ffmpeg-debian/debian/control.common?rev=1536&op=file
==============================================================================
--- experimental/ffmpeg-debian/debian/control.common (added)
+++ experimental/ffmpeg-debian/debian/control.common Wed Nov  5 20:16:53 2008
@@ -1,0 +1,28 @@
+Section: libs
+Priority: optional
+Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>,
+           Loic Minier <lool at dooz.org>,
+           Reinhard Tartler <siretart at tauware.de>,
+           Fabian Greffrath <fabian at debian-unofficial.org>
+Build-Depends: debhelper (>= 5.0.0),
+               doxygen,
+               libdc1394-22-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+               libfaad-dev | libfaad2-dev,
+               libfreetype6-dev,
+               libgsm1-dev,
+               libimlib2-dev,
+               libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+               libsdl1.2-dev,
+               libschroedinger-dev,
+               libtheora-dev (>> 0.0.0.alpha4),
+               libvorbis-dev,
+               libx11-dev,
+               libxext-dev,
+               quilt,
+               texi2html,
+               zlib1g-dev
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/pkg-multimedia/unstable/ffmpeg-debian/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/
+Homepage: http://ffmpeg.mplayerhq.hu/

Added: experimental/ffmpeg-debian/debian/control.ffmpeg
URL: http://svn.debian.org/wsvn/pkg-multimedia/experimental/ffmpeg-debian/debian/control.ffmpeg?rev=1536&op=file
==============================================================================
--- experimental/ffmpeg-debian/debian/control.ffmpeg (added)
+++ experimental/ffmpeg-debian/debian/control.ffmpeg Wed Nov  5 20:16:53 2008
@@ -1,0 +1,83 @@
+
+Package: libavutil-unstripped-49
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Conflicts: libavutilcvs49, libavutil49
+Replaces: libavutilcvs49, libavutil49
+Description: ffmpeg utility library
+ This is the common utility library from the ffmpeg project. It is required
+ by all other ffmpeg libraries.
+ .
+ This package contains a Debian-specific version of the libavutil shared
+ object that should only be used by Debian packages.
+
+Package: libavcodec-unstripped-52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Suggests: liba52-0.7.4, libfaad0
+Conflicts: libavcodec52
+Replaces: libavcodec52
+Description: ffmpeg codec library
+ This is the codec library from the ffmpeg project. It supports most existing
+ encoding formats (MPEG, DivX, MPEG4, AC3, DV...).
+ .
+ This package contains a Debian-specific version of the libavcodec shared
+ object that should only be used by Debian packages.
+
+Package: libavdevice-unstripped-52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Conflicts: libavdevicecvs52, libavdevice52
+Replaces: libavdevicecvs52, libavdevice52
+Description: ffmpeg device handling library
+ This is the device handling library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libavdevice shared
+ object that should only be used by Debian packages.
+
+Package: libpostproc-unstripped-51
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Conflicts: libpostproccvs51, libpostproc51
+Replaces: libpostproccvs51, libpostproc51
+Description: ffmpeg video postprocessing library
+ This is the video postprocessing library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libpostproc shared
+ object that should only be used by Debian packages.
+
+Package: libavformat-unstripped-52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Conflicts: libavformatcvs52, libavformat52
+Replaces: libavformatcvs52, libavformat52
+Description: ffmpeg file format library
+ This is the demuxer library from the ffmpeg project. It supports most
+ existing file formats (AVI, MPEG, OGG, Matroska, ASF...).
+ .
+ This package contains a Debian-specific version of the libavformat shared
+ object that should only be used by Debian packages.
+
+Package: libswscale-unstripped-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Conflicts: libswscalecvs0, libswscale0
+Replaces: libswscalecvs0, libswscale0
+Description: ffmpeg video scaling library
+ This is the video scaling library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libswscale shared
+ object that should only be used by Debian packages.
+

Added: experimental/ffmpeg-debian/debian/control.ffmpeg-debian
URL: http://svn.debian.org/wsvn/pkg-multimedia/experimental/ffmpeg-debian/debian/control.ffmpeg-debian?rev=1536&op=file
==============================================================================
--- experimental/ffmpeg-debian/debian/control.ffmpeg-debian (added)
+++ experimental/ffmpeg-debian/debian/control.ffmpeg-debian Wed Nov  5 20:16:53 2008
@@ -1,0 +1,204 @@
+
+Package: ffmpeg
+Section: graphics
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: multimedia player, server and encoder
+ This package contains the ffplay multimedia player, the ffserver streaming
+ server and the ffmpeg audio and video encoder. They support most existing
+ file formats (AVI, MPEG, OGG, Matroska, ASF...) and encoding formats (MPEG,
+ DivX, MPEG4, AC3, DV...).
+
+Package: ffmpeg-dbg
+Section: libs
+Priority: extra
+Architecture: any
+Depends: libavutil49 (= ${binary:Version}),
+         libavcodec52 (= ${binary:Version}),
+         libavdevice52 (= ${binary:Version}),
+         libpostproc51 (= ${binary:Version}),
+         libavformat52 (= ${binary:Version}),
+         libswscale0 (= ${binary:Version}),
+         ffmpeg (= ${binary:Version})
+Description: Debug symbols for ffmpeg related packages
+ This package contains debug data of the ffmpeg related shared libraries.
+ .
+ Most people will not need this package. Please install it to produce useful
+ stacktraces to help debugging the ffmpeg library.
+
+Package: ffmpeg-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: documentation of the ffmpeg API
+ This package contains the html doxygen documentation of the ffmpeg API.
+
+Package: libavutil49
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg utility library
+ This is the common utility library from the ffmpeg project. It is required
+ by all other ffmpeg libraries.
+ .
+ This package contains a Debian-specific version of the libavutil shared
+ object that should only be used by Debian packages.
+
+Package: libavcodec52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg codec library
+ This is the codec library from the ffmpeg project. It supports most existing
+ encoding formats (MPEG, DivX, MPEG4, AC3, DV...).
+ .
+ This package contains a Debian-specific version of the libavcodec shared
+ object that should only be used by Debian packages.
+
+Package: libavdevice52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg device handling library
+ This is the device handling library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libavdevice shared
+ object that should only be used by Debian packages.
+
+Package: libavformat52
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg file format library
+ This is the demuxer library from the ffmpeg project. It supports most
+ existing file formats (AVI, MPEG, OGG, Matroska, ASF...).
+ .
+ This package contains a Debian-specific version of the libavformat shared
+ object that should only be used by Debian packages.
+
+Package: libavfilter0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg video filtering library
+ This is the video filtering library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libavfilter shared
+ object that should only be used by Debian packages.
+
+Package: libpostproc51
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg video postprocessing library
+ This is the video postprocessing library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libpostproc shared
+ object that should only be used by Debian packages.
+
+Package: libswscale0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: ffmpeg video scaling library
+ This is the video scaling library from the ffmpeg project.
+ .
+ This package contains a Debian-specific version of the libswscale shared
+ object that should only be used by Debian packages.
+
+Package: libavutil-dev
+Section: libdevel
+Architecture: any
+Depends: libavutil49 (= ${binary:Version})
+Description: development files for libavutil
+ This is the common utility library from the ffmpeg project. It is required
+ by all other ffmpeg libraries.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libavutil.
+
+Package: libavcodec-dev
+Section: libdevel
+Architecture: any
+Depends: libavcodec52 (= ${binary:Version}),
+         libavutil-dev (= ${binary:Version})
+Suggests: libfaad-dev,
+          libgsm1-dev,
+          libogg-dev,
+          libschroedinger-dev,
+          libtheora-dev (>> 0.0.0.alpha4),
+          libvorbis-dev,
+          libx11-dev,
+          libxext-dev,
+          zlib1g-dev,
+          ${lib1394-dev}
+Description: development files for libavcodec
+ This is the codec library from the ffmpeg project. It supports most existing
+ encoding formats (MPEG, DivX, MPEG4, AC3, DV...).
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libavcodec.
+
+Package: libavdevice-dev
+Section: libdevel
+Architecture: any
+Depends: libavdevice52 (= ${binary:Version}),
+         libavformat-dev (= ${binary:Version})
+Description: development files for libavdevice
+ This is the device handling library from the ffmpeg project.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libavdevice.
+
+Package: libavformat-dev
+Section: libdevel
+Architecture: any
+Depends: libavformat52 (= ${binary:Version}),
+         libavcodec-dev (= ${binary:Version})
+Description: development files for libavformat
+ This is the demuxer library from the ffmpeg project. It supports most
+ existing file formats (AVI, MPEG, OGG, Matroska, ASF...).
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libavformat.
+
+Package: libavfilter-dev
+Section: libdevel
+Architecture: any
+Depends: libavfilter0 (= ${binary:Version}),
+         libavcodec-dev (= ${binary:Version})
+Description: development files for libavfilter
+ This is the video filtering library from the ffmpeg project.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libavfilter.
+
+Package: libpostproc-dev
+Section: libdevel
+Architecture: any
+Depends: libpostproc51 (= ${binary:Version}),
+         libavutil-dev (= ${binary:Version})
+Description: development files for libpostproc
+ This is the video postprocessing library from the ffmpeg project.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libpostproc.
+
+Package: libswscale-dev
+Section: libdevel
+Architecture: any
+Depends: libswscale0 (= ${binary:Version}),
+         libavutil-dev (= ${binary:Version})
+Description: development files for libswscale
+ This is the video scaling library from the ffmpeg project.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libswscale.

Modified: experimental/ffmpeg-debian/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/experimental/ffmpeg-debian/debian/rules?rev=1536&op=diff
==============================================================================
--- experimental/ffmpeg-debian/debian/rules (original)
+++ experimental/ffmpeg-debian/debian/rules Wed Nov  5 20:16:53 2008
@@ -10,9 +10,20 @@
 
 LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avcodec|avdevice|avformat|avfilter|postproc|swscale)[0-9]+)[[:space:]]*$$/\1/p' debian/control)
 
+# we don't need to strip if we are not building the package ffmpeg-debian
+ifneq ($(DEB_SOURCE),ffmpeg-debian)
+DEB_BUILD_OPTIONS += ,internalencoders
+endif
+
 internalencoders := $(findstring internalencoders,$(DEB_BUILD_OPTIONS))
 
 include debian/confflags
+
+debian/control: debian/changelog $(wildcard debian/control.*)
+	dh_testdir
+	dpkg-parsechangelog | head -1 > $@
+	cat debian/control.common >> $@
+	cat debian/control.$(DEB_SOURCE) >> $@
 
 $(info FLAVORS = $(FLAVORS))
 $(info DEB_BUILD_OPTIONS = $(DEB_BUILD_OPTIONS))




More information about the pkg-multimedia-commits mailing list