From 21b84f6d0e56646ecb6c60f7538d32409ec38753 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 1 Feb 2014 18:26:27 -0800 Subject: debian changelog hack put dummy UNRELEASED entry in changelog before build with dch -v "version" "localbuild". This has the "papercut" of repeating the "local build" bullet in the same entry each time the package is built. --- debian/changelog | 13 +++++++++++-- debian/control | 2 ++ debian/rules | 7 +++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index e7475cc..011ebdf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,20 @@ -mpv (1:0.3.3-1) UNRELEASED; urgency=medium +mpv (0:0.3.4) stable; urgency=medium + + * changelog hack: add an "UNRELEASED" changelog entry by the + current user when the package is built with the currently checked + out mpv version. This has the "papercut" of repeating the + "local build" bullet in the same entry each time the package is built. + + -- Kevin Mitchell Sat, 01 Feb 2014 19:09:11 -0800 + +mpv (0:0.3.3-1) stable; urgency=medium * enable libx264 and libmp3lame in ffmpeg build * make building on multiple cores actually work -- Kevin Mitchell Wed, 29 Jan 2014 18:46:08 -0800 -mpv (1:0.3.3) UNRELEASED; urgency=low +mpv (0:0.3.3) stable; urgency=low * reimagine for waf build system * test building on saucy,precise,stable,sid amd64 diff --git a/debian/control b/debian/control index d961d69..7f7f2e3 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,9 @@ Build-Depends: automake, c-compiler, debhelper (>= 7), + devscripts, gcc-4.8 [powerpc powerpcspe sparc], + git, ladspa-sdk, libasound2-dev [linux-any], libbluray-dev, diff --git a/debian/rules b/debian/rules index 737a744..996041a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,4 @@ #! /usr/bin/make -f - # from official debian package: testing welcome! ifeq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),powerpc sparc)) export CC=gcc-4.8 # fixes #73363 @@ -22,7 +21,7 @@ endif # Apparently, the above isn't enough because of the "%" target. Make the problematic targets explicit clean: exec dh $@ -build: +build: update_version exec dh $@ install: exec dh $@ @@ -32,6 +31,10 @@ install: %: exec dh $@ +MPV_VERSION=$(shell cd mpv && git describe --tags | sed 's/^v//';) +update_version: + dch -v "1:$(MPV_VERSION)" "local build" + # this should really create multiple shared object debian packages but # this will do for now # the dependencies must be built before mpv is configured -- cgit v1.2.3