Commit 9dcff8da authored by Daniel Menelkir's avatar Daniel Menelkir

new file: metadata/md5-cache/net-misc/meganz-sdk-3.6.2b

	new file:   metadata/md5-cache/net-misc/megasync-4.2.5.0
	new file:   net-misc/meganz-sdk/Manifest
	new file:   net-misc/meganz-sdk/meganz-sdk-3.6.2b.ebuild
	new file:   net-misc/megasync/Manifest
	new file:   net-misc/megasync/megasync-4.2.5.0.ebuild
parent 9d94f087
DEFINED_PHASES=configure install prepare setup
DEPEND=dev-libs/crypto++ sys-libs/zlib dev-libs/libpcre:3[cxx] dev-libs/openssl:0 net-dns/c-ares net-misc/curl sqlite? ( dev-db/sqlite:3 ) !sqlite? ( sys-libs/db:*[cxx] ) freeimage? ( media-libs/freeimage ) libuv? ( dev-libs/libuv ) dev-libs/libsodium mediainfo? ( media-libs/libmediainfo ) >=app-portage/elt-patches-20170815 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=MEGA C++ SDK
EAPI=6
HOMEPAGE=https://github.com/meganz/sdk
IUSE=freeimage fuse hardened inotify libuv mediainfo +qt +sqlite
KEYWORDS=~amd64
LICENSE=BSD-2
RDEPEND=dev-libs/crypto++ sys-libs/zlib dev-libs/libpcre:3[cxx] dev-libs/openssl:0 net-dns/c-ares net-misc/curl sqlite? ( dev-db/sqlite:3 ) !sqlite? ( sys-libs/db:*[cxx] ) freeimage? ( media-libs/freeimage ) libuv? ( dev-libs/libuv ) dev-libs/libsodium mediainfo? ( media-libs/libmediainfo )
SLOT=0
SRC_URI=https://github.com/meganz/sdk/archive/v3.6.2b.tar.gz -> meganz-sdk-3.6.2b.tar.gz
_eclasses_=autotools 1bf086cdd7356f5c9a4acd9727bd2065 db-use 501a5d0963e0d17f30260023f292ae8e desktop b1d22ac8bdd4679ab79c71aca235009d eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 8a43b9830f1e64a7a5fc0a276afa0275 libtool f143db5a74ccd9ca28c1234deffede96 ltprune 2729691420b6deeda2a90b1f1183fb55 multilib 1d91b03d42ab6308b5f4f6b598ed110e preserve-libs ef207dc62baddfddfd39a164d9797648 qmake-utils bdf97e69a34b864d6d545f4ec3143ff7 toolchain-funcs 2f8b8f320bee13b71a8a54cc6d09e08a vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
_md5_=e10e510f22570c3006199154b2c12be2
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
DEPEND=net-misc/meganz-sdk[libuv,mediainfo?,qt,sodium(+),sqlite] qt5? ( dev-qt/qtsvg:5 dev-qt/qtdbus:5 ) !qt5? ( dev-qt/qtsvg:4 dev-qt/qtdbus:4 ) dolphin? ( kde-apps/dolphin ) nautilus? ( >=gnome-base/nautilus-3 ) thunar? ( xfce-base/thunar ) mediainfo? ( media-libs/libmediainfo ) qt5? ( dev-qt/linguist-tools:5 ) >=app-portage/elt-patches-20170815 app-arch/xz-utils dev-util/desktop-file-utils x11-misc/shared-mime-info sys-devel/make >=dev-util/cmake-3.9.6
DESCRIPTION=Easy automated syncing with MEGA Cloud Drive
EAPI=6
HOMEPAGE=https://github.com/meganz/MEGAsync
IUSE=dolphin +mediainfo nautilus +qt5 thunar
KEYWORDS=~amd64
RDEPEND=net-misc/meganz-sdk[libuv,mediainfo?,qt,sodium(+),sqlite] qt5? ( dev-qt/qtsvg:5 dev-qt/qtdbus:5 ) !qt5? ( dev-qt/qtsvg:4 dev-qt/qtdbus:4 ) dolphin? ( kde-apps/dolphin ) nautilus? ( >=gnome-base/nautilus-3 ) thunar? ( xfce-base/thunar ) mediainfo? ( media-libs/libmediainfo )
REQUIRED_USE=dolphin? ( qt5 )
SLOT=0
SRC_URI=https://github.com/meganz/MEGAsync/archive/v4.2.5.0_Linux.tar.gz -> megasync-4.2.5.0.tar.gz
_eclasses_=cmake-utils 91d6ef31dc426240577497cacbf2508c desktop b1d22ac8bdd4679ab79c71aca235009d eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 8a43b9830f1e64a7a5fc0a276afa0275 gnome.org 532d56d07b9eace4831aaa817d2b756a gnome2 1a42e8c41af42cb294817dcc5b7e3df6 gnome2-utils 532371cfcba45b2ab0d2950547c97d95 libtool f143db5a74ccd9ca28c1234deffede96 ltprune 2729691420b6deeda2a90b1f1183fb55 multilib 1d91b03d42ab6308b5f4f6b598ed110e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils 132cbb376048d079b5a012f5467c4e7f preserve-libs ef207dc62baddfddfd39a164d9797648 qmake-utils bdf97e69a34b864d6d545f4ec3143ff7 toolchain-funcs 2f8b8f320bee13b71a8a54cc6d09e08a vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748 xdg c7ba313ea1eaf266f95cc6235f7d6a07 xdg-utils ff2ff954e6b17929574eee4efc5152ba
_md5_=6fae94089394e4e70ffdaa30f270eacc
DIST meganz-sdk-3.6.2b.tar.gz 3095795 BLAKE2B 054aa98d8b94b057c501d0417a6eaac6e638efcdce25f4578ef5155004b7150754dd872317cd4817d83186fc3ea6e66599e1243377de5f53e2737034f7f8ca84 SHA512 79855ecb8b8cddb04c9bb7fbe817190303beba232bc70606a925f3d85f32506df384291cc64a70000e53a8c96b62d84bdcb7f395fc95a7afb7a6b4af5f000f94
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic qmake-utils autotools db-use
DESCRIPTION="MEGA C++ SDK"
HOMEPAGE="https://github.com/meganz/sdk"
SRC_URI="https://github.com/meganz/sdk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
IUSE="freeimage fuse hardened inotify libuv mediainfo +qt +sqlite"
KEYWORDS="~amd64"
DEPEND="
dev-libs/crypto++
sys-libs/zlib
dev-libs/libpcre:3[cxx]
dev-libs/openssl:0
net-dns/c-ares
net-misc/curl
sqlite? ( dev-db/sqlite:3 )
!sqlite? ( sys-libs/db:*[cxx] )
freeimage? ( media-libs/freeimage )
libuv? ( dev-libs/libuv )
dev-libs/libsodium
mediainfo? ( media-libs/libmediainfo )"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/sdk-"${PV}"
pkg_setup() {
use sqlite || append-cppflags "-I$(db_includedir)"
}
src_prepare() {
default
use qt && sed \
-e '/SOURCES += src\// s:+:-:' \
-e '/!exists.*config.h/ s:!::' \
-e 's:-lsqlite3 -lrt:-lmega &:' \
-i bindings/qt/sdk.pri
eautoreconf
}
src_configure() {
local myeconfargs=(
--enable-chat
--disable-examples
$(use_enable inotify)
$(use_enable hardened gcc-hardening)
$(use_with libuv)
$(use_with !sqlite db)
$(use_with sqlite)
$(use_with freeimage)
$(use_with fuse)
$(use_with mediainfo libmediainfo)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
doheader -r include/mega
use qt || return
insinto /usr/share/${PN}/bindings/qt
doins bindings/qt/*.{h,cpp,pri}
}
DIST megasync-4.2.5.0.tar.gz 13685620 BLAKE2B 85869de74a0b1af062b41baf6eff03712453fa7ab32358eed09d3ab3f32c6aa404e2d27cadf549be7e9bcca228bd27cb8659988a21e3b7500f1d44a4913e5f78 SHA512 97978afa42e98e99fe39281877c657429d5c9c5272b1abed496a596751ae80b58dc8cd8a3c9dbfee77c7044c6c4eaadb0757f712c07330719c95b7c2b1fa7bd8
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2 cmake-utils qmake-utils
DESCRIPTION="Easy automated syncing with MEGA Cloud Drive"
HOMEPAGE="https://github.com/meganz/MEGAsync"
SRC_URI="https://github.com/meganz/MEGAsync/archive/v${PV}_Linux.tar.gz -> ${P}.tar.gz"
SLOT="0"
IUSE="dolphin +mediainfo nautilus +qt5 thunar"
REQUIRED_USE="dolphin? ( qt5 )"
KEYWORDS="~amd64"
RDEPEND="
net-misc/meganz-sdk[libuv,mediainfo?,qt,sodium(+),sqlite]
qt5? (
dev-qt/qtsvg:5
dev-qt/qtdbus:5
)
!qt5? (
dev-qt/qtsvg:4
dev-qt/qtdbus:4
)
dolphin? ( kde-apps/dolphin )
nautilus? ( >=gnome-base/nautilus-3 )
thunar? ( xfce-base/thunar )
mediainfo? ( media-libs/libmediainfo )"
DEPEND="${RDEPEND}
qt5? ( dev-qt/linguist-tools:5 )"
S="${WORKDIR}"/MEGAsync-"${PV}"_Linux
CMAKE_USE_DIR="${S}"/src/MEGAShellExtDolphin
CMAKE_IN_SOURCE_BUILD=y
src_prepare() {
local PATCHES=(
"${FILESDIR}"/${PN}-qmake.diff
)
cp -r "${EROOT}"usr/share/meganz-sdk/bindings "${S}"/src/MEGASync/mega/
cmake-utils_src_prepare
mv -f src/MEGAShellExtDolphin/CMakeLists{_kde5,}.txt
rm -f src/MEGAShellExtDolphin/megasync-plugin.moc
use mediainfo || sed -e '/CONFIG += USE_MEDIAINFO/d' \
-i src/MEGASync/MEGASync.pro
}
src_configure() {
cd src
local eqmakeargs=(
CONFIG$(usex nautilus + -)=with_ext
CONFIG$(usex thunar + -)=with_thu
CONFIG-=with_updater
CONFIG-=with_tools
)
eqmake$(usex qt5 5 4) "${eqmakeargs[@]}"
use dolphin && cmake-utils_src_configure
}
src_compile() {
cd src
$(usex qt5 $(qt5_get_bindir) $(qt4_get_bindir))/lrelease \
MEGASync/MEGASync.pro
emake
use dolphin && cmake-utils_src_compile
}
src_install() {
local DOCS=( CREDITS.md README.md )
einstalldocs
emake -C src INSTALL_ROOT="${D}" install
use dolphin && cmake-utils_src_install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment