mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
c1c5a14b06
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>
29 lines
534 B
Makefile
29 lines
534 B
Makefile
# $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>
|