diff --git a/dists/debian/changelog b/dists/debian/changelog deleted file mode 100644 index 05599f47368..00000000000 --- a/dists/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -residualvm (0.3.0~git-1) unstable; urgency=low - - * Daily snapshot build. - - -- Pawel Kolodziejski diff --git a/dists/debian/control b/dists/debian/control index cd28566ccda..9efb290f4cc 100644 --- a/dists/debian/control +++ b/dists/debian/control @@ -4,13 +4,15 @@ Priority: optional Maintainer: Pawel Kolodziejski Build-Depends: debhelper (>= 9) ,libasound2-dev [linux-any] - ,libgl1-mesa-dev - ,libsdl1.2-dev + ,libsdl2-dev ,libmad0-dev ,libz-dev ,libmpeg2-4-dev - ,libjpeg-dev - ,python + ,libjpeg62-turbo-dev + ,libogg-dev + ,libvorbis-dev + ,libglew-dev + ,libfreetype6-dev Standards-Version: 3.9.5 Homepage: http://www.residualvm.org diff --git a/dists/debian/prepare b/dists/debian/prepare index f39dce763cd..56fcc5f4a9b 100755 --- a/dists/debian/prepare +++ b/dists/debian/prepare @@ -1,21 +1,14 @@ #! /bin/sh -# This simple script is called from the upstream makefile whenever someone -# calls "make deb". It adds a changelog entry to the top of debian/changelog -# so that the version number is correct. +rm -rf debian +cp -R dists/debian debian -VERSION=`cat base/internal_version.h | grep SCUMMVM_VERSION | cut -d\" -f2`-`date +%Y%m%d` -USERNAME=`whoami` -GECOS=`getent passwd $USERNAME | awk '-F[,:]' '{print $5}'` -DOMAIN=`hostname --fqdn` +VERSION=`cat base/internal_version.h | grep SCUMMVM_VERSION | cut -d\" -f2` DATE=`date -R` -cat << __eof > debian/changelog -residualvm ($VERSION) experimental; urgency=low +echo "residualvm ($VERSION) stable; urgency=low - * GIT snapshot. - - Build-date: $DATE + * Build-date: $DATE Please don't file bugs you find in this package in the Debian Bug Tracking system, use the ResidualVM team's own bug tracker instead. You can find this @@ -23,4 +16,4 @@ residualvm ($VERSION) experimental; urgency=low -- Pawel Kolodziejski $DATE -__eof +" > debian/changelog diff --git a/dists/debian/rules b/dists/debian/rules index 5c5389b047a..5feafe53704 100755 --- a/dists/debian/rules +++ b/dists/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --parallel --max-parallel=4 + dh $@ --parallel --max-parallel=`nproc` ifeq ($(DEB_BUILD_ARCH_OS),hurd) ARCH_OPTS:= --disable-alsa