media-libs/libdisplay-info: automatically determine subslot from version

Upstream automatically determines soversion by passing in the
package `version_minor`, so we can do the same ourselves.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-04-22 15:22:57 -04:00
parent acc6a28983
commit 244bd6602d

View File

@@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/emersion/libdisplay-info"
SRC_URI="https://gitlab.freedesktop.org/emersion/${PN}/-/releases/${PV}/downloads/${P}.tar.xz"
LICENSE="MIT"
SLOT="0/2"
SLOT="0/$(ver_cut 2)"
KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
BDEPEND="