diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-05-30 03:20:04 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-05-30 03:20:04 +0000 |
commit | c1c5a14b0665fb5960faaea0d51510a581f27492 (patch) | |
tree | d865d853d84a6d955357fab6ff5fa2f3b4077803 /x11/rofi-calc | |
parent | emulators/mednafen: Update to 1.22.1 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=503032
Diffstat (limited to 'x11/rofi-calc')
-rw-r--r-- | x11/rofi-calc/Makefile | 28 | ||||
-rw-r--r-- | x11/rofi-calc/distinfo | 3 | ||||
-rw-r--r-- | x11/rofi-calc/pkg-descr | 8 |
3 files changed, 39 insertions, 0 deletions
diff --git a/x11/rofi-calc/Makefile b/x11/rofi-calc/Makefile new file mode 100644 index 000000000000..be939a6bcd00 --- /dev/null +++ b/x11/rofi-calc/Makefile @@ -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> diff --git a/x11/rofi-calc/distinfo b/x11/rofi-calc/distinfo new file mode 100644 index 000000000000..c7ecc80d187c --- /dev/null +++ b/x11/rofi-calc/distinfo @@ -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 diff --git a/x11/rofi-calc/pkg-descr b/x11/rofi-calc/pkg-descr new file mode 100644 index 000000000000..5c817cff83bc --- /dev/null +++ b/x11/rofi-calc/pkg-descr @@ -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 |