commit:     8bb929497dbc0fcc69a6e6086c05cefd4d19bb3b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 22:07:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 22:08:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb92949

dev-libs/quazip: fix automagic Qt 5/6 usage; fix subslot

- We can't rely on autodetection of Qt version because this would be
an automagic dependency.

- SONAME changed from 1.0 -> 1.3, so change subslot

Bug: https://bugs.gentoo.org/839264
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/quazip/{quazip-1.3.ebuild => quazip-1.3-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/quazip/quazip-1.3.ebuild 
b/dev-libs/quazip/quazip-1.3-r1.ebuild
similarity index 88%
rename from dev-libs/quazip/quazip-1.3.ebuild
rename to dev-libs/quazip/quazip-1.3-r1.ebuild
index 43b0ab41e9e2..896e591fba00 100644
--- a/dev-libs/quazip/quazip-1.3.ebuild
+++ b/dev-libs/quazip/quazip-1.3-r1.ebuild
@@ -10,7 +10,8 @@ HOMEPAGE="https://stachenov.github.io/quazip/";
 SRC_URI="https://github.com/stachenov/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/1"
+# SONAME of libquazip1-qt5.so, check QUAZIP_LIB_SOVERSION in CMakeLists.txt
+SLOT="0/1.3"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
@@ -34,6 +35,7 @@ PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
 
 src_configure() {
        local mycmakeargs=(
+               -DQUAZIP_QT_MAJOR_VERSION=5
                -DBUILD_TESTING=$(usex test)
        )
 

Reply via email to