summaryrefslogtreecommitdiff
path: root/games-board/chessx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /games-board/chessx
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'games-board/chessx')
-rw-r--r--games-board/chessx/Manifest4
-rw-r--r--games-board/chessx/chessx-1.5.4-r3.ebuild (renamed from games-board/chessx/chessx-1.5.4-r2.ebuild)9
-rw-r--r--games-board/chessx/files/chessx-1.5.4-system-quazip.patch2
3 files changed, 11 insertions, 4 deletions
diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index c33ceae4a97f..6bb1705dbc92 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1,6 +1,6 @@
AUX chessx-1.5.4-install.patch 707 BLAKE2B 00199be5811a78ad2e610dd919a063d84d94156bdaed9aef6134c6a09227d3072b75b443e403b5c82d1ac36059709c1e2f7e4988dd68f813bdc56608a7a8dec0 SHA512 28adbaf8288b4688c1ccb6d8fc5cac019bc752d5d555ae8b2e3017e3085bbd7a28b896bd1c583933f4dda44964bc7d0f21842841666b8e454be946c20eabc0cd
AUX chessx-1.5.4-missing-translations.patch 1502 BLAKE2B f0b745ceaf0f3b97e59b156515ec286f830b1163164ffd6d63a76d1118b648f9af221e89aa0c22d71a2a1fabc56074b436bd9fad433db1733b8742504559962e SHA512 a922dd05b98ea8ed54f203fa7d7d56c1fb87ef7fe97edde9e05ada37a6e4175f02465bbef2f7d8df3f672d74134722d1706fd6ecf559167ae0f1cd717d0f28cd
-AUX chessx-1.5.4-system-quazip.patch 2232 BLAKE2B b4cdc1e62be10293135d7c244b0c6765e833b2e12d738bb3bb6b2ca4b5e6d7444014420a43975cbaff94805b73b13e4f81de1d878aa817e376ec93807f002a8f SHA512 7d74d68998406d41f6142d1ccf092c7ee0a80fa1a1e6e18acc20a39ebe697b01412bddc50eaae3163f46575d2ec651455f0a0803bd5ec6fe12fa9880ee7f4e45
+AUX chessx-1.5.4-system-quazip.patch 2237 BLAKE2B 2e94f7d6b6c16dec100e09e6f6bb77185cfafa9dc16f4640212a582e6f267cf78100d8e849f4e762b095ebee7286f1ff0b64d6e975a7679acdab2790b028cba9 SHA512 dc3408200cc27a7d38f90af2136163f91fb1d874673a9645626f4d035312d17e0995bf6b23433fdfc5b28468f823c65f4a8cf7966271f4630526caa7926fa929
DIST chessx-1.5.4.tgz 3663299 BLAKE2B 3a0f222d2c122e70f66600f15a2b9a9606e56407db364a616515ebc1b7f333e260c131e61e22f59fb3cbd340555bb8c238bfd560fbc23f4c173288cd4b7e7369 SHA512 9f112b185ed8af3690cb50eafead7dfbd7896d3baebc9b10c3d32103a51cc49834703c232c159dffe24fd09601f2b41db02598c435ca56fc1031195fb9762a42
-EBUILD chessx-1.5.4-r2.ebuild 953 BLAKE2B 0872b962309c11765db6fd939be6a3bf70f5edfb3c8a0f216e739b1ce54b7be10cc4f4b900e92e04f872a4ce3cc32573fcc52f81290747229260da0c968ab5a5 SHA512 1413ee6263e8cb3b1f35616ddc64b224bfde1434918283d1a7f1b76f72bfcc6daed194a111ca2c3dd801352edd15f54251df772f63812a30a69c9e13512e190a
+EBUILD chessx-1.5.4-r3.ebuild 1105 BLAKE2B b023d915e68ee6020ba77cb452f3dd079961de57493735129e8703b49d20ee93605bfb330931c1e8533f5dab940c2e204faa2c6f574570f89593900d04a45a07 SHA512 f0642f36460759b41e3b500a05bd0e9137ec2762180aa4b5f9d4aea7ecc1b378faa798e94c882fd9ff61d35b63b81b0c2f538df8326e945ff6af846493e9a2b6
MISC metadata.xml 329 BLAKE2B 199a6f1de51ae4a4a1104bbd4419200e7440abafe3fc5dfe40eafc08c00449461c71131cfdf1d60a0b8375f575290bbdd0af6355ae10a9259c38728e3065e6cf SHA512 41215eff9af3f31175db0f20dd13574378e4124dda8a1670440897391a5b66423c953471d6e22984dbfb3e0abef8ea3d56fa3690b45c189fae2a3c26560ec1a8
diff --git a/games-board/chessx/chessx-1.5.4-r2.ebuild b/games-board/chessx/chessx-1.5.4-r3.ebuild
index f24f065884e8..b3e40f7c587d 100644
--- a/games-board/chessx/chessx-1.5.4-r2.ebuild
+++ b/games-board/chessx/chessx-1.5.4-r3.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
- >=dev-libs/quazip-0.9.1:0
+ >=dev-libs/quazip-0.9.1:0=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
@@ -41,6 +41,13 @@ PATCHES=(
"${FILESDIR}"/${P}-install.patch
)
+src_prepare() {
+ xdg_src_prepare
+ if has_version "<dev-libs/quazip-1.0"; then
+ sed -e "/^PKGCONFIG/s/quazip1-qt5/quazip/" -i chessx.pro || die
+ fi
+}
+
src_configure() {
eqmake5
}
diff --git a/games-board/chessx/files/chessx-1.5.4-system-quazip.patch b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
index b5e4cf8f4351..6610d3c8e420 100644
--- a/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
+++ b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
@@ -67,7 +67,7 @@ Index: chessx.pro
-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
+
+CONFIG += link_pkgconfig
-+PKGCONFIG += quazip
++PKGCONFIG += quazip1-qt5
win32 {
# DEFINES += ZLIB_WINAPI