From nobody Sat Jul 22 19:24:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R7bvn5MS0z4nX8D; Sat, 22 Jul 2023 19:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R7bvn4C7bz41tS; Sat, 22 Jul 2023 19:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690053861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u08FxezwJEH2Vb8/yLARu5S0qRR+p6dH6rkDK0yLoBE=; b=JCHpl5TlGuE9T7FvbeLzSC5WSNg82MjC25+kIY4n+Io2O0a1QGnxaopiWQWERfdu+UjRIa 8tNiGX0hBArUBylMdVUZHAGXUvS+JFbVHDWPbR7Mr0Z1jH4oZOXVS9ei+c5UMNR49Hl0I7 TLJ/crXG2iFAm91gP8uVedgu42MCfza3At5Wa79E6KNG0/oSMIkFE7BT3irGo2WrvHMbyb j59HfvW+SsRjUyweIvZwLb9BxGp0hQbfYBW1yr+nNq7Bs6MHOfKzHRT0USO0Cn6ie7ahfd QG7drG21j9N5MEMsWhA5AiSf2964BnX2i7g8v1ZeNcsvYjwHYT+bAtzz8M56yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690053861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u08FxezwJEH2Vb8/yLARu5S0qRR+p6dH6rkDK0yLoBE=; b=EupaGC/pQ2fvekynkmwmUTZ1D8JzAkggm3vtAzIDORlMG+xipkIQnszjP7H+pyPirQYI+4 ASIT1rovsovHbR+rbNf1uYTMefi0PL/JtAV5lQLfPXCsC1MhC+1nHohqKvb6hOIHVUGYeH 6NumaCPT8vEhWF7h190zN9zQ2WEUhzcCi3OBGw4fds/xUvxcsY3fBBBI/1WChbzEq9An+f Pc/AxvCKesi3Xj0clLn6z7pH3YCk3G/Y0dWF9B4Z+mE+7S42l0dQpMb57NX4vpOn5Gd5Qr rSQ5JKV5RVdV2tr59nr7bF30ghA5jkTvbT26vvRKVjJvEUuiALfEsW7K2NrE6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690053861; a=rsa-sha256; cv=none; b=VXOIdbVsLEUuc9tcwCujHWrRX48c2WhSBrmPCspNEbjqKvfWxdaxflTvatFM20IFWGqfR3 DJlCj6TzkL2EsJPgZyepo0rd/Ffhjvr3JEPAhTXTPUqhNFSPGMzrr1voc2hnRK4+o1xREV dgdQEuQCd8kKn1zEAVkKkDpfr+jb41xvZSUw0KG205ihSNfFaQ+VxAPRNllYh2BOU4gLY8 chVIIo3918r0odSjo3Fy+Gh5wFjixsDzbLJbBHD8jRXsxtzC+nzriojEXOKunL1rK7zmC7 oAvVaibVOLuGFoirJkLf1eELPkn+3dvJddQgKqmov3VPtuGIzLQC1bplfGarSw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R7bvn2sGFz165M; Sat, 22 Jul 2023 19:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36MJOLJY075544; Sat, 22 Jul 2023 19:24:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36MJOLUj075543; Sat, 22 Jul 2023 19:24:21 GMT (envelope-from git) Date: Sat, 22 Jul 2023 19:24:21 GMT Message-Id: <202307221924.36MJOLUj075543@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 0252c46bb8d9 - 2023Q3 - multimedia/wl-screenrec: make --version report Git hash List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q3 X-Git-Reftype: branch X-Git-Commit: 0252c46bb8d9a40cd8b9205b3ae9e6b83659e9c6 Auto-Submitted: auto-generated The branch 2023Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0252c46bb8d9a40cd8b9205b3ae9e6b83659e9c6 commit 0252c46bb8d9a40cd8b9205b3ae9e6b83659e9c6 Author: Jan Beich AuthorDate: 2023-07-22 19:07:57 +0000 Commit: Jan Beich CommitDate: 2023-07-22 19:24:13 +0000 multimedia/wl-screenrec: make --version report Git hash Based on `git describe --tags`. As upstream doesn't have any tags yet use snapshot date as an offset with a synthetic tag to unbreak build. $ wl-screenrec --version -wl-screenrec 0.1.0 +wl-screenrec 0.1.0-s20230716-g20c6da9 (cherry picked from commit aa953ce86cbf06c8cbd3577ff633c57674e1f6f4) --- multimedia/wl-screenrec/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/multimedia/wl-screenrec/Makefile b/multimedia/wl-screenrec/Makefile index 69bf48b019a4..5665be271aa1 100644 --- a/multimedia/wl-screenrec/Makefile +++ b/multimedia/wl-screenrec/Makefile @@ -1,5 +1,6 @@ PORTNAME= wl-screenrec PORTVERSION= s20230716 +PORTREVISION= 1 CATEGORIES= multimedia wayland MAINTAINER= jbeich@FreeBSD.org @@ -17,6 +18,9 @@ GH_TAGNAME= 20c6da9 PLIST_FILES= bin/${PORTNAME} post-patch: +# Extract (snapshot) version from the port instead of Cargo.toml + @${REINPLACE_CMD} -i .nogit -e '/^version/s/0\.1\.0/&-${DISTVERSION}-g${GH_TAGNAME}/' \ + ${WRKSRC}/Cargo.toml @${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \ ${WRKSRC_crate_clang-sys}/build/common.rs \ ${WRKSRC_crate_clang-sys}/src/support.rs