From: "Ettore Di Giacinto" <mudler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/genymotion-bin/
Date: Tue, 24 Jan 2017 18:24:12 +0000 (UTC) [thread overview]
Message-ID: <1485282098.56ca5233104bbf6fa9145b3aae5b83c5660371ee.mudler@gentoo> (raw)
commit: 56ca5233104bbf6fa9145b3aae5b83c5660371ee
Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Mon Jan 23 17:03:27 2017 +0000
Commit: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 18:21:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ca5233
app-emulation/genymotion-bin: add new package, version 2.8.1 wrt bug #516448
Package-Manager: portage-2.3.0
Signed-off-by: Ettore Di Giacinto <mudler <AT> gentoo.org>
app-emulation/genymotion-bin/Manifest | 1 +
.../genymotion-bin/genymotion-bin-2.8.1.ebuild | 107 +++++++++++++++++++++
app-emulation/genymotion-bin/metadata.xml | 18 ++++
3 files changed, 126 insertions(+)
diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest
new file mode 100644
index 00000000..2a4b03b
--- /dev/null
+++ b/app-emulation/genymotion-bin/Manifest
@@ -0,0 +1 @@
+DIST genymotion-2.8.1_x64.bin 47061574 SHA256 4f971beb117c578d07ca71a7a8d6cd3a574fdee2df48eb165a15a26b57625408 SHA512 8ca4f46e983ffa2a19c21e961b6638af859f7635bd3a976c0b5709622a536569c81ccf3b08f52f0016e37990d83b1fd38cc86c9dbb5599e727fd48558567dfa7 WHIRLPOOL 2ccd896f1f017d2399366d822b5615b607fe74d557d3c3b6c746bdd2814cd081835397608a08f1135367cb79a26e19917f0f4186d1e535b63f347647afbbc5ce
diff --git a/app-emulation/genymotion-bin/genymotion-bin-2.8.1.ebuild b/app-emulation/genymotion-bin/genymotion-bin-2.8.1.ebuild
new file mode 100644
index 00000000..fe780e6
--- /dev/null
+++ b/app-emulation/genymotion-bin/genymotion-bin-2.8.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils bash-completion-r1
+
+MY_PN="${PN/-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Complete set of tools that provide a virtual environment for Android"
+HOMEPAGE="http://genymotion.com"
+SRC_URI="${MY_P}_x64.bin"
+DOWNLOAD_URL="https://www.genymotion.com/download/"
+
+LICENSE="genymotion"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+DEPEND=""
+RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5.0.28 )
+ virtual/opengl
+ media-libs/libpng:1.2
+ dev-libs/openssl
+ dev-qt/qtgui:5[libinput,xcb]
+ dev-qt/qtsql:5[sqlite]
+ dev-util/android-sdk-update-manager
+ media-libs/jpeg:8
+ dev-libs/protobuf:0/9
+ dev-libs/double-conversion
+ sys-apps/util-linux
+ media-libs/fontconfig:1.0
+ media-libs/harfbuzz[graphite]
+ >=dev-libs/libffi-3.0.13-r1
+ media-libs/gstreamer[orc]
+"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo
+ einfo "Please visit ${DOWNLOAD_URL} and download ${MY_P}_x64.bin"
+ einfo "which must be placed in ${DISTDIR}"
+ einfo
+}
+
+pkg_setup() {
+ # removed function _install_desktop_file because happens outside of sandbox
+ sed -i -e "s/_install_desktop_file\ ||\ abort//" "${DISTDIR}"/${A} || die "sed failed"
+ chmod +x "${DISTDIR}"/${A} || die "chmod failed"
+}
+
+src_unpack() {
+ yes | "${DISTDIR}"/${A} -d "${S}" > /dev/null || die "unpack failed"
+}
+
+src_prepare() {
+ default
+ # removed windows line for bashcompletion
+ sed -i -e "s/complete\ -F\ _gmtool\ gmtool.exe//" "${S}/${MY_PN}/completion/bash/gmtool.bash" || die "sed failed"
+}
+
+QA_PREBUILT="
+ opt/${MY_PN}/*.so*
+ opt/${MY_PN}/imageformats/*.so
+ opt/${MY_PN}/plugins/*.so*
+ opt/${MY_PN}/device-upgrade
+ opt/${MY_PN}/${MY_PN}
+ opt/${MY_PN}/genyshell
+ opt/${MY_PN}/player
+ opt/${MY_PN}/${MY_PN}adbtunneld
+ opt/${MY_PN}/gmtool
+"
+
+src_install() {
+ insinto /opt/"${MY_PN}"
+ doins -r "${MY_PN}"/{plugins,translations,icons}
+
+ doins "${MY_PN}"/{libcom,librendering}.so*
+ # library that differ from system version
+ doins "${MY_PN}"/{libicudata,libicui18n,libicuuc,libswscale,libavutil}.so*
+ # android library
+ doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so*
+
+ insopts -m0755
+ doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool}
+
+ dosym "${ED%/}"/opt/"${MY_PN}"/genyshell /opt/bin/genyshell
+ dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}" /opt/bin/"${MY_PN}"
+ dosym "${ED%/}"/opt/"${MY_PN}"/device-upgrade /opt/bin/"${MY_PN}"-device-upgrade
+ dosym "${ED%/}"/opt/"${MY_PN}"/player /opt/bin/"${MY_PN}"-player
+ dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}"adbtunneld /opt/bin/"${MY_PN}"adbtunneld
+ dosym "${ED%/}"/opt/"${MY_PN}"/gmtool /opt/bin/gmtool
+
+ # Workaround
+ dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so
+
+ newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool
+
+ if has_version "app-shells/zsh" ; then
+ insinto /usr/share/zsh/site-functions
+ doins "${MY_PN}/completion/zsh/_gmtool"
+ fi
+
+ make_desktop_entry "/opt/${MY_PN}/${MY_PN}" "Genymotion ${PV}" "/opt/${MY_PN}/icons/icon.png" "Development;Emulator;"
+ mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${MY_PN}".desktop || die "mv failed"
+}
diff --git a/app-emulation/genymotion-bin/metadata.xml b/app-emulation/genymotion-bin/metadata.xml
new file mode 100644
index 00000000..6a94dab
--- /dev/null
+++ b/app-emulation/genymotion-bin/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fedeliallalinea@gmail.com</email>
+ <name>Marco Genasci</name>
+ <description>Please assign bugs</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>mudler@gentoo.org</email>
+ <name>Ettore Di Giacinto</name>
+ <description>proxy-maintainer, please CC on bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2017-01-24 18:24 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 18:24 Ettore Di Giacinto [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-01-26 17:49 [gentoo-commits] repo/gentoo:master commit in: app-emulation/genymotion-bin/ Ettore Di Giacinto
2017-02-16 10:43 Ettore Di Giacinto
2017-03-25 12:53 Ettore Di Giacinto
2017-04-21 13:05 Ettore Di Giacinto
2017-06-04 15:18 Ettore Di Giacinto
2017-06-04 15:18 Ettore Di Giacinto
2017-09-04 20:45 Ettore Di Giacinto
2017-09-04 20:45 Ettore Di Giacinto
2017-11-26 22:25 Ettore Di Giacinto
2017-11-26 22:25 Ettore Di Giacinto
2017-12-21 6:41 Ulrich Müller
2018-05-20 0:16 Aaron Bauman
2018-10-18 11:56 Virgil Dupras
2018-10-18 11:56 Virgil Dupras
2019-04-27 13:24 Michał Górny
2019-04-27 13:24 Michał Górny
2019-06-14 17:46 Thomas Deutschmann
2019-12-02 22:28 Andreas Sturmlechner
2019-12-02 22:28 Andreas Sturmlechner
2020-02-19 11:53 Joonas Niilola
2020-02-19 11:53 Joonas Niilola
2020-04-17 7:36 Joonas Niilola
2020-04-17 7:36 Joonas Niilola
2020-09-15 14:11 Joonas Niilola
2020-09-15 14:11 Joonas Niilola
2020-10-31 15:58 Joonas Niilola
2020-10-31 15:58 Joonas Niilola
2021-02-01 16:32 Sam James
2021-02-10 14:55 Joonas Niilola
2021-02-10 14:55 Joonas Niilola
2021-05-04 13:30 Joonas Niilola
2021-05-04 13:30 Joonas Niilola
2023-02-01 6:16 Joonas Niilola
2023-02-01 6:16 Joonas Niilola
2023-02-26 8:01 Joonas Niilola
2023-02-26 8:01 Joonas Niilola
2023-07-02 22:22 Sam James
2023-07-26 7:38 Joonas Niilola
2023-07-26 7:38 Joonas Niilola
2024-01-20 13:10 Sam James
2024-01-20 13:10 Sam James
2024-07-11 16:29 Eli Schwartz
2024-07-11 16:29 Eli Schwartz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485282098.56ca5233104bbf6fa9145b3aae5b83c5660371ee.mudler@gentoo \
--to=mudler@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox