Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2019 15:19:44 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517265 - head/multimedia/rav1e
Message-ID:  <201911111519.xABFJiTa016509@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov 11 15:19:44 2019
New Revision: 517265
URL: https://svnweb.freebsd.org/changeset/ports/517265

Log:
  multimedia/rav1e: define full version
  
  For example:
  
   $ rav1e --version
  -rav1e 0.1.0 (UNKNOWN)
  +rav1e 0.1.0 (0.1.0-8-gf3452699)

Modified:
  head/multimedia/rav1e/Makefile   (contents, props changed)

Modified: head/multimedia/rav1e/Makefile
==============================================================================
--- head/multimedia/rav1e/Makefile	Mon Nov 11 14:34:58 2019	(r517264)
+++ head/multimedia/rav1e/Makefile	Mon Nov 11 15:19:44 2019	(r517265)
@@ -166,6 +166,10 @@ FFMPEG_LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg
 FFMPEG_VARS=		CARGO_FEATURES+=avformat-sys
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} 's/env!("VERGEN_SEMVER_LIGHTWEIGHT")/"${DISTVERSIONFULL}"/' \
+		${WRKSRC}/src/capi.rs ${WRKSRC}/src/lib.rs
+
 .if !target(post-install)
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911111519.xABFJiTa016509>