summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-5.3.0.ebuild8
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]
+}