summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/meganz-sdk/Manifest1
-rw-r--r--net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild71
-rw-r--r--net-misc/megasync/Manifest1
-rw-r--r--net-misc/megasync/files/megasync-qmake.diff50
-rw-r--r--net-misc/megasync/megasync-3.6.6.0.ebuild76
5 files changed, 0 insertions, 199 deletions
diff --git a/net-misc/meganz-sdk/Manifest b/net-misc/meganz-sdk/Manifest
deleted file mode 100644
index a4a33af2..00000000
--- a/net-misc/meganz-sdk/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST meganz-sdk-3.4.0.tar.gz 2865315 BLAKE2B 8c09ec86502315cbeac288077347a392436b00067eaa9b17842656b09621908392f0b39bd8138231a2c9b4ce54f043b8de474453fc168c55b991fca9c6631136 SHA512 5bdc488dac7d4f703b98fd67dcfb413122764e70ee64b88f7c8e45f470bad886da3eb5f3ba4dc211091953763150b9a3715fdc65905444e84e0246134bb904f5
diff --git a/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild b/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild
deleted file mode 100644
index e129cd49..00000000
--- a/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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}
-}
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
deleted file mode 100644
index db3bb149..00000000
--- a/net-misc/megasync/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST megasync-3.6.6.0.tar.gz 12150734 BLAKE2B cd92ddd0e32f1ae954279bfe45aaa7c1ddbf569d8095ae7fcbbc5617dba6442479e009e529b96c9791edf56ea47fece528ad697d47632d3bfea7e93714aae85c SHA512 45e30c87d61e3b55c262d0e6887144e04f467a2d6f0762c5bf55aebe77282ba4b615b4ea5e66e297631d56d68ea2cdc944baa0001a699a08d8ef20e4a7e3ed51
diff --git a/net-misc/megasync/files/megasync-qmake.diff b/net-misc/megasync/files/megasync-qmake.diff
deleted file mode 100644
index 357454d7..00000000
--- a/net-misc/megasync/files/megasync-qmake.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/src/MEGAShellExtNautilus/MEGAShellExtNautilus.pro
-+++ b/src/MEGAShellExtNautilus/MEGAShellExtNautilus.pro
-@@ -1,6 +1,7 @@
- QT -= core gui
-
--TARGET = MEGAShellExtNautilus
-+TARGET = libMEGAShellExtNautilus
-+CONFIG += plugin no_plugin_name_prefix
- TEMPLATE = lib
-
- SOURCES += mega_ext_module.c \
-@@ -41,5 +42,4 @@ INSTALLS += emblems32 emblems64
- !contains(DEFINES, no_desktop) {
- update_cache.commands = gtk-update-icon-cache -f -t $${HICOLOR} || true
- update_cache.path = $$PWD
-- INSTALLS += update_cache
- }
---- a/src/MEGASync/platform/platform.pri
-+++ b/src/MEGASync/platform/platform.pri
-@@ -34,7 +34,8 @@ unix:!macx {
- system(command -v lsb_release): version.commands = lsb_release -rs > $$version.target
- version.files = $$version.target
-
-- INSTALLS += distro version
-+ target.path = $$PREFIX/bin
-+ INSTALLS += target
-
- QT += dbus
- SOURCES += $$PWD/linux/LinuxPlatform.cpp \
-@@ -62,7 +62,6 @@ unix:!macx {
- # desktop
- desktop.path = $$DESKTOP_DESTDIR/share/applications
- desktop.files = $$PWD/linux/data/megasync.desktop
-- desktop.commands = update-desktop-database &> /dev/null || true
- INSTALLS += desktop
-
- HICOLOR = $$DESKTOP_DESTDIR/share/icons/hicolor
---- a/src/MEGA.pro
-+++ b/src/MEGA.pro
-@@ -17,8 +17,9 @@ win32 {
- unix:!macx {
- CONFIG(with_ext) {
- SUBDIRS += MEGAShellExtNautilus
-+ }
-+ CONFIG(with_thu) {
- SUBDIRS += MEGAShellExtThunar
-- SUBDIRS += MEGAShellExtDolphin
- }
- }
-
diff --git a/net-misc/megasync/megasync-3.6.6.0.ebuild b/net-misc/megasync/megasync-3.6.6.0.ebuild
deleted file mode 100644
index 904cd72e..00000000
--- a/net-misc/megasync/megasync-3.6.6.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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
-}