mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/quazip: add 1.5 as Qt6-only version (drop IUSE qt5/qt6)
Bug: https://bugs.gentoo.org/955170 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST quazip-1.4.tar.gz 157819 BLAKE2B bb0ec2ebd31d6ce5e2a19fc1b13570d57aa1438ff192621543ab6aec4e85f76677863d37efbe0bc59e3530ce023586440081cd47f069b4dcbac55118d12f8668 SHA512 38ce3aa77df1fd92229454e56b7290c066d1e319afa36a9f8ec8477004ae94df682e8f454f13cdaf586a1d0b0e033fe698081033a19536ecd53dd1e4b0204af9
|
||||
DIST quazip-1.5.tar.gz 171006 BLAKE2B d6dfe550d45e0c050cb2e8f8353825bede9b0969b65cf91a616a66caea2c30029600e5492847ef3da44056cb9d8052d16f0b026c67fdd313db8d7730f36c81a3 SHA512 c88850f1672d20c375798c58d1cb77744ca63e93b379cf3035a528b57e83a52c1908023870152ce5fc49ad0ccf93d723dbc730b8c1d2abe18cf0b13fba3be1e1
|
||||
|
||||
38
dev-libs/quazip/quazip-1.5.ebuild
Normal file
38
dev-libs/quazip/quazip-1.5.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
|
||||
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"
|
||||
# SONAME of libquazip1-qt6.so, check QUAZIP_LIB_SOVERSION in CMakeLists.txt
|
||||
SLOT="0/1.5"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# bzip2 is linked against, so no app-alternatives
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6
|
||||
dev-qt/qt5compat:6
|
||||
virtual/minizip:=
|
||||
bzip2? ( app-arch/bzip2:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-qt/qtbase:6[network] )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DQUAZIP_QT_MAJOR_VERSION=6
|
||||
-DQUAZIP_ENABLE_TESTS=$(usex test)
|
||||
-DQUAZIP_BZIP2=$(usex bzip2)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user