From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 331031382C5 for ; Fri, 1 Jan 2021 13:14:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 782C1E089A; Fri, 1 Jan 2021 13:14:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D513E089A for ; Fri, 1 Jan 2021 13:14:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54FAE340C7B for ; Fri, 1 Jan 2021 13:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC2AE48B for ; Fri, 1 Jan 2021 13:14:40 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1609403473.db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/megasync/Manifest net-misc/megasync/megasync-4.3.8.0.ebuild X-VCS-Directories: net-misc/megasync/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46 X-VCS-Branch: master Date: Fri, 1 Jan 2021 13:14:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 204472b8-4c59-4682-9966-f09956f6d316 X-Archives-Hash: 7ddaa21244f26170e835d665592869b0 commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46 Author: Theo Anderson posteo de> AuthorDate: Thu Dec 31 08:31:13 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Dec 31 08:31:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2 net-misc/megasync: bump to 4.3.8.0 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> net-misc/megasync/Manifest | 2 + net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest index 2e3f9444..996b96d0 100644 --- a/net-misc/megasync/Manifest +++ b/net-misc/megasync/Manifest @@ -1,2 +1,4 @@ DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5 SHA512 6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c +DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3 SHA512 45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a +DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild new file mode 100644 index 00000000..eb91b2e5 --- /dev/null +++ b/net-misc/megasync/megasync-4.3.8.0.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop qmake-utils xdg cmake + +DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC" +HOMEPAGE="http://mega.co.nz" + +if [[ ${PV} == 9999 ]];then + inherit git-r3 + EGIT_REPO_URI="https://github.com/meganz/MEGAsync" +else + MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of src/MEGASync/mega submodule + SRC_URI=" + https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz + https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz + " + KEYWORDS="~amd64 ~x86" + # 4.3.8.0 has no dedicated linux tag + S="${WORKDIR}"/MEGAsync-${PV}_Win +fi + +LICENSE="MEGA" +SLOT="0" +IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar" + +RDEPEND=" + app-arch/xz-utils + dev-libs/libgcrypt + dev-libs/libsodium + dev-libs/libuv + media-libs/libpng + net-dns/c-ares + x11-themes/hicolor-icon-theme + cryptopp? ( dev-libs/crypto++ ) + curl? ( + !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] ) + libressl? ( net-misc/curl[ssl,curl_ssl_libressl] ) + ) + dolphin? ( kde-apps/dolphin ) + freeimage? ( media-libs/freeimage ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + nautilus? ( >=gnome-base/nautilus-3 ) + readline? ( sys-libs/readline:0 ) + sqlite? ( dev-db/sqlite:3 ) + thunar? ( xfce-base/thunar ) + zlib? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} + media-libs/libmediainfo + media-libs/libraw + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtgui:5 + dev-qt/qtconcurrent:5 + dev-qt/qtnetwork:5 + dev-qt/qtdbus:5 + dev-qt/qtimageformats:5 + dev-qt/qtsvg:5 +" +BDEPEND=" + app-doc/doxygen + dev-lang/swig + dev-qt/linguist-tools +" + +DOCS=( CREDITS.md README.md ) + +src_prepare() { + if [[ ${PV} != 9999 ]]; then + rmdir src/MEGASync/mega + mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega + fi + default + cd src/MEGASync/mega + eautoreconf +} + +src_configure() { + cd src/MEGASync/mega + econf \ + "--disable-silent-rules" \ + "--disable-curl-checks" \ + "--disable-megaapi" \ + $(use_with zlib) \ + $(use_with sqlite) \ + $(use_with cryptopp) \ + "--with-cares" \ + $(use_with curl) \ + "--without-termcap" \ + $(use_enable threads posix-threads) \ + "--with-sodium" \ + $(use_with freeimage) \ + $(use_with readline) \ + $(use_enable examples) \ + $(use_enable java) \ + $(use_enable php) \ + $(use_enable python) \ + "--enable-chat" \ + "--enable-gcc-hardening" + cd ../.. + + local myeqmakeargs=( + MEGA.pro + CONFIG+="release" + ) + + eqmake5 ${myeqmakeargs[@]} + use dolphin && cmake_src_configure + $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro +} + +src_compile() { + emake -C src INSTALL_ROOT="${D}" || die + use dolphin && cmake_src_compile +} + +src_install() { + use dolphin && cmake_src_install + einstalldocs + dobin src/MEGASync/${PN} + insinto usr/share/licenses/${PN} + doins LICENCE.md installer/terms.txt + domenu src/MEGASync/platform/linux/data/${PN}.desktop + cd src/MEGASync/platform/linux/data/icons/hicolor + for size in 16x16 32x32 48x48 128x128 256x256;do + doicon -s $size $size/apps/mega.png + done +}