From ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Feb 2020 18:01:47 +0000 Subject: gentoo (leap year) resync : 29.02.2020 --- app-emulation/genymotion-bin/Manifest | 4 +- .../genymotion-bin/genymotion-bin-3.0.3.ebuild | 123 -------------------- .../genymotion-bin/genymotion-bin-3.0.4.ebuild | 125 +++++++++++++++++++++ 3 files changed, 127 insertions(+), 125 deletions(-) delete mode 100644 app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild create mode 100644 app-emulation/genymotion-bin/genymotion-bin-3.0.4.ebuild (limited to 'app-emulation/genymotion-bin') diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest index 5f269584995c..42fdc9380cc7 100644 --- a/app-emulation/genymotion-bin/Manifest +++ b/app-emulation/genymotion-bin/Manifest @@ -1,3 +1,3 @@ -DIST genymotion-3.0.3-linux_x64.bin 38760629 BLAKE2B 1853f5f631c8343eafa92fcd7fd42ad7663e78cc8a3848f7aa9d2ccf61009fc4e8955930142af35c4f2f9bbb9704260882e65fa0dc5e43c5d8d45e14f43218bc SHA512 8a3d5f57cb6c5018ae78940187a8c48bc19a7627f72ab746fc361afd3400a14b4f6ce2d036c828bd238b65d5346cffdf2dd55b5177c6d909b7fd749f4088d748 -EBUILD genymotion-bin-3.0.3.ebuild 3598 BLAKE2B 7979b38824d77089bf8c2db8cc0b5f175b8ba3dc1a6f6bf35a22fb60e4bba70a6a428a8321e4be898bee406c793d9e615c7a721b517fc7f6eb1702d00e0ff64a SHA512 6c2aabfa4c09ca08da81515401e921ac4f4462777db985c1b3bc63a5ef2af0155a42ca0d5071c4d8ed3458133256aec53c11c0f8bcb9d96fbe3c1c1059c20d0b +DIST genymotion-3.0.4-linux_x64.bin 38811828 BLAKE2B 6b8c2aa824bc232d09b43e1c69c1531d447bfc3341ea83a277058198f812d66e9e900abb7186d1c4a45c9e12c92ebec7c809e1641d0e3e30edf77c52fa1818e7 SHA512 28bebf3468049b5eeda9890167f89a0537fa21a42eacd3c30ae9a40616fd215282075853f35179fa40b21b124f400106d82e1cfb4949fffca741ed83ba69417b +EBUILD genymotion-bin-3.0.4.ebuild 3559 BLAKE2B f3b755b96d458638882eef4f9a258b7fbd8c65ab763e1ce2211ebea51c01e57146fb41cb5a7d4fb5d9c71ca64a0dc907b9a9acb50c6cc5a394590c78ffd079d0 SHA512 6e58e121ee0baaa3b0c4a08b3775bad487a75a333f9d25e8195ebc91ef230a273c216b57119a27b0c10e6507347fd8c22e29fdae0517c6e4af623dafbba2a2cc MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c diff --git a/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild b/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild deleted file mode 100644 index 93ee154e77c5..000000000000 --- a/app-emulation/genymotion-bin/genymotion-bin-3.0.3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -DEPEND="" -RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5.0.28 ) - virtual/opengl - || ( - dev-libs/openssl-compat:1.0.0 - =dev-libs/openssl-1.0*:0 - ) - dev-libs/hiredis:0/0.14 - sys-apps/util-linux -" -BDEPEND=">=dev-util/patchelf-0.9_p20180129" - -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 -" - -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" - - # patch to support newer hiredis version (0.14) - for i in genymotion genyshell gmtool player libcom.so.1.0.0 librendering.so.1.0.0 ; do - patchelf --replace-needed libhiredis.so.0.13 libhiredis.so.0.14 "${MY_PN}/${i}" || die "Unable to patch ${i} for hiredis" - done -} - -src_install() { - insinto /opt/"${MY_PN}" - exeinto /opt/"${MY_PN}" - - # Use qt bundled - doins -r "${MY_PN}"/{geoservices,Qt,QtGraphicalEffects,QtLocation,QtPositioning,QtQuick,QtQuick.2} - doins -r "${MY_PN}"/{icons,imageformats,platforms,plugins,sqldrivers,translations,xcbglintegrations} - doins "${MY_PN}"/libQt* - doins "${MY_PN}"/qt.conf - doins "${MY_PN}"/libicu* - - doexe "${MY_PN}"/{libcom,librendering,libswscale,libavutil}.so* - # android library - doexe "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so* - - find "${ED}/opt/${MY_PN}" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed" - - doexe "${MY_PN}"/{genymotion,genyshell,player,genymotionadbtunneld,gmtool} - - 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" - - sed -i -e "s:Icon.*:Icon=/opt/${MY_PN}/icons/icon.png:" \ - -e "s:Exec.*:Exec=/opt/${MY_PN}/genymotion:" \ - "${HOME}"/.local/share/applications/genymobile-genymotion.desktop || die "sed failed" - domenu "${HOME}"/.local/share/applications/genymobile-genymotion.desktop -} - -pkg_postinst() { - elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager" - elog "'Android SDK Platform-tools' and 'Android SDK Tools'" - elog "Your user should also be in the android group to work correctly" - elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)" - elog - elog " /opt/android-sdk-update-manager" -} diff --git a/app-emulation/genymotion-bin/genymotion-bin-3.0.4.ebuild b/app-emulation/genymotion-bin/genymotion-bin-3.0.4.ebuild new file mode 100644 index 000000000000..a76eebb7929d --- /dev/null +++ b/app-emulation/genymotion-bin/genymotion-bin-3.0.4.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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-emulation/virtualbox + app-emulation/virtualbox-bin + ) + || ( + dev-libs/openssl-compat:1.0.0 + =dev-libs/openssl-1.0*:0 + ) + dev-libs/hiredis:0/0.14 + sys-apps/util-linux + virtual/opengl +" +BDEPEND="dev-util/patchelf" + +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 +" + +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" + + # patch to support newer hiredis version (0.14) + for i in genymotion genyshell gmtool player libcom.so.1.0.0 librendering.so.1.0.0 ; do + patchelf --replace-needed libhiredis.so.0.13 libhiredis.so.0.14 "${MY_PN}/${i}" || die "Unable to patch ${i} for hiredis" + done +} + +src_install() { + insinto /opt/"${MY_PN}" + exeinto /opt/"${MY_PN}" + + # Use qt bundled + doins -r "${MY_PN}"/{geoservices,Qt,QtGraphicalEffects,QtLocation,QtPositioning,QtQuick,QtQuick.2} + doins -r "${MY_PN}"/{icons,imageformats,platforms,plugins,sqldrivers,translations,xcbglintegrations} + doins "${MY_PN}"/libQt* + doins "${MY_PN}"/qt.conf + doins "${MY_PN}"/libicu* + + doexe "${MY_PN}"/{libcom,librendering,libswscale,libavutil}.so* + # android library + doexe "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so* + + find "${ED}/opt/${MY_PN}" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed" + + doexe "${MY_PN}"/{genymotion,genyshell,player,genymotionadbtunneld,gmtool} + + 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" + + sed -i -e "s:Icon.*:Icon=/opt/${MY_PN}/icons/icon.png:" \ + -e "s:Exec.*:Exec=/opt/${MY_PN}/genymotion:" \ + "${HOME}"/.local/share/applications/genymobile-genymotion.desktop || die "sed failed" + domenu "${HOME}"/.local/share/applications/genymobile-genymotion.desktop +} + +pkg_postinst() { + elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager" + elog "'Android SDK Platform-tools' and 'Android SDK Tools'" + elog "Your user should also be in the android group to work correctly" + elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)" + elog + elog " /opt/android-sdk-update-manager" +} -- cgit v1.2.3