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