[SCM] FFmpeg packaging branch, master, updated. debian/0.5+svn20090706-1-2-g03bdeab
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Tue Aug 25 14:47:11 UTC 2009
The following commit has been merged in the master branch:
commit c38aa4007970706343a03036a802bc8218408eda
Author: Reinhard Tartler <siretart at tauware.de>
Date: Tue Aug 25 12:39:06 2009 +0200
simply rules file by removing the case of renaming the source package
this cases make too much confusion and now that the source package is
renamed back to 'ffmpeg', all of them need to be reconsidered again
anyway.
diff --git a/debian/rules b/debian/rules
index f79e589..149e86d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,11 +15,6 @@ endif
LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avcodec|avdevice|avformat|avfilter|postproc|swscale)(-unstripped-)?[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
-
# Support multiple makes at once
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
@@ -100,23 +95,14 @@ install: build
[ ! -d doxy ] || cp doxy/html/* debian/tmp/usr/share/doc/ffmpeg-doc/html
install -m 644 -D doc/ffserver.conf debian/tmp/etc/
install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
-ifneq ($(DEB_SOURCE),ffmpeg-debian)
- dh_install -Xusr/share/doc/ffmpeg-doc -Xusr/share/doc/ffmpeg \
- --list-missing --sourcedir=debian/tmp
-else
dh_install -Xusr/share/doc/ffmpeg-doc -Xusr/share/doc/ffmpeg \
--fail-missing --sourcedir=debian/tmp
-endif
formats.txt: install
env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib" \
debian/tmp/usr/bin/ffmpeg -formats | tee $@
-ifneq ($(DEB_SOURCE),ffmpeg-debian)
-binary-indep: install
-else
binary-indep: build-doxy install
-endif
binary-arch: build install formats.txt
dh_testdir
@@ -126,11 +112,7 @@ binary-arch: build install formats.txt
dh_installdocs -A MAINTAINERS CREDITS doc/TODO
dh_installdocs -A debian/README.Debian
dh_installdocs RELEASE
-ifeq ($(DEB_SOURCE),ffmpeg)
- dh_installdocs -p libavcodec-unstripped-52 formats.txt
-else
dh_installdocs -p libavcodec52 formats.txt
-endif
dh_installexamples -pffmpeg doc/ffserver.conf debian/recordshow.sh
dh_installexamples -plibavcodec-dev libavcodec/apiexample.c
dh_installchangelogs Changelog
@@ -138,35 +120,20 @@ endif
dh_link
dh_compress
dh_fixperms
-ifneq ($(DEB_SOURCE),ffmpeg-debian)
- dh_strip
-else
dh_strip --dbg-package=ffmpeg-dbg
-endif
+
# strict internal dependencies
-ifeq ($(DEB_SOURCE),ffmpeg-debian)
for pkg in $(LIB_PKGS); do \
upkg=$$(echo "$$pkg" | sed -r 's/([0-9]+)$$/-unstripped-\1/'); \
dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(EPOCH)$(UPSTREAM_VERSION)) | $$upkg (>= $(EPOCH)$(UPSTREAM_VERSION)), $$pkg (< $(EPOCH)$(UPSTREAM_VERSION)-99) | $$upkg (< $(EPOCH)$(UPSTREAM_VERSION)-99)"; \
done
-else
- for pkg in $(LIB_PKGS); do \
- dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(EPOCH)$(UPSTREAM_VERSION)), $$pkg (< $(EPOCH)$(UPSTREAM_VERSION)-99)"; \
- done
-endif
env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib" \
dh_shlibdeps
# target dependencies for external packages
-ifeq ($(DEB_SOURCE),ffmpeg-debian)
for pkg in $(LIB_PKGS); do \
upkg=$$(echo "$$pkg" | sed -r 's/([0-9]+)$$/-unstripped-\1/'); \
dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(SHLIBS_VERSION)) | $$upkg (>= $(SHLIBS_VERSION))"; \
done
-else
- for pkg in $(LIB_PKGS); do \
- dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(SHLIBS_VERSION))"; \
- done
-endif
dh_installdeb
dh_gencontrol -- -Vlib1394-dev="$(lib1394-dev)"
dh_md5sums
--
FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list