diff options
author | Sven Eden <sven.eden@gmx.de> | 2016-08-16 22:29:25 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@gmx.de> | 2016-08-16 22:29:25 +0200 |
commit | 0aa8fe660910e1801892de44ace3f13d78fecbbc (patch) | |
tree | 100b2001a4544c81824a51f59adb531495750832 /net-misc | |
parent | Big cleanup_ Removed a lot of old versions, which have equal or better in the... (diff) | |
download | seden-0aa8fe660910e1801892de44ace3f13d78fecbbc.tar.gz seden-0aa8fe660910e1801892de44ace3f13d78fecbbc.tar.bz2 seden-0aa8fe660910e1801892de44ace3f13d78fecbbc.zip |
net-misc/megasync : Ebuilds for versions 15.10 and 16.04 supporting libressl.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/megasync/Manifest | 7 | ||||
-rw-r--r-- | net-misc/megasync/megasync-15.10-r1.ebuild | 63 | ||||
-rw-r--r-- | net-misc/megasync/megasync-16.04-r1.ebuild | 69 | ||||
-rw-r--r-- | net-misc/megasync/metadata.xml | 7 |
4 files changed, 146 insertions, 0 deletions
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest new file mode 100644 index 0000000..5791aad --- /dev/null +++ b/net-misc/megasync/Manifest @@ -0,0 +1,7 @@ +DIST megasync-xUbuntu_15.10_amd64.deb 1970770 SHA256 8863c9b1db52544bf73c006a9fa2ddd1f7a7ea1c9edc2119576afe6b3baf3bf8 SHA512 5f366bd076ba4d4139f910a85341037c16c22233c64873a75ae53154940dd4b8532da1a539082fe11f931fdcaad4ae5a66a1a296d89a62f343fb0535eb6dd3eb WHIRLPOOL 217a68538aa2930128b3893e39ae58f4693b2d369bb5a6113bb7f132ce1f6425ebde0cf5b0ca5ab98d3509d4f702bdeed1fc9a10eaa58240cda194ede49731ca +DIST megasync-xUbuntu_15.10_i386.deb 1971168 SHA256 5235d4bbf47d496750535f7c131bb3260a44cccf278d36b1918d37b9bb60b08d SHA512 abaac57244a6b07185b13571d0861d4ab5a7a78ebe30ff2da368e305a4d5fae9416894718f37b5793fa7ade962cedb5ac99814de038412eb69009cdc44b0e56d WHIRLPOOL 45d3c2f9af6c85aecbb0e0fb0b4246847989d3bec455d9cbeafd762f887ea29670750c920095a52f0f8003929400911d37fc9d97b166a8ec4c2a049c99c7037d +DIST megasync-xUbuntu_16.04_amd64.deb 2050624 SHA256 c002e27cd4d770f1efeb6dedebeae00c3961b26b85b60cc5864a4b4556bb24e3 SHA512 5f69b774e3835a15175156b429c095a9c7d8c06d9a2cac69ec794941001a9538b32258aa7b04b574351ca020a0f37057de311d668d89caccf81924e2d4029a75 WHIRLPOOL 832d8f867a6847af1e21276cbdaa63cd5f03c94af6880beeebfb62cff2aae201231fd8f5c64140a1f96414af8f7d2f28374c2d9916272a648d326279fde33020 +DIST megasync-xUbuntu_16.04_i386.deb 2101198 SHA256 64c96642da3f162ea058a70922f6adba1130d5990099c08e3a289e1462904eb8 SHA512 27abc1fc1b8eceffc7baf316ac82678dab1031e4268ecacccadfafdc30a07f819f5a7eb3979a643e2c28fa1d9a72cc6b94c1e7d08b4a96996bbb27ff9d2f03a4 WHIRLPOOL f56d65a5c4dea63b7a4892af2cd198109695efff6d92e0dfe2cebf8618d8a227081a96c4dcc7fb8805ca89a324f2e5a536b464e2b5fc3ff2c26f480eca6ab4b1 +EBUILD megasync-15.10-r1.ebuild 1524 SHA256 11a6cd82f79c7501d289a580b910945b025acf4cb8d2d6c1aad87b6eb6e8f345 SHA512 30fe6b229094e6f4fcfa4b064c7fa3c0cf9636514b1c4cf2036ceb9e45dac617c8086cfbc1344d5cd43ce1ded515f717bfb6a0a96ff92a29d8d12e712efe4488 WHIRLPOOL f5a682a816e407e08b7dccc539cc99c8eee1829cbd94e83d454578465439d1a54e330dacb81301fdcdb27a00f426795d01c055ec7cd930b158dd5f17c83c17c8 +EBUILD megasync-16.04-r1.ebuild 1716 SHA256 8bd3cad441924211c2826da5a9fcabcbc0b9efb3ff5db1248f12c45b285effe0 SHA512 752407d720450ad2763caa159729c47f49fb9671753c3a9d3b92c2109653f29eca2072c33cf2672e6b14dc665e78bb1ef1236490609a83097c87ecbd5c2f8dd2 WHIRLPOOL 64cc4ea9b90fc852294778a99f9abb837329abc06dd7524e44792eeecefc045726962079a16260721f73d20603c7880f70efeecc98bca37f3fc3bd3c6544f2d3 +MISC metadata.xml 204 SHA256 951088e257a7f68e2a93e1233b190a2957a1223d1d1198266ddc3ae63c1f225f SHA512 43b800edbde0a05364309101d726cf2fefa7c45668f255334ede2c5c1b9c8bc1deb381cbe23d78ce24928ee7c8de3b7ac680afbc594a583ff69eb527389e2ae7 WHIRLPOOL 920202bf61fecacaf73c515b2bfaa842f1b1142693a8ef66615f02b694cfd830706a55158c5a559eedf2e5d04a078fd32b9bef9186c11239e2056179d642a036 diff --git a/net-misc/megasync/megasync-15.10-r1.ebuild b/net-misc/megasync/megasync-15.10-r1.ebuild new file mode 100644 index 0000000..0157248 --- /dev/null +++ b/net-misc/megasync/megasync-15.10-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils multilib + +DESCRIPTION="The official QT-Based mega.co.nz client for sync your MEGA account" +HOMEPAGE="http://mega.co.nz" + +URL_64="https://mega.nz/linux/MEGAsync/xUbuntu_${PV}/amd64/${PN}-xUbuntu_${PV}_amd64.deb" +URL_32="https://mega.nz/linux/MEGAsync/xUbuntu_${PV}/i386/${PN}-xUbuntu_${PV}_i386.deb" + +SRC_URI=" + amd64? ( ${URL_64} ) + x86? ( ${URL_32} ) +" + +LICENSE="TheClarifiedArtisticLicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="mirror" + +IUSE="libressl" + +DEPEND=" + sys-devel/binutils + app-arch/tar +" + +RDEPEND=" + dev-qt/qtdbus:4 + libressl? ( dev-libs/libressl ) + !libressl? ( dev-libs/openssl ) + media-libs/libpng + net-dns/c-ares" + +S="${WORKDIR}" + +src_unpack() { + unpack $A + unpack ./data.tar.xz + cd ./usr +} + +src_install() { + exeinto /usr/bin + doexe usr/bin/megasync + domenu usr/share/applications/megasync.desktop + doicon -s 16 usr/share/icons/hicolor/16x16/apps/mega.png + doicon -s 32 usr/share/icons/hicolor/32x32/apps/mega.png + doicon -s 48 usr/share/icons/hicolor/48x48/apps/mega.png + doicon -s 128 usr/share/icons/hicolor/128x128/apps/mega.png + doicon -s 256 usr/share/icons/hicolor/256x256/apps/mega.png + + # Unfortunately the damn thing wants openssl so-names, + # although it works fine with libressl + if use libressl; then + dosym "libcrypto.so" "${EPREFIX}usr/$(get_libdir)/libcrypto.so.1.0.0" + dosym "libssl.so" "${EPREFIX}usr/$(get_libdir)/libssl.so.1.0.0" + fi +} diff --git a/net-misc/megasync/megasync-16.04-r1.ebuild b/net-misc/megasync/megasync-16.04-r1.ebuild new file mode 100644 index 0000000..42c5583 --- /dev/null +++ b/net-misc/megasync/megasync-16.04-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils multilib + +DESCRIPTION="The official QT-Based mega.co.nz client for sync your MEGA account" +HOMEPAGE="http://mega.co.nz" + +URL_64="https://mega.nz/linux/MEGAsync/xUbuntu_${PV}/amd64/${PN}-xUbuntu_${PV}_amd64.deb" +URL_32="https://mega.nz/linux/MEGAsync/xUbuntu_${PV}/i386/${PN}-xUbuntu_${PV}_i386.deb" + +SRC_URI=" + amd64? ( ${URL_64} ) + x86? ( ${URL_32} ) +" + +LICENSE="TheClarifiedArtisticLicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="mirror" + +IUSE="libressl" + +DEPEND=" + sys-devel/binutils + app-arch/tar +" + +RDEPEND=" + dev-qt/qtdbus:4 + libressl? ( dev-libs/libressl ) + !libressl? ( dev-libs/openssl ) + media-libs/libpng + net-dns/c-ares + dev-libs/crypto++" + +S="${WORKDIR}" + +src_unpack() { + unpack $A + unpack ./data.tar.xz + cd ./usr +} + +src_install() { + exeinto /usr/bin + doexe usr/bin/megasync + domenu usr/share/applications/megasync.desktop + doicon -s 16 usr/share/icons/hicolor/16x16/apps/mega.png + doicon -s 32 usr/share/icons/hicolor/32x32/apps/mega.png + doicon -s 48 usr/share/icons/hicolor/48x48/apps/mega.png + doicon -s 128 usr/share/icons/hicolor/128x128/apps/mega.png + doicon -s 256 usr/share/icons/hicolor/256x256/apps/mega.png + + # Unfortunately the damn thing wants openssl so-names, + # although it works fine with libressl + if use libressl; then + dosym "libcrypto.so" "${EPREFIX}usr/$(get_libdir)/libcrypto.so.1.0.0" + dosym "libssl.so" "${EPREFIX}usr/$(get_libdir)/libssl.so.1.0.0" + fi + + # Our libcrypto++ installs as + # libcrypto++.so.0.0.0 but mega sync needs + # libcrypto++.so.9 + dosym "libcrypto++.so.0.0.0" "${EPREFIX}usr/$(get_libdir)/libcrypto++.so.9" +} diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml new file mode 100644 index 0000000..ab0b332 --- /dev/null +++ b/net-misc/megasync/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>yamakuzure@gmx.net</email> + </maintainer> +</pkgmetadata> |