git: 8edd92b4039d - main - cad/librnd: update to 3.2.2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 22 Nov 2022 06:36:53 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8edd92b4039d5eee88c3d3e0084e646c313d2705

commit 8edd92b4039d5eee88c3d3e0084e646c313d2705
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-11-21 06:43:21 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-11-22 06:32:49 +0000

    cad/librnd: update to 3.2.2
    
    ChangeLog: http://www.repo.hu/projects/librnd/releases/changelog-3.2.2.txt
    
    * Add: comment on BSD make in INSTALL
    * Fix: use compatibility color component conversion for determining crosshair
      color because component type and scaling differs between gtk2 and gtk4
    * Add: compatibility macro for converting color component to 0..1
    * Change: enable gtk4 plugin by default (but still prefer gtk2 if both gtk4 and
      gtk2 are available)
    * Add: compatibility macro for converting color component to 0..1
    * Add: extdep on libgd
    * Fix: missing gtk4_gl from the help text
    * Fix: sensible default size for the export dialog
    * Fix: when real xor is not available (e.g. on VAO), use 1-clr for all r;g;b so
      that the base color is "inverted" like when xor is available
    * Fix: detect inline before making decisions based on it
    
    PR:             267863
    Reported by:    fuz@fuz.su (maintainer)
    MFH:            2022Q4 (bugfix release)
---
 cad/librnd/Makefile  | 3 ++-
 cad/librnd/distinfo  | 6 +++---
 cad/librnd/pkg-plist | 6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile
index 27bb31e023ca..e8fc9484bde1 100644
--- a/cad/librnd/Makefile
+++ b/cad/librnd/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	librnd
-DISTVERSION=	3.2.1
+DISTVERSION=	3.2.2
 CATEGORIES=	cad
 MASTER_SITES=	http://repo.hu/projects/${PORTNAME}/releases/
 
@@ -25,6 +25,7 @@ CONFIGURE_ARGS=	--all=plugin --plugin-hid_remote \
 
 TEST_TARGET=	test
 BINARY_ALIAS=	make=${MAKE_CMD}
+PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
 OPTIONS_DEFINE=	DOCS GD MOTIF GTK2 GTK2GL GTK4 STROKE WGET
 OPTIONS_DEFAULT=	GD GTK2 GTK2GL STROKE WGET
diff --git a/cad/librnd/distinfo b/cad/librnd/distinfo
index 9ed7663e0586..ea9e1527fcbe 100644
--- a/cad/librnd/distinfo
+++ b/cad/librnd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664440836
-SHA256 (librnd-3.2.1.tar.bz2) = 38ff820b04bf6c3f17b603d8f0581eefc7162826a0661b0a3a7062c9b8014c65
-SIZE (librnd-3.2.1.tar.bz2) = 1327131
+TIMESTAMP = 1668593742
+SHA256 (librnd-3.2.2.tar.bz2) = c7723c9bfb23ebc07329a5a9a95a4854682ba23c31a7811bc631b98414fb892c
+SIZE (librnd-3.2.2.tar.bz2) = 1340095
diff --git a/cad/librnd/pkg-plist b/cad/librnd/pkg-plist
index 8ffcb0052400..1015d96d1b40 100644
--- a/cad/librnd/pkg-plist
+++ b/cad/librnd/pkg-plist
@@ -151,15 +151,15 @@ include/librnd/src_3rd/ureglex/exec.h
 lib/librnd-3rd.a
 lib/librnd-3rd.so
 lib/librnd-3rd.so.3
-lib/librnd-3rd.so.3.2.1
+lib/librnd-3rd.so.%%DISTVERSION%%
 lib/librnd-hid.a
 lib/librnd-hid.so
 lib/librnd-hid.so.3
-lib/librnd-hid.so.3.2.1
+lib/librnd-hid.so.%%DISTVERSION%%
 lib/librnd-poly.a
 lib/librnd-poly.so
 lib/librnd-poly.so.3
-lib/librnd-poly.so.3.2.1
+lib/librnd-poly.so.%%DISTVERSION%%
 lib/librnd3/plugins/diag_rnd.pup
 lib/librnd3/plugins/diag_rnd.so
 lib/librnd3/plugins/hid_batch.pup