view debian/daily-build.sh @ 33556:520fb0f7544c

Rename GUI directory 'mplayer' and some files in it. The directory 'mplayer' contains the files for the user interface and has thus been renamed 'ui'. Inside this directory the following files have been renamed to better reflect their contents: mw.c -> main.c sw.c -> sub.c pb.c -> playbar.c gui_common.* -> render.* play.* -> actions.*
author ib
date Sat, 18 Jun 2011 16:03:31 +0000
parents 1522fac67d56
children
line wrap: on
line source

#!/bin/sh

# wrapper around dpkg-buildpackage to generate correct changelog
# use "debian/daily-build.sh -b" to create binary packages
# and "debian/daily-build.sh -S" to create a source package only
#
# use this invocation to load system libdvdcss at runtime
# env DEB_EXTRA_CONFIGURE_FLAGS=--disable-libdvdcss-internal debian/daily-build.sh -Ilibdvdcss

LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2
version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)

# ensure correct directory
test -r debian/control || exit 1

rm debian/changelog
echo $version > snapshot_version
dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build"

dpkg-buildpackage -us -uc -i -I.svn "$@"
rm -f snapshot_version