summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2022-07-05 07:53:41 +0200
committerSven Eden <sven.eden@prydeworx.com>2022-07-05 07:53:41 +0200
commitcdbb08d2a5ab6ef9ed8c1c11ace5c5cd21bcf20e (patch)
tree5dbbe7ef5ee6a44bb82f14424374805faa728203 /net-misc
parentmedia-video/shotcut: Version 22.06.23 Bump (diff)
downloadseden-cdbb08d2a5ab6ef9ed8c1c11ace5c5cd21bcf20e.tar.gz
seden-cdbb08d2a5ab6ef9ed8c1c11ace5c5cd21bcf20e.tar.bz2
seden-cdbb08d2a5ab6ef9ed8c1c11ace5c5cd21bcf20e.zip
Major cleanup (remove deprecated and unmaintained stuff)
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/megasync/Manifest1
-rw-r--r--net-misc/megasync/files/megasync-3.7.1-adapt_distro_version.patch17
-rw-r--r--net-misc/megasync/files/megasync-3.7.1-enable_install_target.patch19
-rw-r--r--net-misc/megasync/files/megasync-3.7.1-fix_strict_aliasing.patch12
-rw-r--r--net-misc/megasync/megasync-3.7.1.ebuild225
-rw-r--r--net-misc/megasync/metadata.xml48
6 files changed, 0 insertions, 322 deletions
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
deleted file mode 100644
index 2da2d4e..0000000
--- a/net-misc/megasync/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST megasync-3.7.1-1.src.rpm 36047281 SHA256 649e372236365a886340335688cbf6b8f8ea2aa8687240c47c2a7ab131414e39 SHA512 97aff221869912de3576fd18a88d2558f893a39b5ab9f0a36d1fcc98b9c9692796aaa99d52f990dc3b74fb68e07b4a04438c3f6b09947ebb5795002379bfaf29 WHIRLPOOL 92e9514767ceaf7bdcc2d11eaa4cf759f66306b0cfa861053430de44600da77f7e2d0aa01004a08e83953042aa44a6b724619a912df582a790ba0c6116070c82
diff --git a/net-misc/megasync/files/megasync-3.7.1-adapt_distro_version.patch b/net-misc/megasync/files/megasync-3.7.1-adapt_distro_version.patch
deleted file mode 100644
index 1e0c3e7..0000000
--- a/net-misc/megasync/files/megasync-3.7.1-adapt_distro_version.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./MEGASync/platform/platform.pri.ori 2017-12-29 08:14:10.123439659 +0100
-+++ ./MEGASync/platform/platform.pri 2017-12-29 09:10:06.323377579 +0100
-@@ -26,12 +26,12 @@
-
- distro.target = $$PWD/linux/data/distro
- distro.path = $$DATADIR/doc/megasync
-- system(command -v lsb_release): distro.commands = lsb_release -ds > $$distro.target
-+ distro.commands = cat /etc/gentoo-release > $$distro.target
- distro.files = $$distro.target
-
- version.target = $$PWD/linux/data/version
- version.path = $$DATADIR/doc/megasync
-- system(command -v lsb_release): version.commands = lsb_release -rs > $$version.target
-+ version.commands = cut -d \' \' -f 5 /etc/gentoo-release > $$version.target
- version.files = $$version.target
-
- INSTALLS += distro version
diff --git a/net-misc/megasync/files/megasync-3.7.1-enable_install_target.patch b/net-misc/megasync/files/megasync-3.7.1-enable_install_target.patch
deleted file mode 100644
index d3ff194..0000000
--- a/net-misc/megasync/files/megasync-3.7.1-enable_install_target.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/MEGASync/MEGASync.pro 2017-12-28 09:21:38.917418127 +0100
-+++ b/MEGASync/MEGASync.pro 2017-12-28 09:22:28.967419630 +0100
-@@ -28,11 +28,11 @@
- TARGET = megasync
-
- # Uncomment the following if "make install" doesn't copy megasync in /usr/bin directory
--# isEmpty(PREFIX) {
--# PREFIX = /usr
--# }
--# target.path = $$PREFIX/bin
--# INSTALLS += target
-+ isEmpty(PREFIX) {
-+ PREFIX = /usr
-+ }
-+ target.path = $$PREFIX/bin
-+ INSTALLS += target
- }
- else {
- TARGET = MEGAsync
diff --git a/net-misc/megasync/files/megasync-3.7.1-fix_strict_aliasing.patch b/net-misc/megasync/files/megasync-3.7.1-fix_strict_aliasing.patch
deleted file mode 100644
index 5887eff..0000000
--- a/net-misc/megasync/files/megasync-3.7.1-fix_strict_aliasing.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/MEGASync/mega/src/posix/fs.cpp 2018-10-01 12:57:20.853946247 +0200
-+++ b/MEGASync/mega/src/posix/fs.cpp 2018-10-01 13:16:34.393906698 +0200
-@@ -1739,7 +1739,8 @@
- // FIXME: statfs() does not really do what we want.
- if (statfs(localbasepath.c_str(), &statfsbuf)) return 0;
-
-- return *(fsfp_t*)&statfsbuf.f_fsid + 1;
-+ return (fsfp_t)( (uint64_t)statfsbuf.f_fsid.__val[0]
-+ | (uint64_t)statfsbuf.f_fsid.__val[1] << 32) + 1;
- }
-
- FileAccess* PosixFileSystemAccess::newfileaccess()
diff --git a/net-misc/megasync/megasync-3.7.1.ebuild b/net-misc/megasync/megasync-3.7.1.ebuild
deleted file mode 100644
index dbd00e8..0000000
--- a/net-misc/megasync/megasync-3.7.1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools eutils gnome2-utils qmake-utils rpm xdg-utils
-
-DESCRIPTION="Easy automated syncing between your computers and your MEGA cloud drive"
-HOMEPAGE="http://mega.co.nz"
-
-RELEASE="1"
-
-BASE_URL=""
-
-SRC_URI="https://mega.nz/linux/MEGAsync/Fedora_29/src/megasync-${PV}-${RELEASE}.src.rpm"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="mirror"
-
-IUSE="+api chat +curl debug doc dot examples +ffmpeg +inotify java +libmediainfo
- libressl +libuv +libraw +libsodium pcre php python +sync tests +tools +threads"
-
-REQUIRED_USE="
- dot? ( doc )
- libmediainfo? ( threads )
- sync? ( !java !php !python )
-"
-
-RDEPEND="
- dev-db/sqlite:3
- dev-libs/crypto++
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtcore:5
- media-libs/freeimage
- media-libs/libpng:0
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- sys-libs/readline:=
- curl? ( net-misc/curl )
- ffmpeg? ( virtual/ffmpeg )
- libmediainfo? (
- media-libs/libmediainfo
- media-libs/libzen
- )
- libressl? ( dev-libs/libressl:0 )
- !libressl? ( dev-libs/openssl:0 )
- libraw? ( media-libs/libraw:0 )
- libsodium? ( dev-libs/libsodium:0 )
- libuv? ( dev-libs/libuv:0 )
- pcre? ( dev-libs/libpcre )
- php? ( dev-lang/php:* )
- tests? ( dev-cpp/gtest )
-"
-
-DEPEND="
- ${RDEPEND}
- sys-devel/binutils
- doc? ( app-doc/doxygen[dot=] )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-enable_install_target.patch
- "${FILESDIR}"/${P}-adapt_distro_version.patch
- "${FILESDIR}"/${P}-fix_strict_aliasing.patch
-)
-
-DOCS=(
- MEGASync/mega/CREDITS.md
- MEGASync/mega/LICENSE
- MEGASync/mega/README.md
-)
-
-src_prepare() {
- default
-
- # Some options, although configurable in the configure script, are hard-
- # coded in the MEGASync.pro file. Stupid thing to do, really...
- if ! use ffmpeg; then
- sed -i \
- -e '/CONFIG.*USE_FFMPEG/ s/^/#/' \
- -e '/DEFINES.*REQUIRE_HAVE_FFMPEG/ s/^/#/' \
- MEGASync/MEGASync.pro || die "FFMPEG disabling failed"
- fi
- if ! use libmediainfo; then
- sed -i \
- -e '/CONFIG.*USE_MEDIAINFO/ s/^/#/' \
- -e '/DEFINES.*REQUIRE_USE_MEDIAINFO/ s/^/#/' \
- MEGASync/MEGASync.pro || die "MEDIAINFO disabling failed"
- fi
- if ! use libraw; then
- sed -i \
- -e '/CONFIG.*USE_LIBRAW/ s/^/#/' \
- -e '/DEFINES.*REQUIRE_HAVE_LIBRAW/ s/^/#/' \
- MEGASync/MEGASync.pro || die "LIBRAW disabling failed"
- fi
- if ! use libuv; then
- sed -i \
- -e '/CONFIG.*USE_LIBUV/ s/^/#/' \
- -e '/DEFINES.*REQUIRE_HAVE_LIBUV/ s/^/#/' \
- MEGASync/MEGASync.pro || die "LIBUV disabling failed"
- fi
-
- # We then have to prepare the SDK
- pushd "MEGASync/mega" > /dev/null || die
- eautoreconf
- popd > /dev/null || die
-
- # Now build the translations
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die "lrelease failed"
-}
-
-src_configure() {
- # First configure the SDK
- pushd "MEGASync/mega" > /dev/null || die
- econf \
- $(use_enable debug) \
- $(use_enable inotify) \
- $(usex !threads --disable-posix-threads "") \
- $(use_enable sync) \
- $(usex !api --disable-megaapi "") \
- $(use_enable java) \
- $(use_enable chat) \
- $(use_enable curl curl-checks) \
- $(use_enable examples) \
- $(use_enable tests) \
- $(use_enable python) \
- $(use_enable php) \
- $(use_enable doc doxygen-doc) \
- $(use_enable dot doxygen-dot) \
- --disable-doxygen-ps \
- $(use_with ffmpeg ffmpeg "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with java java-include-dir "$(java-config -g JAVA_HOME)/include") \
- $(use_with libuv libuv "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with libmediainfo libmediainfo "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with libmediainfo libzen "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with libraw libraw "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with libsodium sodium "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with pcre pcre "${EPREFIX}/usr/$(get_libdir)") \
- $(use_with python python3) \
- || die "SDK configure failed"
- popd > /dev/null || die
-
- # Now the global configuration can take place
- eqmake5 \
- CONFIG+=$(usex debug debug release) \
- $(usex tools CONFIG+=with_tools "") \
- $(usex pcre QMAKE_LFLAGS+="$(pkg-config --libs libpcre)" "") \
- $(usex ffmpeg CONFIG+=USE_FFMPEG "") \
- $(usex libmediainfo CONFIG+=USE_MEDIAINFO "") \
- $(usex libraw CONFIG+=USE_LIBRAW "") \
- $(usex libuv CONFIG+=USE_LIBUV "") \
- DEFINES+=no_desktop \
- -recursive MEGA.pro || die "qmake failed"
-}
-
-src_compile() {
- # We have to build the SDK first
- pushd "MEGASync/mega" > /dev/null || die
- emake
- popd > /dev/null || die
-
- default
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-src_install() {
- # We have to install the SDK first
- pushd "MEGASync/mega" > /dev/null || die
- emake DESTDIR="${D}" install
- popd > /dev/null || die
-
- emake INSTALL_ROOT="${D}" install
-
- # The tools must be installed manually, as the build system isn't meant
- # to do that automatically.
- if use tools; then
- dobin MEGASync/mega/contrib/QtCreator/MEGACli/MEGAcli
- dobin MEGASync/mega/contrib/QtCreator/MEGASimplesync/MEGAsimplesync
- fi
-
- # Install desktop file
- insinto /usr/share/applications
- doins "${S}"/MEGASync/platform/linux/data/megasync.desktop
-
- # Install icons
- local s SIZES=(16 32 48 128 256)
- local p="${S}"/MEGASync/platform/linux/data/icons/hicolor
- for s in "${SIZES[@]}"; do
- doicon -s $s ${p}/${s}x${s}/apps/mega.png
- done
- local v STATUS=(synching warning paused logging uptodate)
- p="${S}"/MEGASync/gui/images
- for v in "${STATUS[@]}"; do
- newicon -s scalable -c status ${p}/${v}.svg mega${v}.svg
- done
-
- einstalldocs
-
- # Remove unwanted .la files
- find "${ED}"/ -name '*.la' -delete || die
-
- # The build system adds some unneeded files (distro, version)
- # in an unwanted directory.
- rm -rf "${ED}"/usr/share/doc/${PN}
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
deleted file mode 100644
index 8b0faee..0000000
--- a/net-misc/megasync/metadata.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>yamakuzure@gmx.net</email>
- <name>Sven Eden</name>
- <description>Proxied maintainer; set to assignee in all bugs</description>
- </maintainer>
-<longdescription lang="en">
-MEGA --- _The Privacy Company_ --- is a Secure Cloud Storage
-provider that protects your data thanks to end-to-end encryption. We call it User Controlled Encryption,
-or UCE, and all our clients automatically manage it.
-
-All files stored on MEGA are encrypted. All data transfers from and to MEGA are encrypted. And while
-most cloud storage providers can and do claim the same, MEGA is different – unlike the industry norm
-where the cloud storage provider holds the decryption key, with MEGA, you control the encryption,
-you hold the keys, and you decide who you grant or deny access to your files.
-</longdescription>
- <use>
- <flag name="api">Enable MEGA API support</flag>
- <flag name="chat">Enable chat support</flag>
- <flag name="curl">Enable cURL checks</flag>
- <flag name="doc">Generate doxygen documentation</flag>
- <flag name="dot">Generate graphics for doxygen documentation</flag>
- <flag name="examples">Build example applications like 'megacmd'.</flag>
- <flag name="inotify">Enable inotify support</flag>
- <flag name="java">Build Java language bindings</flag>
- <flag name="libmediainfo">
- Use media-libs/libmediainfo via media-libs/libzen to analyse media files
- (video, audio) and set file attributes on them to assist the web interface
- in playing them.
- </flag>
- <flag name="libraw">Use media-libs/libraw for reading RAW files</flag>
- <flag name="libressl">Use libressl instead of openssl</flag>
- <flag name="libsodium">Use dev-libs/libsodium for cryptography</flag>
- <flag name="libuv">Enable asynchronous I/O using libuv</flag>
- <flag name="pcre">Enable support for libpcre</flag>
- <flag name="php">Build PHP language bindings</flag>
- <flag name="python">Build Python language bindings</flag>
- <flag name="sync">Include sync subsystem</flag>
- <flag name="tests">Build test applications</flag>
- <flag name="tools">
- Build the optional tools MEGACli and MEGASimplesync.
- Note: megacmd is now an 'example' application!
- </flag>
- <flag name="threads">Enable multi-threading</flag>
- </use>
-</pkgmetadata>