~ubuntu-branches/ubuntu/utopic/libav/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Rico Tzschichholz
  • Date: 2014-08-30 11:02:45 UTC
  • mfrom: (1.3.47 sid)
  • Revision ID: package-import@ubuntu.com-20140830110245-io3dg7q85wfr7125
Tags: 6:11~beta1-2
[ Reinhard Tartler ]
* Make libavcodec-dev depend on libavresample-dev

[ Rico Tzschichholz ]
* Some fixes and leftovers from soname bumps

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
DEB_SOURCE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
5
5
DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
6
6
UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/[^:]+://; s/-[^-]+$$//')
7
 
SHLIBS_VERSION := $(EPOCH)10~beta1~
 
7
SHLIBS_VERSION := $(EPOCH)11~beta1
8
8
 
9
9
# The libavcodec-extra package is necessary because it links against
10
10
# libraries that are GPLv3 licensed. Make sure that you do not link
137
137
        dh_prep -a
138
138
        $(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor)))
139
139
        mkdir -p debian/tmp/etc
140
 
        install -m 644 -D doc/avserver.conf debian/tmp/etc/
141
140
        install -m 755 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
142
141
        dh_install $(addprefix -N,$(LIB_EXTRA_PKGS)) \
143
142
                 --fail-missing --sourcedir=debian/tmp
148
147
        $(foreach flavor,$(filter-out static,$(FLAVORS)),$(call install_flavor_extra,$(flavor)))
149
148
        dh_install $(addprefix -p,$(LIB_EXTRA_PKGS)) --fail-missing \
150
149
                --sourcedir=debian/tmp/extra
151
 
        $(call call_and_install_avconv_dump,libavformat55,formats)
152
 
        $(call call_and_install_avconv_dump,libavcodec55,codecs)
153
 
        $(call call_and_install_avconv_dump,libavcodec-extra-55,codecs)
 
150
        $(call call_and_install_avconv_dump,libavformat56,formats)
 
151
        $(call call_and_install_avconv_dump,libavcodec56,codecs)
 
152
        $(call call_and_install_avconv_dump,libavcodec-extra-56,codecs)
154
153
 
155
154
binary-indep:
156
155
        dh_testdir