Diff quazip-1.3-r3 with a quazip-1.4
/usr/portage/dev-libs/quazip/quazip-1.4.ebuild 2023-10-09 14:52:29.756368357 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1-with-linking-exception" |
13 | 13 |
# SONAME of libquazip1-qt5.so, check QUAZIP_LIB_SOVERSION in CMakeLists.txt |
14 |
SLOT="0/1.3" |
|
14 |
SLOT="0/1.4" |
|
15 | 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
16 |
IUSE="+qt5 qt6 test" |
|
16 |
IUSE="bzip2 +qt5 qt6 test" |
|
17 | 17 |
REQUIRED_USE="|| ( qt5 qt6 )" |
18 | 18 | |
19 | 19 |
RESTRICT="!test? ( test )" |
20 | 20 | |
21 | 21 |
COMMON_DEPEND=" |
22 |
bzip2? ( app-alternatives/bzip2 ) |
|
22 | 23 |
qt5? ( dev-qt/qtcore:5 ) |
23 | 24 |
qt6? ( |
24 | 25 |
dev-qt/qtbase:6 |
... | ... | |
37 | 38 |
) |
38 | 39 |
) |
39 | 40 |
" |
40 |
RDEPEND="${COMMON_DEPEND} |
|
41 |
!=dev-libs/quazip-1.1-r0:1 |
|
42 |
" |
|
41 |
RDEPEND="${COMMON_DEPEND}" |
|
43 | 42 | |
44 |
PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) |
|
43 |
PATCHES=( |
|
44 |
# Use CTest module provided BUILD_TESTING |
|
45 |
"${FILESDIR}/${P}-cmake.patch" |
|
46 |
) |
|
45 | 47 | |
46 | 48 |
pkg_setup() { |
47 | 49 |
MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) |
... | ... | |
51 | 53 |
my_src_configure() { |
52 | 54 |
local mycmakeargs=( |
53 | 55 |
-DBUILD_TESTING=$(usex test) |
56 |
-DQUAZIP_BZIP2=$(usex bzip2) |
|
54 | 57 |
) |
55 | 58 |
if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then |
56 | 59 |
mycmakeargs+=( |