git: fe0dffcab2eb - main - x11/rofi-calc: Update 2.3.1 => 2.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 13:18:57 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe0dffcab2eba23b146ca0efe29a0a688db3b1f9
commit fe0dffcab2eba23b146ca0efe29a0a688db3b1f9
Author: Vidar Karlsen <vidar@karlsen.tech>
AuthorDate: 2025-10-22 13:06:24 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-22 13:18:52 +0000
x11/rofi-calc: Update 2.3.1 => 2.5.0
Changelog:
- Switched from autotools to meson.
- Fix quick switch not working.
- Add ability to configure via config.rasi.
- Now requires at least rofi 1.7.6.
- Fix segfault on exit.
- Add -reuse-result to replace the input with the result of the last
successful calculation.
https://github.com/svenstaro/rofi-calc/blob/v2.5.0/CHANGELOG.md
Improve port:
- Remove unused dependencies.
- Move dependency from devel/glib20 to USES=gnome.
PR: 290401
---
x11/rofi-calc/Makefile | 21 +++++++++------------
x11/rofi-calc/distinfo | 6 +++---
2 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/x11/rofi-calc/Makefile b/x11/rofi-calc/Makefile
index 7e92a4396681..39df3d1e270c 100644
--- a/x11/rofi-calc/Makefile
+++ b/x11/rofi-calc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rofi-calc
DISTVERSIONPREFIX= v
-DISTVERSION= 2.3.1
+DISTVERSION= 2.5.0
CATEGORIES= x11
MAINTAINER= vidar@karlsen.tech
@@ -10,20 +10,17 @@ WWW= https://github.com/svenstaro/rofi-calc
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= rofi:x11/rofi
-LIB_DEPENDS= libcairo.so:graphics/cairo \
- libglib-2.0.so:devel/glib20 \
- libqalculate.so:math/libqalculate
-RUN_DEPENDS= rofi:x11/rofi
+BUILD_DEPENDS= re2c:devel/re2c \
+ rofi:x11/rofi
+RUN_DEPENDS= qalc:math/libqalculate \
+ rofi:x11/rofi
-USES= autoreconf gettext-runtime libtool pkgconfig
+USES= gnome meson pkgconfig
USE_GITHUB= yes
-
GH_ACCOUNT= svenstaro
-GNU_CONFIGURE= yes
-
-INSTALL_TARGET= install-strip
+USE_GNOME= glib20
+USE_LDCONFIG= yes
-PLIST_FILES= lib/rofi/calc.so
+PLIST_FILES= lib/rofi/libcalc.so
.include <bsd.port.mk>
diff --git a/x11/rofi-calc/distinfo b/x11/rofi-calc/distinfo
index 2bca837c6c11..10ad942ff259 100644
--- a/x11/rofi-calc/distinfo
+++ b/x11/rofi-calc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749367006
-SHA256 (svenstaro-rofi-calc-v2.3.1_GH0.tar.gz) = b63c943236a23883a4dcc9004d729002841b63e7d47708562be7d6f1a0efb532
-SIZE (svenstaro-rofi-calc-v2.3.1_GH0.tar.gz) = 1697166
+TIMESTAMP = 1761041634
+SHA256 (svenstaro-rofi-calc-v2.5.0_GH0.tar.gz) = 92cf4a1b2a42067d162cc7e87556644dab5db335cb3a65bc30e97467d7347b75
+SIZE (svenstaro-rofi-calc-v2.5.0_GH0.tar.gz) = 1698979