media-libs/libmypaint: Set correct subslot
authorMichał Górny <mgorny@gentoo.org>
Fri, 25 Oct 2019 09:39:05 +0000 (11:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 25 Oct 2019 09:41:25 +0000 (11:41 +0200)
Closes: https://bugs.gentoo.org/698258
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-libs/libmypaint/libmypaint-1.4.0.ebuild

index da0fb5f4a0119c22b6a9db2dd740d5f3295c9c38..c4f735c48773ef6ce4eb84c76908c70512cb8555 100644 (file)
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mypaint/libmypaint"
 SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz"
 
 LICENSE="ISC"
-SLOT="0/0"  # first soname component for subslot
+SLOT="0/$(ver_cut 1-2)"  # https://github.com/mypaint/libmypaint/wiki/Versioning
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="gegl introspection nls openmp"