Mercurial > mplayer.hg
annotate debian/daily-build.sh @ 31938:93c67b51b171
Print a warning, but allow to encode to a non-supported frame rate with
libxvid.
Patch by Carl Eric Codere, cecodere yahoo ca
author | cehoyos |
---|---|
date | Thu, 26 Aug 2010 18:44:14 +0000 |
parents | 4551864b8e69 |
children | 76854194b09e |
rev | line source |
---|---|
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
1 #!/bin/sh |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
2 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
3 # wrapper around dpkg-buildpackage to generate correct changelog |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
4 # use "debian/daily-build.sh -b" to create binary packages |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
5 # and "debian/daily-build.sh -S" to create a source package only |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
6 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
7 LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
8 version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
9 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
10 # ensure correct directory |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
11 test -r debian/control || exit 1 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
12 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
13 rm debian/changelog |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
14 dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build" |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
15 |
31862
4551864b8e69
ignore common files during building the tarball and .diff.gz in debian packaging
siretart
parents:
31833
diff
changeset
|
16 dpkg-buildpackage -us -uc -i -I.svn "$@" |