[SCM] ffmpeg/master: Introduce 'libav-source', which contains the patched sources of libav

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Mar 19 10:10:31 UTC 2011


The following commit has been merged in the master branch:
commit 8a0df8b70744388035c7d151753cec023e90545a
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sat Mar 19 09:21:02 2011 +0100

    Introduce 'libav-source', which contains the patched sources of libav
    
    this package will be used as build dependency of 'libav-extra'

diff --git a/debian/control b/debian/control
index 26eea6d..f3880e0 100644
--- a/debian/control
+++ b/debian/control
@@ -91,6 +91,16 @@ Description: Debug symbols for Libav related packages
  Most people will not need this package. Please install it to produce useful
  stacktraces to help debugging the Libav library.
 
+Package: libav-source
+Architecture: all
+Section: devel
+Description: Patched Libav sources
+ This package contains a tarball the source file that were used to produce
+ this package, containing all modifications that have been applied inline.
+ .
+ This package is used as build-dependency for 'libav-extra', which provides
+ the "extra" variants of libav.
+
 Package: ffmpeg-doc
 Section: doc
 Architecture: all
diff --git a/debian/libav-source.install b/debian/libav-source.install
new file mode 100644
index 0000000..5c9844d
--- /dev/null
+++ b/debian/libav-source.install
@@ -0,0 +1 @@
+usr/src/libav-source.tar.gz
diff --git a/debian/rules b/debian/rules
index 8b60a7d..515e52b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -86,6 +86,9 @@ install: build
 	dh_testdir
 	dh_testroot
 	dh_prep
+	dh_installdirs -ptmp usr/src
+	tar czvf debian/tmp/usr/src/libav-source.tar.gz . \
+		 --exclude 'debian*' --exclude .git --transform 's,^./,libav/,'
 	dh_installdirs -ptmp usr/share/doc/ffmpeg/html etc
 	dh_installdirs -ptmp usr/share/doc/libav-doc/html
 	$(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor)))

-- 
FFmpeg packaging



More information about the pkg-multimedia-commits mailing list