diff options
author | Ben Kohler <bkohler@gentoo.org> | 2019-11-01 11:17:44 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2019-11-01 11:22:56 -0500 |
commit | 4d2aad521b971030313c2733cc38124eb4eb5450 (patch) | |
tree | 6892327417d1c2ad2d0cff69ff9005961af4b427 /net-wireless/iwd/iwd-9999.ebuild | |
parent | net-wireless/iwd: use internal ell for 9999 & ell path (diff) | |
download | gentoo-4d2aad521b971030313c2733cc38124eb4eb5450.tar.gz gentoo-4d2aad521b971030313c2733cc38124eb4eb5450.tar.bz2 gentoo-4d2aad521b971030313c2733cc38124eb4eb5450.zip |
net-wireless/iwd: add conditional ell dep
This will help unify live & release ebuilds a bit more. Live ebuilds
using internal ell will leave this var unset, but release ebuilds will
set it to the required ell release.
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless/iwd/iwd-9999.ebuild')
-rw-r--r-- | net-wireless/iwd/iwd-9999.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild index 73b6abfd6a45..3a599ccce340 100644 --- a/net-wireless/iwd/iwd-9999.ebuild +++ b/net-wireless/iwd/iwd-9999.ebuild @@ -4,6 +4,9 @@ EAPI=6 inherit flag-o-matic linux-info systemd +#Set this variable to the required external ell version +ELL_REQ="" + if [[ ${PV} == *9999* ]]; then inherit autotools git-r3 IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" @@ -20,10 +23,11 @@ LICENSE="GPL-2" SLOT="0" IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" -COMMON_DEPEND="~dev-libs/ell-9999 - sys-apps/dbus +COMMON_DEPEND="sys-apps/dbus client? ( sys-libs/readline:0= )" +[[ -z "${ELL_REQ}" ]] || COMMON_DEPEND+="~dev-libs/ell-${ELL_REQ}" + RDEPEND="${COMMON_DEPEND} net-wireless/wireless-regdb crda? ( net-wireless/crda )" |