summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bareos/bareos-22.1.2-r1.ebuild (renamed from app-backup/bareos/bareos-22.1.2.ebuild)7
-rw-r--r--app-backup/bareos/bareos-9999.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/app-backup/bareos/bareos-22.1.2.ebuild b/app-backup/bareos/bareos-22.1.2-r1.ebuild
index e00ae9693bca..3ec758c53539 100644
--- a/app-backup/bareos/bareos-22.1.2.ebuild
+++ b/app-backup/bareos/bareos-22.1.2-r1.ebuild
@@ -5,7 +5,6 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
CMAKE_WARN_UNUSED_CLI=no
-#CMAKE_REMOVE_MODULES=yes
inherit python-any-r1 systemd cmake tmpfiles
@@ -72,6 +71,9 @@ DEPEND="
sys-libs/ncurses:=
sys-libs/zlib
)
+ X? (
+ dev-qt/qtwidgets:5=
+ )
"
RDEPEND="${DEPEND}
!clientonly? (
@@ -175,6 +177,9 @@ src_configure() {
systemd lmdb; do
mycmakeargs+=( -D$useflag=$(usex $useflag) )
done
+ if use X; then
+ mycmakeargs+=( -Dtraymonitor=yes )
+ fi
mycmakeargs+=(
-DHAVE_PYTHON=0
diff --git a/app-backup/bareos/bareos-9999.ebuild b/app-backup/bareos/bareos-9999.ebuild
index e00ae9693bca..3ec758c53539 100644
--- a/app-backup/bareos/bareos-9999.ebuild
+++ b/app-backup/bareos/bareos-9999.ebuild
@@ -5,7 +5,6 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
CMAKE_WARN_UNUSED_CLI=no
-#CMAKE_REMOVE_MODULES=yes
inherit python-any-r1 systemd cmake tmpfiles
@@ -72,6 +71,9 @@ DEPEND="
sys-libs/ncurses:=
sys-libs/zlib
)
+ X? (
+ dev-qt/qtwidgets:5=
+ )
"
RDEPEND="${DEPEND}
!clientonly? (
@@ -175,6 +177,9 @@ src_configure() {
systemd lmdb; do
mycmakeargs+=( -D$useflag=$(usex $useflag) )
done
+ if use X; then
+ mycmakeargs+=( -Dtraymonitor=yes )
+ fi
mycmakeargs+=(
-DHAVE_PYTHON=0