From d413627cde3cf4bb6bcf49fee9dc4fc56d18969f Mon Sep 17 00:00:00 2001 From: John Date: Mon, 10 Aug 2020 21:09:36 +0200 Subject: [PATCH] MEGAsync: drop template The License essentially forbids, or at least makes it questionable to vendor patches. Drop it since upstream is slow to fix compilation problems and it doesn't compile with qt5.15 with quite some time. --- srcpkgs/MEGAsync/patches/breakpad.patch | 16 ----------- srcpkgs/MEGAsync/template | 37 ------------------------- srcpkgs/MEGAsync/update | 1 - 3 files changed, 54 deletions(-) delete mode 100644 srcpkgs/MEGAsync/patches/breakpad.patch delete mode 100644 srcpkgs/MEGAsync/template delete mode 100644 srcpkgs/MEGAsync/update diff --git a/srcpkgs/MEGAsync/patches/breakpad.patch b/srcpkgs/MEGAsync/patches/breakpad.patch deleted file mode 100644 index 79f258f71a5..00000000000 --- a/srcpkgs/MEGAsync/patches/breakpad.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc 2019-09-13 22:27:23.351723073 +0300 -+++ - 2019-09-13 22:33:08.244312688 +0300 -@@ -104,11 +104,13 @@ - #define PR_SET_PTRACER 0x59616d61 - #endif - -+#if defined(__GLIBC__) && !__GLIBC_PREREQ(2, 30) - // A wrapper for the tgkill syscall: send a signal to a specific thread. - static int tgkill(pid_t tgid, pid_t tid, int sig) { - return syscall(__NR_tgkill, tgid, tid, sig); - return 0; - } -+#endif - - namespace google_breakpad { - diff --git a/srcpkgs/MEGAsync/template b/srcpkgs/MEGAsync/template deleted file mode 100644 index 09595ec7f91..00000000000 --- a/srcpkgs/MEGAsync/template +++ /dev/null @@ -1,37 +0,0 @@ -# Template file for 'MEGAsync' -pkgname=MEGAsync -version=4.2.4.0 -revision=1 -wrksrc="${pkgname}-${version}_Win" -build_wrksrc=src -build_style=qmake -configure_args='"CONFIG+=FULLREQUIREMENTS"' -hostmakedepends="libtool qt5-qmake qt5-host-tools" -makedepends="qt5-tools-devel qt5-devel qt5-svg-devel MEGAsdk-devel MEGAsdk-qt - libraw-devel libgomp-devel" -short_desc="Automated syncing with MEGA Cloud Drive" -maintainer="John " -license="custom: Proprietary" -homepage="https://mega.co.nz" -distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_Win.tar.gz" -checksum=5fd90c93677085a2f73faa6a5a3548fcd29fc9f3203f6ddbcac7f170b580f239 -restricted=yes -nocross=yes - -case "$XBPS_TARGET_MACHINE" in - *-musl|ppc*) broken="google breakpad";; -esac - -post_extract() { - cp -r ${XBPS_CROSS_BASE}/usr/share/MEGAsdk/bindings \ - ${wrksrc}/src/MEGASync/mega -} - -pre_build() { - lrelease-qt5 MEGASync/MEGASync.pro -} - -post_install() { - vbin MEGASync/megasync - vlicense ${wrksrc}/LICENCE.md -} diff --git a/srcpkgs/MEGAsync/update b/srcpkgs/MEGAsync/update deleted file mode 100644 index 382bff4f3ad..00000000000 --- a/srcpkgs/MEGAsync/update +++ /dev/null @@ -1 +0,0 @@ -pattern='/archive/(v?)?\K[\d\.]+(?=\_Linux\.tar\.gz")'