From 407525b571b48cfd65e1ad7a02d250a927c967c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2017 03:04:39 +0000 Subject: gentoo resync : 01.12.2017 --- app-emulation/genymotion-bin/Manifest | 4 +- .../genymotion-bin/genymotion-bin-2.10.0.ebuild | 123 --------------------- .../genymotion-bin/genymotion-bin-2.11.0.ebuild | 123 +++++++++++++++++++++ 3 files changed, 125 insertions(+), 125 deletions(-) delete mode 100644 app-emulation/genymotion-bin/genymotion-bin-2.10.0.ebuild create mode 100644 app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild (limited to 'app-emulation/genymotion-bin') diff --git a/app-emulation/genymotion-bin/Manifest b/app-emulation/genymotion-bin/Manifest index 4c28503212ba..9a4b5cf0ee97 100644 --- a/app-emulation/genymotion-bin/Manifest +++ b/app-emulation/genymotion-bin/Manifest @@ -1,3 +1,3 @@ -DIST genymotion-2.10.0-linux_x64.bin 44847023 SHA256 558d9faf96780ddd972b7769d0e3871b71cdbc104c291d40b0be0092607dec60 SHA512 fe89376a48121b9c3cb1392d7365e13ee2865b795b1d8712e3461072bd0e0d38fd309814d7ecd5518fe2673229fb2e49b4c239211f4308f1057f3d01052d4007 WHIRLPOOL fea75a4d17bdb158316024db2b6d3f2e6e370595602b58fb7f38aa6a0bb91f0c11974548a5d2790179d139a374f515355f1e564de0e5a704afe0255b78e15509 -EBUILD genymotion-bin-2.10.0.ebuild 3822 BLAKE2B 932417fcba69433a7fc6adba3345e976d2d94d75ce2408b1eef3d03ff5ea8d91ece8be996d5a12637bcd3209c41c995da92b77ea0e378b266d7c95c512b47da8 SHA512 5e55c1b95025814e588fde8d2c6728b2f584c970762da5c6d47849de368963cdb103883e4a4070cf3edd84c572736f30256ab78d601625157f6b375f510b1da5 +DIST genymotion-2.11.0-linux_x64.bin 45096365 SHA256 0ec695f5fd8a41b6fb306bd5e1088722cc0e17c0a8b174dabd9598f24225cfbc SHA512 b128fbe1e27120cdd88a6ac4661031231cc17fc0adf007fa986f7892571db7d8ce259bf6f106eb9e620149572d5ca242ae6032b7360ba7502b208ac18ef98e2e WHIRLPOOL 30990ede9dc5863c05b72fef8e67bf4dac68d185b8368247c1b6189e20ea224273fbc560d53bea10a68c3a2c0f595be9555b2fcfaae3ea20fee447809cd27868 +EBUILD genymotion-bin-2.11.0.ebuild 3799 BLAKE2B 5a7ad368b5c0ee318a6de52ff88f06100c7b241a7f1f88de17a9252f2406497deef8241a84c0196cbe5547bbf90241ba3cb2bb153fa963b559c0b4fcd0231851 SHA512 2806573316d507558f5f8776fd92d66ef636f538d322bc06b8f66f3e83874111b67a9c59e24d889da3b25eba8b536299e68bd205663fb6a19866ad0e81c373c6 MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c diff --git a/app-emulation/genymotion-bin/genymotion-bin-2.10.0.ebuild b/app-emulation/genymotion-bin/genymotion-bin-2.10.0.ebuild deleted file mode 100644 index 60d6d52b290a..000000000000 --- a/app-emulation/genymotion-bin/genymotion-bin-2.10.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils bash-completion-r1 pax-utils - -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}-linux_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 - dev-libs/openssl - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtsql:5[sqlite] - dev-qt/qtwebkit:5 - dev-qt/qtwebsockets:5 - dev-qt/qtsvg:5 - dev-qt/qtx11extras:5 - dev-qt/qtdeclarative:5[widgets] - dev-qt/qtquickcontrols:5 - dev-qt/qtconcurrent:5 - dev-qt/qtgraphicaleffects:5 - sys-apps/util-linux - media-libs/gst-plugins-base:0.10 -" -# note if you compile protobuf with >=gcc-5.1 you need to disable the new c++11 abi -# -D_GLIBCXX_USE_CXX11_ABI=0 to your CXXFLAGS for protobuf -# =dev-libs/protobuf-2.6* - -RESTRICT="bindist fetch" -S="${WORKDIR}" - -pkg_nofetch() { - einfo - einfo "Please visit ${DOWNLOAD_URL} and download ${A}" - einfo "which must be placed in DISTDIR directory." - einfo -} - -src_unpack() { - cp "${DISTDIR}/${A}" "${WORKDIR}" || die "cp failed" -} - -src_prepare() { - default - - # removed function _install_desktop_file because happens outside of sandbox - sed -i -e "s/_install_desktop_file\ ||\ abort//" ${A} || die "sed failed" - chmod +x ${A} || die "chmod failed" - yes | ./${A} -d "${S}" > /dev/null || die "unpack failed" - - # 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}"/{libswscale,libavutil,libprotobuf}.so* - # android library - doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender,libemugl_logger}.so* - - insopts -m0755 - doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool} - - pax-mark -m "${ED%/}/opt/${MY_PN}/${MY_PN}" - pax-mark -m "${ED%/}/opt/${MY_PN}/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}"/gmtool /opt/bin/gmtool - - # Workaround - dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so - dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/sqldrivers/libqsqlite.so /opt/"${MY_PN}"/sqldrivers/libqsqlite.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" -} - -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-2.11.0.ebuild b/app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild new file mode 100644 index 000000000000..5d9a81113554 --- /dev/null +++ b/app-emulation/genymotion-bin/genymotion-bin-2.11.0.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils bash-completion-r1 pax-utils + +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}-linux_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 + dev-libs/openssl + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtwebkit:5 + dev-qt/qtwebsockets:5 + dev-qt/qtsvg:5 + dev-qt/qtx11extras:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtquickcontrols:5 + dev-qt/qtconcurrent:5 + dev-qt/qtgraphicaleffects:5 + sys-apps/util-linux + media-libs/gst-plugins-base:0.10 +" +# note if you compile protobuf with >=gcc-5.1 you need to disable the new c++11 abi +# -D_GLIBCXX_USE_CXX11_ABI=0 to your CXXFLAGS for protobuf +# =dev-libs/protobuf-2.6* + +RESTRICT="bindist fetch" +S="${WORKDIR}" + +pkg_nofetch() { + einfo + einfo "Please visit ${DOWNLOAD_URL} and download ${A}" + einfo "which must be placed in DISTDIR directory." + einfo +} + +src_unpack() { + cp "${DISTDIR}/${A}" "${WORKDIR}" || die "cp failed" +} + +src_prepare() { + default + + # removed function _install_desktop_file because happens outside of sandbox + sed -i -e "s/_install_desktop_file\ ||\ abort//" ${A} || die "sed failed" + chmod +x ${A} || die "chmod failed" + yes | ./${A} -d "${S}" > /dev/null || die "unpack failed" + + # 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}"/libprotobuf.so* + # android library + doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender,libemugl_logger}.so* + + insopts -m0755 + doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool} + + pax-mark -m "${ED%/}/opt/${MY_PN}/${MY_PN}" + pax-mark -m "${ED%/}/opt/${MY_PN}/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}"/gmtool /opt/bin/gmtool + + # Workaround + dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so + dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/sqldrivers/libqsqlite.so /opt/"${MY_PN}"/sqldrivers/libqsqlite.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" +} + +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