~ubuntu-branches/ubuntu/raring/libav-extra/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-03-30 08:45:25 UTC
  • Revision ID: package-import@ubuntu.com-20130330084525-1a3khhe4d4eo3cnv
Tags: 6:0.8.6ubuntu1
* Rebuild against new libav
  - debian/control: bump Build-Depends
  - minimize diff with 'main' libav package
* Enable frei0r plugin
* Allows co-installation with libavcodec-dev, LP: #1138015
* Remove all debug packages. In ubuntu, we provide debug symbols via the
 .ddeb infrastructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
endif
58
58
 
59
59
configure-%: configure-stamp-%
 
60
 
60
61
configure-stamp-%: $(CONFIGURE)
61
62
        dh_testdir
62
63
        mkdir -p debian-$*
146
147
        $(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor)))
147
148
        # don't fail on binary-indep only builds.
148
149
        [ ! -d doxy ] || cp -af doxy/html debian/tmp/usr/share/doc/libav-doc
 
150
        install -m 644 -D doc/avserver.conf debian/tmp/etc/
149
151
        install -m 644 -D debian-shared/doc/*.html debian/tmp/usr/share/doc/libav/html/
150
152
        install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
151
 
        install -m 644 -D doc/avserver.conf debian/tmp/etc/
152
153
        dh_install $(addprefix -N,$(LIB_EXTRA_PKGS)) -Nffmpeg -Xffmpeg \
153
154
                -Xffmpeg.1 -Xusr/share/doc/libav-doc \
154
155
                -Xusr/share/doc/libav --fail-missing --sourcedir=debian/tmp
189
190
                -plibavformat-dev -plibavfilter-dev -plibpostproc-dev \
190
191
                -plibswscale-dev -plibavutil-dev -plibav-doc \
191
192
                doc/APIchanges
192
 
        dh_installexamples -p libav-tools doc/avserver.conf debian/recordshow.sh
 
193
        dh_installexamples -p libav-tools doc/avserver.conf
193
194
        dh_installexamples -p libavcodec-dev libavcodec/api-example.c
194
 
        dh_strip --dbg-package=libav-dbg
195
195
        dh_installchangelogs Changelog
196
196
else
197
 
        dh_strip --dbg-package=libav-extra-dbg
198
197
        dh_installchangelogs libav/Changelog
199
198
endif
200
199
        dh_lintian
203
202
        dh_fixperms
204
203
 
205
204
        for pkg in $(LIB_PKGS) $(LIB_EXTRA_PKGS); do \
206
 
            dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(DEB_VERSION))"; \
 
205
            dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(SHLIBS_VERSION))"; \
207
206
        done
208
207
        for pkg in $(LIB_PKGS2); do \
209
208
            upkg=$$(echo "$$pkg" | sed -r 's/([0-9]+)$$/-extra-\1/'); \
213
212
        dh_installdeb
214
213
        dh_gencontrol
215
214
        dh_md5sums
216
 
        dh_builddeb
 
215
        dh_builddeb -- -Zxz
217
216
 
218
217
binary: binary-indep binary-arch
219
218