summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2023-12-05 22:49:16 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2023-12-05 22:49:52 +0100
commite0fefc18cda5a16991bb80fbc62f6a84502fc778 (patch)
tree8841a8ee78b16daa8f213ebd9ca1f31e7e05cf43 /app-backup
parentmedia-video/mplayer: Stabilize 1.5_p20230618 ppc, #914719 (diff)
downloadgentoo-e0fefc18cda5a16991bb80fbc62f6a84502fc778.tar.gz
gentoo-e0fefc18cda5a16991bb80fbc62f6a84502fc778.tar.bz2
gentoo-e0fefc18cda5a16991bb80fbc62f6a84502fc778.zip
app-backup/bareos: add tray-monitor support
Closes: https://bugs.gentoo.org/906016 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
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