1 |
commit: ab73d729d0561a602cfa42d83391ed76a459074a |
2 |
Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Aug 5 16:35:11 2017 +0000 |
4 |
Commit: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 4 20:45:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab73d729 |
7 |
|
8 |
app-emulation/genymotion-bin: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
Signed-off-by: Ettore Di Giacinto <mudler <AT> gentoo.org> |
13 |
|
14 |
app-emulation/genymotion-bin/Manifest | 1 - |
15 |
.../genymotion-bin/genymotion-bin-2.9.0-r1.ebuild | 122 --------------------- |
16 |
2 files changed, 123 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest |
19 |
index 7cf888d100d..7bdf1601ca4 100644 |
20 |
--- a/app-emulation/genymotion-bin/Manifest |
21 |
+++ b/app-emulation/genymotion-bin/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST genymotion-2.10.0-linux_x64.bin 44847023 SHA256 558d9faf96780ddd972b7769d0e3871b71cdbc104c291d40b0be0092607dec60 SHA512 fe89376a48121b9c3cb1392d7365e13ee2865b795b1d8712e3461072bd0e0d38fd309814d7ecd5518fe2673229fb2e49b4c239211f4308f1057f3d01052d4007 WHIRLPOOL fea75a4d17bdb158316024db2b6d3f2e6e370595602b58fb7f38aa6a0bb91f0c11974548a5d2790179d139a374f515355f1e564de0e5a704afe0255b78e15509 |
24 |
-DIST genymotion-2.9.0-linux_x64.bin 44858494 SHA256 2392c8fdce45354d109b001e72d994f26bd6d4a3976ef91f02404178dc66c110 SHA512 cf96b804ecfb5c620d20ce601ab6a99bdcc9365efa9bf6e830ac54c75ad2838372115db425a549b89a05bc496ce39dbb51a3abeba1641e300f801f996eeaaf1f WHIRLPOOL 49b2abe0f04b34810140410deac8a0063787963828186b97bc595da94686b50b46c5c7422dcc4bb49b26eb8cf438e696914f11fd0bb37f0830731781bfe401d8 |
25 |
|
26 |
diff --git a/app-emulation/genymotion-bin/genymotion-bin-2.9.0-r1.ebuild b/app-emulation/genymotion-bin/genymotion-bin-2.9.0-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index b0faa6ff4a4..00000000000 |
29 |
--- a/app-emulation/genymotion-bin/genymotion-bin-2.9.0-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,122 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-inherit eutils bash-completion-r1 pax-utils |
38 |
- |
39 |
-MY_PN="${PN/-bin}" |
40 |
-MY_P="${MY_PN}-${PV}" |
41 |
- |
42 |
-DESCRIPTION="Complete set of tools that provide a virtual environment for Android" |
43 |
-HOMEPAGE="http://genymotion.com" |
44 |
-SRC_URI="${MY_P}-linux_x64.bin" |
45 |
-DOWNLOAD_URL="https://www.genymotion.com/download/" |
46 |
- |
47 |
-LICENSE="genymotion" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="-* ~amd64" |
50 |
- |
51 |
-DEPEND="" |
52 |
-RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5.0.28 ) |
53 |
- virtual/opengl |
54 |
- dev-libs/openssl |
55 |
- dev-qt/qtgui:5 |
56 |
- dev-qt/qtnetwork:5 |
57 |
- dev-qt/qtopengl:5 |
58 |
- dev-qt/qtsql:5[sqlite] |
59 |
- dev-qt/qtwebkit:5 |
60 |
- dev-qt/qtwebsockets:5 |
61 |
- dev-qt/qtsvg:5 |
62 |
- dev-qt/qtx11extras:5 |
63 |
- dev-qt/qtdeclarative:5[widgets] |
64 |
- dev-qt/qtquickcontrols:5 |
65 |
- dev-qt/qtconcurrent:5 |
66 |
- dev-qt/qtgraphicaleffects:5 |
67 |
- sys-apps/util-linux |
68 |
-" |
69 |
-# note if you compile protobuf with >=gcc-5.1 you need to disable the new c++11 abi |
70 |
-# -D_GLIBCXX_USE_CXX11_ABI=0 to your CXXFLAGS for protobuf |
71 |
-# =dev-libs/protobuf-2.6* |
72 |
- |
73 |
-RESTRICT="bindist fetch" |
74 |
-S="${WORKDIR}" |
75 |
- |
76 |
-pkg_nofetch() { |
77 |
- einfo |
78 |
- einfo "Please visit ${DOWNLOAD_URL} and download ${A}" |
79 |
- einfo "which must be placed in DISTDIR directory." |
80 |
- einfo |
81 |
-} |
82 |
- |
83 |
-src_unpack() { |
84 |
- cp "${DISTDIR}/${A}" "${WORKDIR}" || die "cp failed" |
85 |
-} |
86 |
- |
87 |
-src_prepare() { |
88 |
- default |
89 |
- |
90 |
- # removed function _install_desktop_file because happens outside of sandbox |
91 |
- sed -i -e "s/_install_desktop_file\ ||\ abort//" ${A} || die "sed failed" |
92 |
- chmod +x ${A} || die "chmod failed" |
93 |
- yes | ./${A} -d "${S}" > /dev/null || die "unpack failed" |
94 |
- |
95 |
- # removed windows line for bashcompletion |
96 |
- sed -i -e "s/complete\ -F\ _gmtool\ gmtool.exe//" "${S}/${MY_PN}/completion/bash/gmtool.bash" || die "sed failed" |
97 |
-} |
98 |
- |
99 |
-QA_PREBUILT=" |
100 |
- opt/${MY_PN}/*.so* |
101 |
- opt/${MY_PN}/imageformats/*.so |
102 |
- opt/${MY_PN}/plugins/*.so* |
103 |
- opt/${MY_PN}/device-upgrade |
104 |
- opt/${MY_PN}/${MY_PN} |
105 |
- opt/${MY_PN}/genyshell |
106 |
- opt/${MY_PN}/player |
107 |
- opt/${MY_PN}/${MY_PN}adbtunneld |
108 |
- opt/${MY_PN}/gmtool |
109 |
-" |
110 |
- |
111 |
-src_install() { |
112 |
- insinto /opt/"${MY_PN}" |
113 |
- doins -r "${MY_PN}"/{plugins,translations,icons} |
114 |
- |
115 |
- doins "${MY_PN}"/{libcom,librendering}.so* |
116 |
- # library that differ from system version |
117 |
- doins "${MY_PN}"/{libswscale,libavutil,libprotobuf}.so* |
118 |
- # android library |
119 |
- doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender,libemugl_logger}.so* |
120 |
- |
121 |
- insopts -m0755 |
122 |
- doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool} |
123 |
- |
124 |
- pax-mark -m "${ED%/}/opt/${MY_PN}/${MY_PN}" |
125 |
- pax-mark -m "${ED%/}/opt/${MY_PN}/gmtool" |
126 |
- |
127 |
- dosym "${ED%/}"/opt/"${MY_PN}"/genyshell /opt/bin/genyshell |
128 |
- dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}" /opt/bin/"${MY_PN}" |
129 |
- dosym "${ED%/}"/opt/"${MY_PN}"/gmtool /opt/bin/gmtool |
130 |
- |
131 |
- # Workaround |
132 |
- dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so |
133 |
- dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/sqldrivers/libqsqlite.so /opt/"${MY_PN}"/sqldrivers/libqsqlite.so |
134 |
- |
135 |
- newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool |
136 |
- |
137 |
- if has_version "app-shells/zsh" ; then |
138 |
- insinto /usr/share/zsh/site-functions |
139 |
- doins "${MY_PN}/completion/zsh/_gmtool" |
140 |
- fi |
141 |
- |
142 |
- make_desktop_entry "/opt/${MY_PN}/${MY_PN}" "Genymotion ${PV}" "/opt/${MY_PN}/icons/icon.png" "Development;Emulator;" |
143 |
- mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${MY_PN}".desktop || die "mv failed" |
144 |
-} |
145 |
- |
146 |
-pkg_postinst() { |
147 |
- elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager" |
148 |
- elog "'Android SDK Platform-tools' and 'Android SDK Tools'" |
149 |
- elog "Your user should also be in the android group to work correctly" |
150 |
- elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)" |
151 |
- elog |
152 |
- elog " /opt/android-sdk-update-manager" |
153 |
-} |