public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/genymotion-bin/
Date: Wed,  1 Feb 2023 06:16:47 +0000 (UTC)	[thread overview]
Message-ID: <1675232148.4799df2fc43ebd935b46b3ebd15bee981e0a5015.juippis@gentoo> (raw)

commit:     4799df2fc43ebd935b46b3ebd15bee981e0a5015
Author:     Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Wed Jan 11 15:14:00 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 06:15:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4799df2f

app-emulation/genymotion-bin: bump version to 3.3.2

Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-emulation/genymotion-bin/Manifest              |   1 +
 .../genymotion-bin/genymotion-bin-3.3.2.ebuild     | 140 +++++++++++++++++++++
 2 files changed, 141 insertions(+)

diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest
index 36557a3cd30b..5fbab3ad70bd 100644
--- a/app-emulation/genymotion-bin/Manifest
+++ b/app-emulation/genymotion-bin/Manifest
@@ -1 +1,2 @@
 DIST genymotion-3.2.1-linux_x64.bin 48264053 BLAKE2B 961b2480ed72ad29e1b71d98cedf98cb724e42032539445aa19e2783f2d714f389d983aa5d886e8f759a1a77585725daa1084ffac3d7083f72de78ccab46af77 SHA512 47589913c66dac42e107420574cdc1fd7ea6db8dacfa16c0173a72207f77d0bedf72e6c6643453b1b83e1e7d906ea52e79e3876d3d687bb689f251ce3bfa8385
+DIST genymotion-3.3.2-linux_x64.bin 66085990 BLAKE2B d2d11eaa00e387749e3257a90f3bbe30d586f1ec178d97e5f4537f331451b1161806fcf05d1c84b10b5116247023bd338ac4440e568d7e58d249055aed2f3597 SHA512 ae3bfd2c4eefceb04cd67256b291e3c7bee3c3d0e212add92086709e5fd60bee4789d2ea80732bacbcad880be472e507470afd635cb766903664ea0815ed0205

