Skip to content

Commit

Permalink
x11-misc/spacefm: point to sys-apps/util-linux as optional dependency
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <[email protected]>
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
mm1ke authored and SoapGentoo committed May 14, 2021
1 parent ca5513c commit f31fb72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions x11-misc/spacefm/spacefm-1.0.6-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -58,7 +58,8 @@ pkg_postinst() {
optfeature "mounting as non-root user" sys-apps/udevil sys-apps/pmount sys-fs/udisks
optfeature "supporting ftp/nfs/smb/ssh URLs in the path bar" sys-apps/udevil
optfeature "performing as root" x11-misc/ktsuss kde-plasma/kde-cli-tools[kdesu]
optfeature "other optional dependencies" sys-apps/dbus sys-process/lsof virtual/eject
# sys-apps/util-linux is required for eject
optfeature "other optional dependencies" sys-apps/dbus sys-process/lsof sys-apps/util-linux

if ! has_version 'sys-fs/udisks' ; then
elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
Expand Down
5 changes: 3 additions & 2 deletions x11-misc/spacefm/spacefm-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -58,7 +58,8 @@ pkg_postinst() {
optfeature "mounting as non-root user" sys-apps/udevil sys-apps/pmount sys-fs/udisks
optfeature "supporting ftp/nfs/smb/ssh URLs in the path bar" sys-apps/udevil
optfeature "performing as root" x11-misc/ktsuss kde-plasma/kde-cli-tools[kdesu]
optfeature "other optional dependencies" sys-apps/dbus sys-process/lsof virtual/eject
# sys-apps/util-linux is required for eject
optfeature "other optional dependencies" sys-apps/dbus sys-process/lsof sys-apps/util-linux

if ! has_version 'sys-fs/udisks' ; then
elog "When using SpaceFM without udisks, and without the udisks-daemon running,"
Expand Down

0 comments on commit f31fb72

Please sign in to comment.