diff options
author | Christopher Fore <csfore@posteo.net> | 2024-10-16 08:52:07 -0400 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-10-17 09:44:19 +0200 |
commit | 0ff7c193d080f1bb6c633e2fbc6ee417e4ade2c4 (patch) | |
tree | db00fea7a04da1dabf45faba8f6143f9a8eed3b9 /sci-calculators | |
parent | www-servers/nginx: fix directory path to pid file (diff) | |
download | gentoo-0ff7c193d080f1bb6c633e2fbc6ee417e4ade2c4.tar.gz gentoo-0ff7c193d080f1bb6c633e2fbc6ee417e4ade2c4.tar.bz2 gentoo-0ff7c193d080f1bb6c633e2fbc6ee417e4ade2c4.zip |
sci-calculators/qalculate-gtk: Add optfeature for sci-libs/libqalculate[gnuplot]
Closes: https://bugs.gentoo.org/939748
Signed-off-by: Christopher Fore <csfore@posteo.net>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r-- | sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild index ac030f7c5630..7eee1ce3eb9a 100644 --- a/sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild +++ b/sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 # Note: bump with sci-libs/libqalculate and sci-calculators/qalculate-qt! -inherit xdg +inherit optfeature xdg DESCRIPTION="Modern multi-purpose calculator" HOMEPAGE="https://qalculate.github.io/" @@ -37,3 +37,9 @@ src_prepare() { default } + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "gnuplot support" sci-libs/libqalculate[gnuplot] +} |