mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
net-misc/megasync: drop 4.11.0.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
|
||||
DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9 SHA512 fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
|
||||
DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
|
||||
DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
|
||||
|
||||
@@ -1,134 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools cmake qmake-utils xdg
|
||||
|
||||
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
|
||||
HOMEPAGE="
|
||||
https://mega.io
|
||||
https://github.com/meganz/MEGAsync
|
||||
"
|
||||
|
||||
if [[ ${PV} == 9999 ]];then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
else
|
||||
MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of src/MEGASync/mega submodule
|
||||
MEGA_TAG_SUFFIX="Win"
|
||||
SRC_URI="
|
||||
https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
|
||||
fi
|
||||
|
||||
LICENSE="MEGA"
|
||||
SLOT="0"
|
||||
IUSE="dolphin freeimage nautilus nemo threads thunar"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/crypto++:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/libuv:=
|
||||
dev-libs/openssl:0=
|
||||
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
|
||||
dev-qt/qtx11extras:5
|
||||
media-libs/libmediainfo
|
||||
media-libs/libraw
|
||||
net-dns/c-ares:=
|
||||
net-misc/curl[ssl,curl_ssl_openssl(-)]
|
||||
sys-libs/zlib
|
||||
dolphin? ( kde-apps/dolphin )
|
||||
freeimage? (
|
||||
media-libs/freeimage
|
||||
media-video/ffmpeg:=
|
||||
)
|
||||
nautilus? ( >=gnome-base/nautilus-43 )
|
||||
nemo? ( gnome-extra/nemo )
|
||||
thunar? ( xfce-base/thunar )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
dolphin? ( kde-frameworks/extra-cmake-modules )
|
||||
"
|
||||
|
||||
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rmdir src/MEGASync/mega
|
||||
mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
|
||||
fi
|
||||
|
||||
if has_version ">=media-video/ffmpeg-6.0"; then
|
||||
eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
|
||||
fi
|
||||
eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
|
||||
|
||||
if use dolphin; then
|
||||
cmake_src_prepare
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
econf \
|
||||
"--disable-curl-checks" \
|
||||
"--disable-examples" \
|
||||
$(use_enable threads posix-threads) \
|
||||
$(use_with freeimage)
|
||||
|
||||
cd "${S}/src"
|
||||
local myeqmakeargs=(
|
||||
MEGA.pro
|
||||
CONFIG+="release"
|
||||
$(usex freeimage "" "CONFIG+=nofreeimage")
|
||||
$(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
|
||||
$(usev nemo "SUBDIRS+=MEGAShellExtNemo")
|
||||
$(usev thunar "SUBDIRS+=MEGAShellExtThunar")
|
||||
)
|
||||
|
||||
eqmake5 ${myeqmakeargs[@]}
|
||||
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
|
||||
|
||||
use dolphin && cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C src
|
||||
|
||||
use dolphin && cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src INSTALL_ROOT="${D}" install
|
||||
dobin "src/MEGASync/${PN}"
|
||||
dodoc CREDITS.md README.md
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/megasync
|
||||
rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
|
||||
|
||||
use dolphin && cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user