Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 03:20:04 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503032 - in head/x11: . rofi-calc
Message-ID:  <201905300320.x4U3K4PS046740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu May 30 03:20:04 2019
New Revision: 503032
URL: https://svnweb.freebsd.org/changeset/ports/503032

Log:
  x11/rofi-calc: create port
  
  rofi plugin that uses libqalculate's qalc to parse natural language
  input and provide results.
  
  Since this uses libqalculate's amazing qalc you can try natural language
  queries such 500 + 25% or 5000 EUR to USD or 150 to hex. It can also
  solve linear equations on the fly. Try 60x + 30 = 50, for instance.
  
  WWW: https://github.com/svenstaro/rofi-calc
  
  PR:		238028
  Submitted by:	Alexander Sieg <alex@xanderio.de>

Added:
  head/x11/rofi-calc/
  head/x11/rofi-calc/Makefile   (contents, props changed)
  head/x11/rofi-calc/distinfo   (contents, props changed)
  head/x11/rofi-calc/pkg-descr   (contents, props changed)
Modified:
  head/x11/Makefile   (contents, props changed)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Thu May 30 03:06:55 2019	(r503031)
+++ head/x11/Makefile	Thu May 30 03:20:04 2019	(r503032)
@@ -276,6 +276,7 @@
     SUBDIR += rendercheck
     SUBDIR += rgb
     SUBDIR += rofi
+    SUBDIR += rofi-calc
     SUBDIR += rofi-pass
     SUBDIR += rox-wallpaper
     SUBDIR += roxbg

Added: head/x11/rofi-calc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/rofi-calc/Makefile	Thu May 30 03:20:04 2019	(r503032)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	rofi-calc
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.5
+CATEGORIES=	x11
+
+MAINTAINER=	alex@xanderio.de
+COMMENT=	Do live calculations in rofi
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rofi:x11/rofi
+BUILD_DEPENDS=	rofi:x11/rofi
+LIB_DEPENDS=	libcairo.so:graphics/cairo \
+		libglib-2.0.so:devel/glib20 \
+		libqalculate.so:math/libqalculate
+
+USES=		autoreconf gettext-runtime libtool pkgconfig
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	svenstaro
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	lib/rofi/calc.so
+
+.include <bsd.port.mk>

Added: head/x11/rofi-calc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/rofi-calc/distinfo	Thu May 30 03:20:04 2019	(r503032)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558288032
+SHA256 (svenstaro-rofi-calc-v1.5_GH0.tar.gz) = ae49a4e52213384000165e3aff75d818921c77e24aa58e47182a8ed42fe2573e
+SIZE (svenstaro-rofi-calc-v1.5_GH0.tar.gz) = 1693385

Added: head/x11/rofi-calc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/rofi-calc/pkg-descr	Thu May 30 03:20:04 2019	(r503032)
@@ -0,0 +1,8 @@
+rofi plugin that uses libqalculate's qalc to parse natural language input and
+provide results.
+
+Since this uses libqalculate's amazing qalc you can try natural language
+queries such 500 + 25% or 5000 EUR to USD or 150 to hex. It can also solve
+linear equations on the fly. Try 60x + 30 = 50, for instance.
+
+WWW: https://github.com/svenstaro/rofi-calc



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