1 |
commit: 5b260de49eddbacfe246f15d803a0e473b2a4d85 |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 10 17:23:36 2019 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Feb 10 17:23:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=5b260de4 |
7 |
|
8 |
Remove megasync 3.7.1 ebuild that is missing an important dependency at build time |
9 |
|
10 |
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> |
11 |
|
12 |
net-misc/megasync/megasync-3.7.1.ebuild | 145 -------------------------------- |
13 |
1 file changed, 145 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/megasync/megasync-3.7.1.ebuild b/net-misc/megasync/megasync-3.7.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 41e8d6f..0000000 |
18 |
--- a/net-misc/megasync/megasync-3.7.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,145 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Header: $ |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit eutils multilib qmake-utils autotools versionator git-r3 |
28 |
- |
29 |
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app." |
30 |
-HOMEPAGE="http://mega.co.nz" |
31 |
-if [[ ${PV} == *9999* ]];then |
32 |
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync" |
33 |
- KEYWORDS="" |
34 |
- EGIT_SUBMODULES=( '*' ) |
35 |
-else |
36 |
- #SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04" |
37 |
- #MY_PV="$(replace_all_version_separators _)" |
38 |
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync" |
39 |
- EGIT_COMMIT="v${PV}.0_Linux" |
40 |
- EGIT_SUBMODULES=( '*' ) |
41 |
- #SRC_URI="https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz |
42 |
- #https://github.com/meganz/sdk/archive/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz" |
43 |
- KEYWORDS="~x86 ~amd64" |
44 |
- #RESTRICT="mirror" |
45 |
- #S="${WORKDIR}/MEGAsync-${PV}.0_Linux" |
46 |
-fi |
47 |
- |
48 |
-LICENSE="MEGA" |
49 |
-SLOT="0" |
50 |
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python gnome" |
51 |
- |
52 |
-DEPEND=" |
53 |
- dev-lang/swig |
54 |
- app-doc/doxygen |
55 |
- media-libs/libmediainfo |
56 |
- !qt5? ( |
57 |
- dev-qt/qtcore:4 |
58 |
- dev-qt/qtgui:4 |
59 |
- dev-qt/qtdbus:4 |
60 |
- dev-libs/sni-qt |
61 |
- ) |
62 |
- qt5? ( |
63 |
- dev-qt/qtcore:5 |
64 |
- dev-qt/linguist-tools |
65 |
- dev-qt/qtwidgets:5 |
66 |
- dev-qt/qtgui:5 |
67 |
- dev-qt/qtconcurrent:5 |
68 |
- dev-qt/qtnetwork:5 |
69 |
- dev-qt/qtdbus:5 |
70 |
- )" |
71 |
-RDEPEND="${DEPEND} |
72 |
- x11-themes/hicolor-icon-theme |
73 |
- dev-libs/openssl |
74 |
- dev-libs/libgcrypt |
75 |
- media-libs/libpng |
76 |
- net-dns/c-ares |
77 |
- cryptopp? ( dev-libs/crypto++ ) |
78 |
- app-arch/xz-utils |
79 |
- dev-libs/libuv |
80 |
- sqlite? ( dev-db/sqlite:3 ) |
81 |
- dev-libs/libsodium |
82 |
- zlib? ( sys-libs/zlib ) |
83 |
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] ) |
84 |
- freeimage? ( media-libs/freeimage ) |
85 |
- readline? ( sys-libs/readline:0 ) |
86 |
- " |
87 |
- |
88 |
-PATCHES=( ) |
89 |
- |
90 |
-if [[ ${PV} != *9999* ]];then |
91 |
- src_prepare(){ |
92 |
- #default |
93 |
- # Not needed, since using git submodules |
94 |
- #cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega |
95 |
- if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then |
96 |
- EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" |
97 |
- fi |
98 |
- if [ ! -z ${PATCHES} ]; then |
99 |
- epatch ${PATCHES} |
100 |
- fi |
101 |
- if use gnome; then |
102 |
- if [ -e "${FILESDIR}${P}-gnome.patch" ]; then |
103 |
- epatch "${FILESDIR}/${P}-gnome.patch" |
104 |
- fi |
105 |
- fi |
106 |
- eapply_user |
107 |
- cd src/MEGASync/mega |
108 |
- eautoreconf |
109 |
- } |
110 |
-fi |
111 |
- |
112 |
-src_configure(){ |
113 |
- cd "${S}"/src/MEGASync/mega |
114 |
- econf \ |
115 |
- "--disable-silent-rules" \ |
116 |
- "--disable-curl-checks" \ |
117 |
- "--disable-megaapi" \ |
118 |
- $(use_with zlib) \ |
119 |
- $(use_with sqlite) \ |
120 |
- $(use_with cryptopp) \ |
121 |
- "--with-cares" \ |
122 |
- $(use_with curl) \ |
123 |
- "--without-termcap" \ |
124 |
- $(use_enable threads posix-threads) \ |
125 |
- "--with-sodium" \ |
126 |
- $(use_with freeimage) \ |
127 |
- $(use_with readline) \ |
128 |
- $(use_enable examples) \ |
129 |
- $(use_enable java) \ |
130 |
- $(use_enable php) \ |
131 |
- $(use_enable python) \ |
132 |
- "--enable-chat" \ |
133 |
- "--enable-gcc-hardening" |
134 |
- cd ../.. |
135 |
- local myeqmakeargs=( |
136 |
- MEGA.pro |
137 |
- CONFIG+="release" |
138 |
- ) |
139 |
- if use qt5; then |
140 |
- eqmake5 ${myeqmakeargs[@]} |
141 |
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro |
142 |
- else |
143 |
- eqmake4 ${myeqmakeargs[@]} |
144 |
- $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-src_compile(){ |
149 |
- cd "${S}"/src |
150 |
- emake INSTALL_ROOT="${D}" || die |
151 |
-} |
152 |
- |
153 |
-src_install(){ |
154 |
- insinto usr/share/licenses/${PN} |
155 |
- doins LICENCE.md installer/terms.txt |
156 |
- cd src/MEGASync |
157 |
- dobin ${PN} |
158 |
- cd platform/linux/data |
159 |
- insinto usr/share/applications |
160 |
- doins ${PN}.desktop |
161 |
- cd icons/hicolor |
162 |
- for size in 16x16 32x32 48x48 128x128 256x256;do |
163 |
- doicon -s $size $size/apps/mega.png |
164 |
- done |
165 |
-} |