1 |
>>>>> On Thu, 15 Jul 2021, Florian Schmaus wrote: |
2 |
|
3 |
> -DEPEND=" |
4 |
> +_XDG_DEPEND=" |
5 |
> dev-util/desktop-file-utils |
6 |
> x11-misc/shared-mime-info |
7 |
> " |
8 |
> + |
9 |
> +case "${EAPI:-0}" in |
10 |
> + 4|5|6|7) |
11 |
> + DEPEND="${_XDG_DEPEND}" |
12 |
> + ;; |
13 |
> + *) |
14 |
> + IDEPEND="${_XDG_DEPEND}" |
15 |
> + ;; |
16 |
> +esac |
17 |
|
18 |
If it is IDEPEND in EAPI 8 (i.e. an install-time dependency which |
19 |
applies to pkg_postinst etc.), then presumably the best approximation |
20 |
in other EAPIs would be RDEPEND: |
21 |
https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008.1 |
22 |
|
23 |
Think about installion of a binpkg where DEPEND won't be pulled in. |
24 |
|
25 |
Ulrich |