Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/genymotion-bin/
Date: Wed, 19 Feb 2020 11:53:19
Message-Id: 1582112999.52ec388080bae64069aae9e16079f7c33abd392d.juippis@gentoo
1 commit: 52ec388080bae64069aae9e16079f7c33abd392d
2 Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 18 14:07:14 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 19 11:49:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ec3880
7
8 app-emulation/genymotion-bin: removed old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/14037
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-emulation/genymotion-bin/Manifest | 1 -
16 .../genymotion-bin/genymotion-bin-3.0.3.ebuild | 123 ---------------------
17 2 files changed, 124 deletions(-)
18
19 diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest
20 index 30c7d99fd2c..fee6b87e750 100644
21 --- a/app-emulation/genymotion-bin/Manifest
22 +++ b/app-emulation/genymotion-bin/Manifest
23 @@ -1,2 +1 @@
24 -DIST genymotion-3.0.3-linux_x64.bin 38760629 BLAKE2B 1853f5f631c8343eafa92fcd7fd42ad7663e78cc8a3848f7aa9d2ccf61009fc4e8955930142af35c4f2f9bbb9704260882e65fa0dc5e43c5d8d45e14f43218bc SHA512 8a3d5f57cb6c5018ae78940187a8c48bc19a7627f72ab746fc361afd3400a14b4f6ce2d036c828bd238b65d5346cffdf2dd55b5177c6d909b7fd749f4088d748
25 DIST genymotion-3.0.4-linux_x64.bin 38811828 BLAKE2B 6b8c2aa824bc232d09b43e1c69c1531d447bfc3341ea83a277058198f812d66e9e900abb7186d1c4a45c9e12c92ebec7c809e1641d0e3e30edf77c52fa1818e7 SHA512 28bebf3468049b5eeda9890167f89a0537fa21a42eacd3c30ae9a40616fd215282075853f35179fa40b21b124f400106d82e1cfb4949fffca741ed83ba69417b
26
27 diff --git a/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild b/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild
28 deleted file mode 100644
29 index 93ee154e77c..00000000000
30 --- a/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild
31 +++ /dev/null
32 @@ -1,123 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit bash-completion-r1 desktop pax-utils
39 -
40 -MY_PN="${PN/-bin}"
41 -MY_P="${MY_PN}-${PV}"
42 -BIN_ARCHIVE="${MY_P}-linux_x64.bin"
43 -
44 -DESCRIPTION="Complete set of tools that provide a virtual environment for Android"
45 -HOMEPAGE="https://genymotion.com"
46 -SRC_URI="${BIN_ARCHIVE}"
47 -
48 -LICENSE="genymotion"
49 -SLOT="0"
50 -KEYWORDS="-* ~amd64"
51 -
52 -DEPEND=""
53 -RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5.0.28 )
54 - virtual/opengl
55 - || (
56 - dev-libs/openssl-compat:1.0.0
57 - =dev-libs/openssl-1.0*:0
58 - )
59 - dev-libs/hiredis:0/0.14
60 - sys-apps/util-linux
61 -"
62 -BDEPEND=">=dev-util/patchelf-0.9_p20180129"
63 -
64 -RESTRICT="bindist fetch"
65 -S="${WORKDIR}"
66 -
67 -QA_PREBUILT="
68 - opt/${MY_PN}/*.so*
69 - opt/${MY_PN}/imageformats/*.so
70 - opt/${MY_PN}/plugins/*.so*
71 - opt/${MY_PN}/${MY_PN}
72 - opt/${MY_PN}/genyshell
73 - opt/${MY_PN}/player
74 - opt/${MY_PN}/${MY_PN}adbtunneld
75 - opt/${MY_PN}/gmtool
76 -"
77 -
78 -pkg_nofetch() {
79 - einfo
80 - einfo "Please visit"
81 - einfo
82 - einfo " https://www.genymotion.com/download/"
83 - einfo
84 - einfo "and download "
85 - einfo
86 - einfo " ${BIN_ARCHIVE}"
87 - einfo
88 - einfo "which must be placed in DISTDIR directory."
89 - einfo
90 -}
91 -
92 -src_unpack() {
93 - cp "${DISTDIR}/${BIN_ARCHIVE}" "${WORKDIR}" || die "cp failed"
94 -}
95 -
96 -src_prepare() {
97 - default
98 -
99 - chmod +x ${BIN_ARCHIVE} || die "chmod failed"
100 - yes | ./${BIN_ARCHIVE} > /dev/null || die "unpack failed"
101 -
102 - # removed windows line for bashcompletion
103 - sed -i "/complete -F _gmtool gmtool.exe/d" "${MY_PN}/completion/bash/gmtool.bash" || die "sed failed"
104 -
105 - # patch to support newer hiredis version (0.14)
106 - for i in genymotion genyshell gmtool player libcom.so.1.0.0 librendering.so.1.0.0 ; do
107 - patchelf --replace-needed libhiredis.so.0.13 libhiredis.so.0.14 "${MY_PN}/${i}" || die "Unable to patch ${i} for hiredis"
108 - done
109 -}
110 -
111 -src_install() {
112 - insinto /opt/"${MY_PN}"
113 - exeinto /opt/"${MY_PN}"
114 -
115 - # Use qt bundled
116 - doins -r "${MY_PN}"/{geoservices,Qt,QtGraphicalEffects,QtLocation,QtPositioning,QtQuick,QtQuick.2}
117 - doins -r "${MY_PN}"/{icons,imageformats,platforms,plugins,sqldrivers,translations,xcbglintegrations}
118 - doins "${MY_PN}"/libQt*
119 - doins "${MY_PN}"/qt.conf
120 - doins "${MY_PN}"/libicu*
121 -
122 - doexe "${MY_PN}"/{libcom,librendering,libswscale,libavutil}.so*
123 - # android library
124 - doexe "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so*
125 -
126 - find "${ED}/opt/${MY_PN}" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
127 -
128 - doexe "${MY_PN}"/{genymotion,genyshell,player,genymotionadbtunneld,gmtool}
129 -
130 - pax-mark -m "${ED}/opt/${MY_PN}/genymotion"
131 - pax-mark -m "${ED}/opt/${MY_PN}/gmtool"
132 -
133 - dosym ../"${MY_PN}"/genyshell /opt/bin/genyshell
134 - dosym ../"${MY_PN}"/genymotion /opt/bin/genymotion
135 - dosym ../"${MY_PN}"/gmtool /opt/bin/gmtool
136 -
137 - newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool
138 -
139 - insinto /usr/share/zsh/site-functions
140 - doins "${MY_PN}/completion/zsh/_gmtool"
141 -
142 - sed -i -e "s:Icon.*:Icon=/opt/${MY_PN}/icons/icon.png:" \
143 - -e "s:Exec.*:Exec=/opt/${MY_PN}/genymotion:" \
144 - "${HOME}"/.local/share/applications/genymobile-genymotion.desktop || die "sed failed"
145 - domenu "${HOME}"/.local/share/applications/genymobile-genymotion.desktop
146 -}
147 -
148 -pkg_postinst() {
149 - elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager"
150 - elog "'Android SDK Platform-tools' and 'Android SDK Tools'"
151 - elog "Your user should also be in the android group to work correctly"
152 - elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)"
153 - elog
154 - elog " /opt/android-sdk-update-manager"
155 -}