x11-misc/rofi-calc: add 2.4.0

build system is now meson

deps:
libqcalculate is only a runtime-dep
add glib
add cairo (inherited from rofi)
add pkgconfig

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43264
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2025-07-31 14:50:05 +02:00
committed by Sam James
parent eda4f089d9
commit b38496faa4
2 changed files with 29 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST rofi-calc-2.2.1.tar.gz 1696532 BLAKE2B 5595f81b5eebefb68b97b397f4b9571afd548d7e2a3323cd2693a2ced629f0d270afe4351fe01f43c36760b2ba2c6c5509181d262285eb6caa9f768be1b2d2cf SHA512 33c4b5ca2c13d538c902d747c65b376d00b4f6b628d5fc14b4761105537503f24bd51a5cf8f07b6ab4b28bccbf6e84c70ea3125ed7e1664eadb108e4250a42ba
DIST rofi-calc-2.4.0.tar.gz 1698589 BLAKE2B 33c649c614a79d0bdd51ecb9ba0ed599804f4f7b98d7706943b694a38fb153eb2078773f201c08f305e6ddf67b9265ae5f21a0de68d65163e6506a06f197a99f SHA512 02c60915e3b0ff18b54959e3baccf769dda6460cc3e9d955602e606660199a7b058a1b102fdf8b3a010a589f5f0de66dc6f4f49328be03fbee2d3b46482292a7

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Do live calculations in rofi!"
HOMEPAGE="https://github.com/svenstaro/rofi-calc"
SRC_URI="https://github.com/svenstaro/rofi-calc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# meson.build wants >=rofi-1.5.4, in fact it's 1.7.6.
# https://github.com/svenstaro/rofi-calc/issues/141
DEPEND="
>=dev-libs/glib-2.40:2
x11-libs/cairo
>=x11-misc/rofi-1.7.6
"
RDEPEND="${DEPEND}
sci-libs/libqalculate
"
BDEPEND="virtual/pkgconfig"
DOCS=( CHANGELOG.md README.md )