annotate debian/daily-build.sh @ 33672:e576232a39d5

Prevent balance from hopping. Only recalculate the balance if the balance has changed, not if just the volume has changed. Because (at least with my soundcard) not all volume values can be stored, but seem to be mapped onto a discrete value set, recalculation the balance from the volume isn't accurate enough.
author ib
date Tue, 28 Jun 2011 18:16:06 +0000
parents 1522fac67d56
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
32403
76854194b09e add hint for building an mplayer package that uses libdvdcss at runtime instead of the internal copy
siretart
parents: 31862
diff changeset
6 #
76854194b09e add hint for building an mplayer package that uses libdvdcss at runtime instead of the internal copy
siretart
parents: 31862
diff changeset
7 # use this invocation to load system libdvdcss at runtime
76854194b09e add hint for building an mplayer package that uses libdvdcss at runtime instead of the internal copy
siretart
parents: 31862
diff changeset
8 # env DEB_EXTRA_CONFIGURE_FLAGS=--disable-libdvdcss-internal debian/daily-build.sh -Ilibdvdcss
31833
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 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
11 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
12
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
13 # ensure correct directory
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
14 test -r debian/control || exit 1
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
15
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
16 rm debian/changelog
32432
1522fac67d56 make the packaged binaries identify themselves properly
siretart
parents: 32403
diff changeset
17 echo $version > snapshot_version
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
18 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
19
31862
4551864b8e69 ignore common files during building the tarball and .diff.gz in debian packaging
siretart
parents: 31833
diff changeset
20 dpkg-buildpackage -us -uc -i -I.svn "$@"
32432
1522fac67d56 make the packaged binaries identify themselves properly
siretart
parents: 32403
diff changeset
21 rm -f snapshot_version