~ubuntu-branches/ubuntu/raring/libav/raring-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Andres Mejia, Reinhard Tartler, Fabian Greffrath
  • Date: 2012-06-10 11:59:00 UTC
  • Revision ID: package-import@ubuntu.com-20120610115900-f6zambwggonsts92
Tags: 4:0.8.1-0ubuntu3
[ Andres Mejia ]
* Install manpage for qt-faststart in the correct package.

[ Reinhard Tartler ]
* bump standards version, no changes needed

[ Andres Mejia ]
* Remove dependencies and suggests of FAAD, no longer needed.
* Enable frei0r support.

[ Reinhard Tartler ]
* drop build-dep on frei0r-plugins-dev

[ Andres Mejia ]
* Enable tls support through gnutls.
* Enable libcdio support.
* Enable opencv support.

[ Reinhard Tartler ]
* drop build-dep on libcv-dev and libopencv-dev

[ Andres Mejia ]
* Enable pulse support.
* Include conditional enablers for vo-aacenc and vo-amrwbenc.
* Update comment about GPLv3 features.
* Make clear that is FAAC that's considered non-free, not AAC.
* Enable jack support for all architectures.

[ Fabian Greffrath ]
* Enable hardened build flags through dpkg-buildflags (Closes: #658929).
* Filter out system-wide setting of -Bsymbolic-functions to avoid FTBFS.
* Set CPPFLAGS separately.

[ Andres Mejia ]
* Don't override -g or -O3 flags set by libav's build system.

[ Reinhard Tartler ]
* confflags: use --enable-pic instead of manually messing with cflags

[ Andres Mejia ]
* Separate the ffmpeg program into the transitional package.
* Add NEWS entry for ffmpeg deprecation.

[ Reinhard Tartler ]
* add conflicts/replaces for ffmpeg transitional package

[ Andres Mejia ]
* Properly migrate /etc/ffserver.conf to /etc/avserver.conf. (Closes: #660786)
* Don't ignore errors in maintainer scripts.
* Fix build for hurd. Thanks to Samuel Thibault for patch.

[ Reinhard Tartler ]
* Cherry pick the mentioned changes above to the ubuntu branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
$(info FLAVORS = $(FLAVORS))
28
28
$(info DEB_BUILD_OPTIONS = $(DEB_BUILD_OPTIONS))
29
29
$(info CFLAGS = $(CFLAGS))
 
30
$(info CPPFLAGS = $(CPPFLAGS))
30
31
$(info LDFLAGS = $(LDFLAGS))
31
32
 
32
33
define dh_install_file_opt_flavor
44
45
configure-stamp-%:
45
46
        dh_testdir
46
47
        mkdir -p debian-$*
47
 
        cd debian-$* && CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(CURDIR)/configure \
 
48
        cd debian-$* && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(CURDIR)/configure \
48
49
                $($*_build_confflags) $(extra_$*_build_confflags)
49
50
        touch $@
50
51
 
103
104
        install -m 644 -D doc/avserver.conf debian/tmp/etc/
104
105
        install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
105
106
        dh_install -Xusr/share/doc/libav-doc -Xusr/share/doc/libav \
 
107
                -Xusr/share/man/man1/ffmpeg.1 -Nffmpeg \
106
108
                --fail-missing --sourcedir=debian/tmp
 
109
        dh_install -pffmpeg --sourcedir=debian/tmp
107
110
 
108
111
formats.txt: install
109
112
        env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)" \
118
121
binary-arch: build install codecs.txt formats.txt
119
122
        dh_testdir
120
123
        dh_testroot
121
 
        dh_installman -plibav debian/qt-faststart.1
 
124
        dh_installman -plibav-tools debian/qt-faststart.1
122
125
        dh_installdocs doc/optimization.txt
123
126
        dh_installdocs -A debian/README.Debian
124
127
        dh_installdocs -p libavcodec53 codecs.txt
134
137
        dh_link
135
138
        dh_compress
136
139
        dh_fixperms
137
 
        dh_strip --dbg-package=libav-dbg
 
140
        dh_strip -Nffmpeg --dbg-package=libav-dbg
 
141
        dh_strip -pffmpeg --dbg-package=ffmpeg-dbg
138
142
 
139
143
# strict internal dependencies
140
144
        for pkg in $(LIB_PKGS); do \