[SCM] libav/experimental: build and install libswresample

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat May 12 17:55:41 UTC 2012


The following commit has been merged in the experimental branch:
commit ae214b4bae8846c4e32f810a7f76f7e7e271f970
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Apr 29 17:38:14 2012 +0200

    build and install libswresample

diff --git a/debian/control b/debian/control
index bb3f281..fb37038 100644
--- a/debian/control
+++ b/debian/control
@@ -443,6 +443,35 @@ Description: Development files for libswscale
  This package contains the header files and static libraries needed to
  compile applications or shared objects that use libswscale.
 
+Package: libavresample-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libavutil-dev (= ${binary:Version}),
+ libavresample0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Development files for libavresample
+ Libav is a complete, cross-platform solution to decode, encode, record,
+ convert and stream audio and video.
+ .
+ This is the video scaling library from Libav.
+ .
+ This package contains the header files and static libraries needed to
+ compile applications or shared objects that use libswrescale.
+
+Package: libavresample0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Libav audo resampling library
+ Libav is a complete, cross-platform solution to decode, encode, record,
+ convert and stream audio and video.
+ .
+ This is the audio software resampling library from Libav.
+
 Package: libavutil-extra-51
 Section: oldlibs
 Priority: extra
diff --git a/debian/libavresample-dev.install.in b/debian/libavresample-dev.install.in
new file mode 100644
index 0000000..8e1e76a
--- /dev/null
+++ b/debian/libavresample-dev.install.in
@@ -0,0 +1,4 @@
+usr/include/libavresample
+usr/lib/@DEB_HOST_MULTIARCH@/libavresample.a
+usr/lib/@DEB_HOST_MULTIARCH_OPT@/libavresample.so
+usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig/libavresample.pc
diff --git a/debian/libavresample0.install.in b/debian/libavresample0.install.in
new file mode 100644
index 0000000..d361728
--- /dev/null
+++ b/debian/libavresample0.install.in
@@ -0,0 +1 @@
+usr/lib/@DEB_HOST_MULTIARCH_OPT@/libavresample.so.*
diff --git a/debian/libavcodec53.lintian-overrides b/debian/libavresample0.lintian-overrides
similarity index 61%
copy from debian/libavcodec53.lintian-overrides
copy to debian/libavresample0.lintian-overrides
index 408702b..9953af7 100644
--- a/debian/libavcodec53.lintian-overrides
+++ b/debian/libavresample0.lintian-overrides
@@ -1,2 +1,2 @@
 # Overriding these fpic lintian errors. Please see bug #528080.
-libavcodec53: shlib-with-non-pic-code
+libavresample0: shlib-with-non-pic-code
diff --git a/debian/rules b/debian/rules
index 19e7b06..0dab236 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
 UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/[^:]+://; s/-[^-]+$$//')
 SHLIBS_VERSION := 5:0.8-2~
 
-LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avdevice|avformat|avfilter|swscale)[0-9]+)[[:space:]]*$$/\1/p' debian/control)
+LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avdevice|avformat|avfilter|avresample|swscale)[0-9]+)[[:space:]]*$$/\1/p' debian/control)
 LIB_PKGS2 := $(shell sed -nr 's/^Package:[[:space:]]*(libavcodec[0-9]+)[[:space:]]*$$/\1/p' debian/control)
 LIB_EXTRA_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(libavcodec-extra-[0-9]+)[[:space:]]*$$/\1/p' debian/control)
 DEV_PKGS := $(shell echo $(LIB_PKGS) $(LIB_PKGS2) | sed 's/[0-9]\+\>/-dev/g')
@@ -159,7 +159,7 @@ binary-arch: build install
 	dh_installdocs doc/optimization.txt
 	dh_installdocs -A debian/README.Debian
 	dh_installdocs -p libavcodec-dev -plibavdevice-dev \
-		-plibavformat-dev -plibavfilter-dev \
+		-plibavformat-dev -plibavfilter-dev -plibavresample-dev \
 		-plibswscale-dev -plibavutil-dev -plibav-doc \
 		doc/APIchanges
 	dh_installexamples -p libav-tools doc/avserver.conf debian/recordshow.sh

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list