summaryrefslogtreecommitdiff
path: root/app-arch
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/Manifest.gzbin17583 -> 17584 bytes
-rw-r--r--app-arch/unar/Manifest2
-rw-r--r--app-arch/unar/unar-1.10.8.ebuild25
3 files changed, 26 insertions, 1 deletions
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz
index 477f8404892e..39db5cedeb60 100644
--- a/app-arch/Manifest.gz
+++ b/app-arch/Manifest.gz
Binary files differ
diff --git a/app-arch/unar/Manifest b/app-arch/unar/Manifest
index 6423003793ce..e13abe583416 100644
--- a/app-arch/unar/Manifest
+++ b/app-arch/unar/Manifest
@@ -3,5 +3,5 @@ DIST XADMaster-1.10.7.tar.gz 2064770 BLAKE2B f6119dfb46f3d617fafb5847f41d6c0f3e5
DIST XADMaster-1.10.8.tar.gz 2072715 BLAKE2B ffa674a007865a7bbe3b67a97ad41ac4c4d4fcaf90a39d410a1f7668ac5dd526d0af7b523aca951a3dcc8ee61eb1b7f17db88604464504b2273471f3c31f846a SHA512 34c6c47806877763e022720ac3f6097c9c369481f2bb4a1c1c22e65e2c6250835c73bc3f73e71764810acec8950b05ae9f2dc29348ff192ef22968776fc7efe4
DIST universal-detector-1.1.tar.gz 196274 BLAKE2B d84dc1f850031213d88c288341edcbb588197f23ae0d10632ed129e73e4cc2b7670c8c862bba2165fcc7421c265e4dc3e791ea188e3d2b647bd1ab9b428bb866 SHA512 e514670b3d37b2472ed3e9cb0fdc3298a8479772264b7573411f104be554222bec2e01f73e1f35db95620fe785bee2dcf9ddc9c2b1f4ff6b522fa64d14d020f5
EBUILD unar-1.10.7.ebuild 1383 BLAKE2B 78fa169605a3c793396bbbb9066f8d33bd4a9e1f982abf77ee7d47f760f7a3ea468018b0ccef0c1f50d204049c2f5bfad9621418ff2cbf19999cb6dd55116182 SHA512 8a133b1416dd1c6b450417d28c60495756b659dddaa9f03458c03a8bc64fe5da800b3bc6d2fc4d5cc16ca01675fd99032945ea5fb6bce156cbe39eb9119f276c
-EBUILD unar-1.10.8.ebuild 1391 BLAKE2B 0cbab12ec41bd8da8e3269b313678a4e7c5722c6ba747eb23285c95dcb80b6ef2fa068ea301c683549fa5779c66ba75061f7b22a903c97a264e8dca9df944740 SHA512 1b9bb651803039617d758faf1dfe9421e50f6b43c2aecf112964de1ac610f2356c805f7d9a1c86f6b5e01a72f7b37455284cdc9dfeaefec2ddfd706442de017f
+EBUILD unar-1.10.8.ebuild 1964 BLAKE2B 7f2fec081fe9f32f261d3345f9d1afc9edd9ade8845c9143e6bc1ea262f465bd1fb1c0a0abe0906ba5e1f2d8a59d455611c71e0099802fd08952842b1609779a SHA512 5ab6c4595fc468d652f30f1da58250bcb006e0093c5f996b74646b5b2426484338912057a13aad472b83ad8e323ba231d9f56e329c60f6139664d71301709786
MISC metadata.xml 326 BLAKE2B 80f4ed31e741075e82317cfcea7feff354cad61feedef27b80d6a121f9ff2fd2c2c0fe805d2b5e48082baf6d47f0046578f94fa330a255a9bb597890ab0a8c16 SHA512 6ec4c0148942354f0d49a399d90d0039b9c0c3c2981738c30449440f3d42ae114d545b251eb49ae64f069a75fb8712dd3c513c765385f717ffdf76a30dad3ebb
diff --git a/app-arch/unar/unar-1.10.8.ebuild b/app-arch/unar/unar-1.10.8.ebuild
index 8192fdaf82b2..2470dc335445 100644
--- a/app-arch/unar/unar-1.10.8.ebuild
+++ b/app-arch/unar/unar-1.10.8.ebuild
@@ -25,9 +25,34 @@ RDEPEND="
DEPEND="
${RDEPEND}
gnustep-base/gnustep-make[native-exceptions]"
+BDEPEND="
+ || (
+ sys-devel/gcc[objc]
+ gnustep-base/gnustep-make[libobjc2]
+ )"
PATCHES=( "${FILESDIR}"/${P}-Wint-conversion.patch )
+check_objc_toolchain() {
+ if tc-is-gcc; then
+ has_version 'sys-devel/gcc[-objc]' &&
+ die "GCC requires sys-devel/gcc with USE=objc"
+ elif tc-is-clang; then
+ has_version 'gnustep-base/gnustep-make[-libobjc2]' &&
+ die "Clang requires gnustep-base/gnustep-make with USE=libobjc2"
+ else
+ die "${PN} can only be build using GCC or Clang"
+ fi
+}
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && check_objc_toolchain
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && check_objc_toolchain
+}
+
src_prepare() {
default
# avoid jobserver warning "make[1]: warning: jobserver unavailable: using -j1"