summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-06-09 14:42:46 +0200
committerJeroen Roovers <jer@gentoo.org>2019-06-09 14:45:35 +0200
commit1f5ee5a47d3f353114726ad0d089a87e4ad44792 (patch)
tree89630ceb4ecc9ea1da6f4ef3d617cef51ee865f8 /x11-misc/qtfm
parentx11-misc/qtfm: Drop multilib.eclass (diff)
downloadgentoo-1f5ee5a47d3f353114726ad0d089a87e4ad44792.tar.gz
gentoo-1f5ee5a47d3f353114726ad0d089a87e4ad44792.tar.bz2
gentoo-1f5ee5a47d3f353114726ad0d089a87e4ad44792.zip
x11-misc/qtfm: Add USE=dbus
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/qtfm')
-rw-r--r--x11-misc/qtfm/metadata.xml1
-rw-r--r--x11-misc/qtfm/qtfm-6.2.0.ebuild5
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-misc/qtfm/metadata.xml b/x11-misc/qtfm/metadata.xml
index 9c25f5fe1917..004b55d08e68 100644
--- a/x11-misc/qtfm/metadata.xml
+++ b/x11-misc/qtfm/metadata.xml
@@ -10,6 +10,7 @@
<name>Gentoo Desktop Miscellaneous Project</name>
</maintainer>
<use>
+<flag name='dbus'>Install the qtfm-tray removable device manager</flag>
<flag name='shared'>Install the libQtFM shared library and headers</flag>
</use>
</pkgmetadata>
diff --git a/x11-misc/qtfm/qtfm-6.2.0.ebuild b/x11-misc/qtfm/qtfm-6.2.0.ebuild
index 1fd462b11fa4..e330a1bea393 100644
--- a/x11-misc/qtfm/qtfm-6.2.0.ebuild
+++ b/x11-misc/qtfm/qtfm-6.2.0.ebuild
@@ -11,16 +11,16 @@ SRC_URI="https://github.com/rodlie/qtfm/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="shared"
+IUSE="+dbus shared"
RDEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
- dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
sys-apps/file
+ dbus? ( dev-qt/qtdbus:5 )
"
DEPEND="
${RDEPEND}
@@ -30,6 +30,7 @@ DEPEND="
src_configure() {
eqmake5 \
+ $(usex dbus '' 'CONFIG+=no_dbus CONFIG+=no_tray') \
$(usex shared 'CONFIG+=sharedlib' '') \
$(usex shared 'CONFIG+=with_includes' '') \
LIBDIR="/usr/$(get_libdir)" \