From nobody Fri Nov 04 17:18:37 2022 X-Original-To: dev-commits-ports-main@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 4N3nQj61MHz4hGwj; Fri, 4 Nov 2022 17:18:37 +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 4N3nQj5Wtfz3QBT; Fri, 4 Nov 2022 17:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667582317; 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=BAp/lZs9umpDF0dHtKmh7nm7BSiE4N7v6mEDd8SLKZ4=; b=hLYP0k0mNQH1riclrZAAtfJJoZP1qUmpVcSKg6De28VANDR/DlXRnLvzTNj86krsF6rlUj YunJXlADkkKa2NX3EShO4xHftV9yRWPO9wU4nwk7vEEmZTW3oAcPoZH+DGly8R8Oerexmo 8YotwDq2yvFHtbpCzg74l8mQe5qp3qAJJkLjdeKMuoMaSS+b9lZjn1f7zkHVytWbF8xL2o IJ8L5mOyxzRQOw+oTVxCvYN3ZTRWI4cRzWKaYUJxrh1bVZF2qXtRG/VU2l5IHlub25JQu8 kKW8xpRS16zfmQTbaY7pXqplR6pq3kF4cwQdo7UR5wMz8nT0MdlHHle+QHf1Hg== 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 4N3nQj4V8Zz1PNY; Fri, 4 Nov 2022 17:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A4HIbnY051341; Fri, 4 Nov 2022 17:18:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A4HIbuB051340; Fri, 4 Nov 2022 17:18:37 GMT (envelope-from git) Date: Fri, 4 Nov 2022 17:18:37 GMT Message-Id: <202211041718.2A4HIbuB051340@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: e09d5d65b4d4 - main - audio/rsgain: Update to 3.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e09d5d65b4d407cf10d67dfc1216ab1750d7e193 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667582317; 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=BAp/lZs9umpDF0dHtKmh7nm7BSiE4N7v6mEDd8SLKZ4=; b=QcvyIliDIDiS8Y0dLhAM1DLOQpBuQI2802ofRkC59MAHKFYcoCvRIGFOrALgfIOTIgam+g i/OHOXmnS0TjW0HLpNLvCzjNdqRpLgxCbq/ixoRS8nQ88la1Hw0RD5zMIJUhkR2vQrpJZq Jb9vTf8efSLzCXIyxTkbL+jtLEX/m1TTmUer/93e7bpFMHhKzrhv5R4eAqbwMAsnMOoJGh w77EirFfXEjddeJ5o/ZAtF3BJ+Ep/vRWPOMBgEukqUPLjnZ1SAV3uMy6z0K11cs2Isok5+ ejiXK5uHRZ85XZx3YBQfie0abnP+mtJkVl67gwtl8M/YRBpKWRq7LRCeMkBy6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667582317; a=rsa-sha256; cv=none; b=kaAuy6TwxcbRYxMgYj04Y1CQr4Y+odolpd1O+2nyX1ZQM57diDUXDsBEHt75kwB6inH/jQ 9WAq0l76i0oy3nFfkeaDm9wVU3zGcSdbVE+mTA4vMceK/7y7N4NtwAARteusY7+NpFgml5 dTJxPRYk33+/VZri64s1kU9x1i/tnalQr9tUD8Yb8O6pzTTnB7wlUyR94Ng14AfOmxwIAq 7KxnA3CslBox6pT5zNRGLTR17hgCJEUYOShirc9T2Y6TfHQtnzMXnMbGjIOwiPGUl/gu3k bNJnwFPuNxF6cSoWmBKPyZDyLz50VAiU4tMfxfu2oKXQ3d039GV/s0MOAr+WYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=e09d5d65b4d407cf10d67dfc1216ab1750d7e193 commit e09d5d65b4d407cf10d67dfc1216ab1750d7e193 Author: Jason E. Hale AuthorDate: 2022-11-04 17:13:21 +0000 Commit: Jason E. Hale CommitDate: 2022-11-04 17:18:05 +0000 audio/rsgain: Update to 3.1 Switch to a pre-rolled release. Remove patches and workarounds applied upstream. https://github.com/complexlogic/rsgain/releases/tag/v3.1 --- audio/rsgain/Makefile | 12 +++++------- audio/rsgain/distinfo | 6 +++--- audio/rsgain/files/patch-src_tag.cpp | 25 ------------------------- 3 files changed, 8 insertions(+), 35 deletions(-) diff --git a/audio/rsgain/Makefile b/audio/rsgain/Makefile index cd2e204e77f5..efd9d0ffcd66 100644 --- a/audio/rsgain/Makefile +++ b/audio/rsgain/Makefile @@ -1,7 +1,8 @@ PORTNAME= rsgain -DISTVERSIONPREFIX= v -DISTVERSION= 3.0.1 +DISTVERSION= 3.1 +DISTVERSIONSUFFIX= -source CATEGORIES= audio +MASTER_SITES= https://github.com/complexlogic/rsgain/releases/download/v${DISTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= ReplayGain 2.0 tagging utility @@ -16,12 +17,9 @@ LIB_DEPENDS= libebur128.so:audio/libebur128 \ libinih.so:devel/inih \ libavcodec.so:multimedia/ffmpeg -USES= cmake compiler:c++2b-lang pkgconfig +USES= cmake compiler:c++2b-lang pkgconfig tar:xz -USE_GITHUB= yes -GH_ACCOUNT= complexlogic - -CXXFLAGS+= -pthread +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS diff --git a/audio/rsgain/distinfo b/audio/rsgain/distinfo index 1e05beb41299..814d7084a410 100644 --- a/audio/rsgain/distinfo +++ b/audio/rsgain/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1666113201 -SHA256 (complexlogic-rsgain-v3.0.1_GH0.tar.gz) = 928a0d5aefb0e2d195c44a7571425d39f0e5065050c534032ee746d91596f22d -SIZE (complexlogic-rsgain-v3.0.1_GH0.tar.gz) = 47435 +TIMESTAMP = 1667576811 +SHA256 (rsgain-3.1-source.tar.xz) = c1ab2c2162c1046786254090f939d60da87994efad5715dde68aa5247f33eaa3 +SIZE (rsgain-3.1-source.tar.xz) = 44904 diff --git a/audio/rsgain/files/patch-src_tag.cpp b/audio/rsgain/files/patch-src_tag.cpp deleted file mode 100644 index 4967905acf88..000000000000 --- a/audio/rsgain/files/patch-src_tag.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/wrkdirs/usr/ports/audio/rsgain/work/rsgain-3.0.1/src/tag.cpp:254:5: error: no member named 'round' in namespace 'std' - GAIN_TO_Q78(track.result.album_gain) : GAIN_TO_Q78(track.result.track_gain); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/wrkdirs/usr/ports/audio/rsgain/work/rsgain-3.0.1/src/tag.hpp:35:38: note: expanded from macro 'GAIN_TO_Q78' -#define GAIN_TO_Q78(gain) (int) std::round(gain * 256.f) - ~~~~~^ - ---- src/tag.cpp.orig 2022-10-19 02:49:19 UTC -+++ src/tag.cpp -@@ -28,7 +28,7 @@ - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - --#include -+#include - #include - #include - #include -@@ -506,4 +506,4 @@ void taglib_get_version(std::string &buffer) - void taglib_get_version(std::string &buffer) - { - buffer = fmt::format("{}.{}.{}", TAGLIB_MAJOR_VERSION, TAGLIB_MINOR_VERSION, TAGLIB_PATCH_VERSION); --} -\ No newline at end of file -+}