diff --git a/app-emulation/genymotion-bin/genymotion-bin-3.3.2.ebuild b/app-emulation/genymotion-bin/genymotion-bin-3.3.2.ebuild
new file mode 100644
index 000000000000..0fc8ae17fa4d
--- /dev/null
+++ b/app-emulation/genymotion-bin/genymotion-bin-3.3.2.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 desktop pax-utils
+
+MY_PN="${PN/-bin}"
+MY_P="${MY_PN}-${PV}"
+BIN_ARCHIVE="${MY_P}-linux_x64.bin"
+
+DESCRIPTION="Complete set of tools that provide a virtual environment for Android"
+HOMEPAGE="https://genymotion.com"
+SRC_URI="${BIN_ARCHIVE}"
+
+LICENSE="genymotion"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="app-arch/lz4
+	app-crypt/mit-krb5
+	app-emulation/virtualbox
+	|| (
+		dev-libs/openssl-compat:1.1.0
+		=dev-libs/openssl-1.1*:0
+	)
+	dev-libs/glib:2
+	=dev-libs/hiredis-1.0*
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/freetype
+	media-libs/libpulse
+	media-libs/gst-plugins-base:1.0
+	media-libs/gstreamer:1.0
+	sys-apps/dbus
+	sys-libs/zlib
+	virtual/opengl
+	x11-libs/libX11
+	x11-libs/libxcb
+	x11-libs/libXext
+	x11-libs/libXi
+	x11-libs/libxkbcommon
+	x11-libs/libXmu
+	x11-libs/xcb-util
+	x11-libs/xcb-util-image
+	x11-libs/xcb-util-keysyms
+	x11-libs/xcb-util-renderutil
+	x11-libs/xcb-util-wm
+"
+BDEPEND="x11-misc/xdg-utils"
+
+RESTRICT="bindist fetch"
+S="${WORKDIR}"
+
+QA_PREBUILT="
+	opt/${MY_PN}/*.so*
+	opt/${MY_PN}/imageformats/*.so
+	opt/${MY_PN}/plugins/*.so*
+	opt/${MY_PN}/${MY_PN}
+	opt/${MY_PN}/genyshell
+	opt/${MY_PN}/player
+	opt/${MY_PN}/${MY_PN}adbtunneld
+	opt/${MY_PN}/gmtool
+	opt/${MY_PN}/tools/*
+"
+
+pkg_nofetch() {
+	einfo
+	einfo "Please visit"
+	einfo
+	einfo "  https://www.genymotion.com/download/"
+	einfo
+	einfo "and download "
+	einfo
+	einfo "  ${BIN_ARCHIVE}"
+	einfo
+	einfo "which must be placed in DISTDIR directory."
+	einfo
+}
+
+src_unpack() {
+	cp "${DISTDIR}/${BIN_ARCHIVE}" "${WORKDIR}" || die "cp failed"
+}
+
+src_prepare() {
+	default
+
+	chmod +x ${BIN_ARCHIVE} || die "chmod failed"
+	yes | ./${BIN_ARCHIVE} > /dev/null || die "unpack failed"
+
+	# removed windows line for bashcompletion
+	sed -i "/complete -F _gmtool gmtool.exe/d" "${MY_PN}/completion/bash/gmtool.bash" || die "sed failed"
+
+	# copy .desktop file in S directory
+	sed -i -e "s:Icon.*:Icon=/opt/${MY_PN}/icons/genymotion-logo.png:" \
+		-e "s:Exec.*:Exec=/opt/${MY_PN}/genymotion:" \
+		"${HOME}"/.local/share/applications/genymobile-genymotion.desktop || die "sed failed"
+	cp "${HOME}"/.local/share/applications/genymobile-genymotion.desktop "${S}" || die "copy .desktop file"
+}
+
+src_install() {
+	insinto /opt/"${MY_PN}"
+	exeinto /opt/"${MY_PN}"
+
+	# Use qt bundled
+	doins -r "${MY_PN}"/{audio,geoservices,Qt,QtGraphicalEffects,QtLocation,QtPositioning,QtQuick,QtQuick.2}
+	doins -r "${MY_PN}"/{icons,imageformats,mediaservice,platforms,plugins,sqldrivers,translations,xcbglintegrations}
+	doins "${MY_PN}"/libQt*
+	doins "${MY_PN}"/qt.conf
+	doins "${MY_PN}"/libicu*
+
+	doexe "${MY_PN}"/{libcom,librendering,libshadertranslator,libswscale,libavutil}.so*
+	# android library
+	doexe "${MY_PN}"/{libOpenglRender,libemugl_logger,libemugl_common}.so*
+
+	find "${ED}/opt/${MY_PN}" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
+
+	doexe "${MY_PN}"/{genymotion,genyshell,player,gmtool}
+
+	# the android-sdk-update-manager have some bugs and lacks maintenance
+	# so installs bundled version
+	exeinto /opt/"${MY_PN}"/tools
+	doexe "${MY_PN}"/tools/{aapt,adb,glewinfo}
+	exeinto /opt/"${MY_PN}"/tools/lib64
+	doexe "${MY_PN}"/tools/lib64/libc++.so
+
+	pax-mark -m "${ED}/opt/${MY_PN}/genymotion"
+	pax-mark -m "${ED}/opt/${MY_PN}/gmtool"
+
+	dosym ../"${MY_PN}"/genyshell /opt/bin/genyshell
+	dosym ../"${MY_PN}"/genymotion /opt/bin/genymotion
+	dosym ../"${MY_PN}"/gmtool /opt/bin/gmtool
+
+	newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool
+
+	insinto /usr/share/zsh/site-functions
+	doins "${MY_PN}/completion/zsh/_gmtool"
+
+	domenu genymobile-genymotion.desktop
+}


             reply	other threads:[~2023-02-01  6:16 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01  6:16 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-11 16:29 [gentoo-commits] repo/gentoo:master commit in: app-emulation/genymotion-bin/ Eli Schwartz
2024-07-11 16:29 Eli Schwartz
2024-01-20 13:10 Sam James
2024-01-20 13:10 Sam James
2023-07-26  7:38 Joonas Niilola
2023-07-26  7:38 Joonas Niilola
2023-07-02 22:22 Sam James
2023-02-26  8:01 Joonas Niilola
2023-02-26  8:01 Joonas Niilola
2023-02-01  6:16 Joonas Niilola
2021-05-04 13:30 Joonas Niilola
2021-05-04 13:30 Joonas Niilola
2021-02-10 14:55 Joonas Niilola
2021-02-10 14:55 Joonas Niilola
2021-02-01 16:32 Sam James
2020-10-31 15:58 Joonas Niilola
2020-10-31 15:58 Joonas Niilola
2020-09-15 14:11 Joonas Niilola
2020-09-15 14:11 Joonas Niilola
2020-04-17  7:36 Joonas Niilola
2020-04-17  7:36 Joonas Niilola
2020-02-19 11:53 Joonas Niilola
2020-02-19 11:53 Joonas Niilola
2019-12-02 22:28 Andreas Sturmlechner
2019-12-02 22:28 Andreas Sturmlechner
2019-06-14 17:46 Thomas Deutschmann
2019-04-27 13:24 Michał Górny
2019-04-27 13:24 Michał Górny
2018-10-18 11:56 Virgil Dupras
2018-10-18 11:56 Virgil Dupras
2018-05-20  0:16 Aaron Bauman
2017-12-21  6:41 Ulrich Müller
2017-11-26 22:25 Ettore Di Giacinto
2017-11-26 22:25 Ettore Di Giacinto
2017-09-04 20:45 Ettore Di Giacinto
2017-09-04 20:45 Ettore Di Giacinto
2017-06-04 15:18 Ettore Di Giacinto
2017-06-04 15:18 Ettore Di Giacinto
2017-04-21 13:05 Ettore Di Giacinto
2017-03-25 12:53 Ettore Di Giacinto
2017-02-16 10:43 Ettore Di Giacinto
2017-01-26 17:49 Ettore Di Giacinto
2017-01-24 18:24 Ettore Di Giacinto

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=1675232148.4799df2fc43ebd935b46b3ebd15bee981e0a5015.juippis@gentoo \
    --to=juippis@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