1 |
commit: 58ff38b9559b22fbcf793191b0bf45b95e502fe6 |
2 |
Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 8 07:23:36 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 18 11:55:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ff38b9 |
7 |
|
8 |
app-emulation/genymotion-bin: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com> |
12 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
13 |
|
14 |
app-emulation/genymotion-bin/Manifest | 1 - |
15 |
.../genymotion-bin/genymotion-bin-2.11.0.ebuild | 123 --------------------- |
16 |
2 files changed, 124 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest |
19 |
index 9a01451180f..462804264ea 100644 |
20 |
--- a/app-emulation/genymotion-bin/Manifest |
21 |
+++ b/app-emulation/genymotion-bin/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST genymotion-2.11.0-linux_x64.bin 45096365 BLAKE2B 8686e37a0e1bd0acf1847de40dfff650db6b723b65dc369652114c19fb51554ea9b1c1f11c8e8db568e44f50aaf043617ee263258d04e2e90e6c23bb41a0cf56 SHA512 b128fbe1e27120cdd88a6ac4661031231cc17fc0adf007fa986f7892571db7d8ce259bf6f106eb9e620149572d5ca242ae6032b7360ba7502b208ac18ef98e2e |
24 |
DIST genymotion-2.12.2-linux_x64.bin 45850812 BLAKE2B 74c3dfa73818f1d7318235d13acbff79d5dd27fd8d7c8cd246046406aaf8f2b9cdb9e9cb7c44bd294b0a047c2bd1e6a419bd4191dd3e332d82494f358cc9d73c SHA512 31b1c9de1a264f285938fcc62612a6aa74393e88f6075664f3e168c5226e74ab25e72061904716f6b2d33ed77221b8c4605c247090c7e2fd149ea8be96f9b5dc |
25 |
|
26 |
diff --git a/app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild b/app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 15acb33f5a0..00000000000 |
29 |
--- a/app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,123 +0,0 @@ |
32 |
-# Copyright 1999-2018 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="https://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 |
- media-libs/gst-plugins-base:0.10 |
69 |
-" |
70 |
-# note if you compile protobuf with >=gcc-5.1 you need to disable the new c++11 abi |
71 |
-# -D_GLIBCXX_USE_CXX11_ABI=0 to your CXXFLAGS for protobuf |
72 |
-# =dev-libs/protobuf-2.6* |
73 |
- |
74 |
-RESTRICT="bindist fetch" |
75 |
-S="${WORKDIR}" |
76 |
- |
77 |
-pkg_nofetch() { |
78 |
- einfo |
79 |
- einfo "Please visit ${DOWNLOAD_URL} and download ${A}" |
80 |
- einfo "which must be placed in DISTDIR directory." |
81 |
- einfo |
82 |
-} |
83 |
- |
84 |
-src_unpack() { |
85 |
- cp "${DISTDIR}/${A}" "${WORKDIR}" || die "cp failed" |
86 |
-} |
87 |
- |
88 |
-src_prepare() { |
89 |
- default |
90 |
- |
91 |
- # removed function _install_desktop_file because happens outside of sandbox |
92 |
- sed -i -e "s/_install_desktop_file\ ||\ abort//" ${A} || die "sed failed" |
93 |
- chmod +x ${A} || die "chmod failed" |
94 |
- yes | ./${A} -d "${S}" > /dev/null || die "unpack failed" |
95 |
- |
96 |
- # removed windows line for bashcompletion |
97 |
- sed -i -e "s/complete\ -F\ _gmtool\ gmtool.exe//" "${S}/${MY_PN}/completion/bash/gmtool.bash" || die "sed failed" |
98 |
-} |
99 |
- |
100 |
-QA_PREBUILT=" |
101 |
- opt/${MY_PN}/*.so* |
102 |
- opt/${MY_PN}/imageformats/*.so |
103 |
- opt/${MY_PN}/plugins/*.so* |
104 |
- opt/${MY_PN}/device-upgrade |
105 |
- opt/${MY_PN}/${MY_PN} |
106 |
- opt/${MY_PN}/genyshell |
107 |
- opt/${MY_PN}/player |
108 |
- opt/${MY_PN}/${MY_PN}adbtunneld |
109 |
- opt/${MY_PN}/gmtool |
110 |
-" |
111 |
- |
112 |
-src_install() { |
113 |
- insinto /opt/"${MY_PN}" |
114 |
- doins -r "${MY_PN}"/{plugins,translations,icons} |
115 |
- |
116 |
- doins "${MY_PN}"/{libcom,librendering}.so* |
117 |
- # library that differ from system version |
118 |
- doins "${MY_PN}"/libprotobuf.so* |
119 |
- # android library |
120 |
- doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender,libemugl_logger}.so* |
121 |
- |
122 |
- insopts -m0755 |
123 |
- doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool} |
124 |
- |
125 |
- pax-mark -m "${ED%/}/opt/${MY_PN}/${MY_PN}" |
126 |
- pax-mark -m "${ED%/}/opt/${MY_PN}/gmtool" |
127 |
- |
128 |
- dosym "${ED%/}"/opt/"${MY_PN}"/genyshell /opt/bin/genyshell |
129 |
- dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}" /opt/bin/"${MY_PN}" |
130 |
- dosym "${ED%/}"/opt/"${MY_PN}"/gmtool /opt/bin/gmtool |
131 |
- |
132 |
- # Workaround |
133 |
- dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so |
134 |
- dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/sqldrivers/libqsqlite.so /opt/"${MY_PN}"/sqldrivers/libqsqlite.so |
135 |
- |
136 |
- newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool |
137 |
- |
138 |
- if has_version "app-shells/zsh" ; then |
139 |
- insinto /usr/share/zsh/site-functions |
140 |
- doins "${MY_PN}/completion/zsh/_gmtool" |
141 |
- fi |
142 |
- |
143 |
- make_desktop_entry "/opt/${MY_PN}/${MY_PN}" "Genymotion ${PV}" "/opt/${MY_PN}/icons/icon.png" "Development;Emulator;" |
144 |
- mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${MY_PN}".desktop || die "mv failed" |
145 |
-} |
146 |
- |
147 |
-pkg_postinst() { |
148 |
- elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager" |
149 |
- elog "'Android SDK Platform-tools' and 'Android SDK Tools'" |
150 |
- elog "Your user should also be in the android group to work correctly" |
151 |
- elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)" |
152 |
- elog |
153 |
- elog " /opt/android-sdk-update-manager" |
154 |
-} |