x11-libs/gtk+: subslot gtk+:3
authorNP-Hardass <NP-Hardass@gentoo.org>
Sat, 2 Jan 2016 01:11:48 +0000 (20:11 -0500)
committerNP-Hardass <NP-Hardass@gentoo.org>
Tue, 19 Jan 2016 02:02:29 +0000 (21:02 -0500)
commit1eae3055918c29f8ad8e1a900d2280f5d12b0c37
tree87cbfdef078825a389c3ce8095f9f2eba71958fd
parente8ed10449db72195f6c51980cd862286b6532920
x11-libs/gtk+:  subslot gtk+:3

The goal of this subslot is to allow other packages to determine what minor
version of gtk+:3 is installed so that they can operate accordingly.

This functionality is extremely desirable as there are often incompatible
changes between gtk+:3 branches.  This functionality enables an ebuild to
make decisions based on the branch via has_version or best_version queries
during phases.

The best way to take advantage of this functionality is
DEPEND="x11-libs/gtk+:3=" or similar. This has the obvious issue that there
is no guarantee that the subslot will be consistent throughout the phases
of the ebuild, however, because of the subslot rebuild operator, the
package manager should force rebuilding ebuild in question.

Package-Manager: portage-2.2.25
x11-libs/gtk+/gtk+-3.16.7.ebuild
x11-libs/gtk+/gtk+-3.18.5.ebuild
x11-libs/gtk+/gtk+-3.18.6.ebuild