shithub: opusfile

Download patch

ref: 88a726425a941da7f210043c5d584c27df131ef3
parent: c7589134ce9e7b13153be82c6f84767745b3d6f1
author: Ralph Giles <giles@thaumas.net>
date: Wed Jun 7 03:55:25 EDT 2017

mingw: Query git for dist version.

We build from a git repo, so we can call `git describe` to
generate a version number. When building from a tag, this
should give us a clean release-versioned filename.

--- a/mingw/Makefile
+++ b/mingw/Makefile
@@ -88,7 +88,8 @@
 # CROSS_COMPILE="i686-w64-mingw32-" ./Configure mingw no-asm no-shared --prefix=$PWD/mingw && make depend && make -j8 && make install
 
 # Package the binaries.
-DIST := opusfile-0.8-f25docker-win32
+DIST_VERSION := $(shell git describe --dirty)
+DIST := opusfile-$(DIST_VERSION)-f25docker-win32
 package: $(DIST).zip
 
 $(DIST).zip: $(DIST)