diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /mail-mta/protonmail-bridge-bin | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'mail-mta/protonmail-bridge-bin')
-rw-r--r-- | mail-mta/protonmail-bridge-bin/Manifest | 2 | ||||
-rw-r--r-- | mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.1.5.ebuild | 200 |
2 files changed, 202 insertions, 0 deletions
diff --git a/mail-mta/protonmail-bridge-bin/Manifest b/mail-mta/protonmail-bridge-bin/Manifest index ffdbfcf02c0c..493ae4fc383d 100644 --- a/mail-mta/protonmail-bridge-bin/Manifest +++ b/mail-mta/protonmail-bridge-bin/Manifest @@ -1,5 +1,7 @@ DIST protonmail-bridge-1.1.3-1.x86_64.rpm 53554820 BLAKE2B 2fb0eb7b1a1d95ed3cf5785e527692497429f73eeb37dd9a98da7b5b30cafde048898026c8934b76630976585eb43c0a9392efdcb10b8f2ae8002884312a9142 SHA512 61a4a28fe9efbeeaecd79392eb730916e67dfffc1bcc5bbee156e3dd786dfeae5b39092ccab4c6d5ff9719d0792752732b52bc87615a7922c16cf6203eb57f5b DIST protonmail-bridge-1.1.4-1.x86_64.rpm 53566050 BLAKE2B 1221a885680704f9018cf8676c747cd6ffae9b1b351ce3bc47213af81c181ea1f5aa8ee3238bc9c93d115c09e2f0389b75eb1c8d5c8274bf812bf4050f9c0dfb SHA512 87668ba2563ebe3d815538c74591d1281bb0f882863528e56a0b6571feb95ddebe2b2cec89564f009429458eac703f7613bb2c6a8bb3f5d07c45b5ff76b486bd +DIST protonmail-bridge-1.1.5-1.x86_64.rpm 53598661 BLAKE2B 8f0a8e74ad54642e79fd5b30cbd884dbcb26e4becee73f10a3108e1659a170933591aad90b5784ebe37ecc882f558924c037a1b5932c0375c267206695ab76f8 SHA512 c72e7abdb2ce95ac07afc090dcc2d50d5c334f451d5311e3e547b572f114dee80d8253392b9bae3c7e07307915a54d963cf9d755f64984b5260a8093502b5159 EBUILD protonmail-bridge-bin-1.1.3.ebuild 8914 BLAKE2B 832f25103989ba5c5e413435c63e960c5ae101b4f21d823991860ca8f6a8657b8471722c657dfc45f11c4f810e6baf1d11aaca79db7c623128c8b9f4fbb4ce69 SHA512 9e9b30a476e3d228323e69e047381beafc3346f62f46c60ecd1268d2804ad093440535c435a6cd461eb53a1d52813829af96865a135a90e4e9765b38fbeeb931 EBUILD protonmail-bridge-bin-1.1.4.ebuild 8914 BLAKE2B 832f25103989ba5c5e413435c63e960c5ae101b4f21d823991860ca8f6a8657b8471722c657dfc45f11c4f810e6baf1d11aaca79db7c623128c8b9f4fbb4ce69 SHA512 9e9b30a476e3d228323e69e047381beafc3346f62f46c60ecd1268d2804ad093440535c435a6cd461eb53a1d52813829af96865a135a90e4e9765b38fbeeb931 +EBUILD protonmail-bridge-bin-1.1.5.ebuild 8914 BLAKE2B 832f25103989ba5c5e413435c63e960c5ae101b4f21d823991860ca8f6a8657b8471722c657dfc45f11c4f810e6baf1d11aaca79db7c623128c8b9f4fbb4ce69 SHA512 9e9b30a476e3d228323e69e047381beafc3346f62f46c60ecd1268d2804ad093440535c435a6cd461eb53a1d52813829af96865a135a90e4e9765b38fbeeb931 MISC metadata.xml 477 BLAKE2B 8d29a65220a234802a25b8979e598393883a4e905ed6b114297801b93f82212165749f8317791459314afe1c59c6f5a7c2e871bc85637387bc3decae250cec21 SHA512 7d081e416b0bf6b91e6ba69a1de51c35839ff1512ab3c93be3f161ab5e6a4a554d58549460bb7fb73e1dbaf44f76b673067f0f33c4d775143f500416e096f0bc diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.1.5.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.1.5.ebuild new file mode 100644 index 000000000000..35b2fe8b0702 --- /dev/null +++ b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.1.5.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm + +DESCRIPTION="Serves ProtonMail to IMAP/SMTP clients" +HOMEPAGE="https://protonmail.com/bridge/" +SRC_URI="https://protonmail.com/download/${P/-bin/}-1.x86_64.rpm" + +RESTRICT="bindist mirror" + +LICENSE="MIT protonmail-bridge-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND=" + app-crypt/libsecret + dev-libs/glib:2 + media-sound/pulseaudio[glib] + sys-apps/dbus + virtual/opengl + media-libs/fontconfig + media-libs/freetype + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/libXi +" +BDEPEND="dev-util/patchelf" + +S="${WORKDIR}" + +QA_PREBUILT="*" + +src_prepare() { + # Some bogus files got into package. + rm -rf usr/lib/.build-id + + # Bug #660366. To workaround preserving libs, set RUNPATH and rm unused libs + cd "${S}/usr/lib/protonmail/bridge" || die + patchelf --set-rpath '$ORIGIN/lib' protonmail-bridge || die "patchelf failed" + patchelf --set-rpath '$ORIGIN' lib/libicui18n.so.56 || die "patchelf failed" + patchelf --set-rpath '$ORIGIN' lib/libicuuc.so.56 || die "patchelf failed" + + rm "lib/libQt53DCore.so.5" || die + rm "lib/libQt53DExtras.so.5" || die + rm "lib/libQt53DInput.so.5" || die + rm "lib/libQt53DLogic.so.5" || die + rm "lib/libQt53DQuick.so.5" || die + rm "lib/libQt53DQuickExtras.so.5" || die + rm "lib/libQt53DQuickInput.so.5" || die + rm "lib/libQt53DQuickRender.so.5" || die + rm "lib/libQt53DRender.so.5" || die + rm "lib/libQt5Concurrent.so.5" || die + rm "lib/libQt5Gamepad.so.5" || die + rm "lib/libQt5QuickParticles.so.5" || die + rm "plugins/audio/libqtaudio_alsa.so" || die + rm "plugins/audio/libqtmedia_pulse.so" || die + rm "plugins/bearer/libqconnmanbearer.so" || die + rm "plugins/bearer/libqgenericbearer.so" || die + rm "plugins/bearer/libqnmbearer.so" || die + rm "plugins/canbus/libqtpeakcanbus.so" || die + rm "plugins/canbus/libqtsocketcanbus.so" || die + rm "plugins/canbus/libqttinycanbus.so" || die + rm "plugins/designer/libqquickwidget.so" || die + rm "plugins/designer/libqwebengineview.so" || die + rm "plugins/egldeviceintegrations/libqeglfs-emu-integration.so" || die + rm "plugins/egldeviceintegrations/libqeglfs-x11-integration.so" || die + rm "plugins/gamepads/libevdevgamepad.so" || die + rm "plugins/generic/libqevdevkeyboardplugin.so" || die + rm "plugins/generic/libqevdevmouseplugin.so" || die + rm "plugins/generic/libqevdevtabletplugin.so" || die + rm "plugins/generic/libqevdevtouchplugin.so" || die + rm "plugins/generic/libqtuiotouchplugin.so" || die + rm "plugins/geometryloaders/libdefaultgeometryloader.so" || die + rm "plugins/geometryloaders/libgltfgeometryloader.so" || die + rm "plugins/geoservices/libqtgeoservices_esri.so" || die + rm "plugins/geoservices/libqtgeoservices_itemsoverlay.so" || die + rm "plugins/geoservices/libqtgeoservices_mapbox.so" || die + rm "plugins/geoservices/libqtgeoservices_mapboxgl.so" || die + rm "plugins/geoservices/libqtgeoservices_nokia.so" || die + rm "plugins/geoservices/libqtgeoservices_osm.so" || die + rm "plugins/iconengines/libqsvgicon.so" || die + rm "plugins/mediaservice/libgstaudiodecoder.so" || die + rm "plugins/mediaservice/libgstcamerabin.so" || die + rm "plugins/mediaservice/libgstmediacapture.so" || die + rm "plugins/mediaservice/libgstmediaplayer.so" || die + rm "plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" || die + rm "plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so" || die + rm "plugins/platforms/libqeglfs.so" || die + rm "plugins/platforms/libqlinuxfb.so" || die + rm "plugins/platforms/libqminimal.so" || die + rm "plugins/platforms/libqminimalegl.so" || die + rm "plugins/platforms/libqoffscreen.so" || die + rm "plugins/platforms/libqvnc.so" || die + rm "plugins/platformthemes/libqgtk3.so" || die + rm "plugins/playlistformats/libqtmultimedia_m3u.so" || die + rm "plugins/position/libqtposition_geoclue.so" || die + rm "plugins/position/libqtposition_positionpoll.so" || die + rm "plugins/printsupport/libcupsprintersupport.so" || die + rm "plugins/qmltooling/libqmldbg_debugger.so" || die + rm "plugins/qmltooling/libqmldbg_inspector.so" || die + rm "plugins/qmltooling/libqmldbg_local.so" || die + rm "plugins/qmltooling/libqmldbg_messages.so" || die + rm "plugins/qmltooling/libqmldbg_native.so" || die + rm "plugins/qmltooling/libqmldbg_nativedebugger.so" || die + rm "plugins/qmltooling/libqmldbg_profiler.so" || die + rm "plugins/qmltooling/libqmldbg_quickprofiler.so" || die + rm "plugins/qmltooling/libqmldbg_server.so" || die + rm "plugins/qmltooling/libqmldbg_tcp.so" || die + rm "plugins/renderplugins/libscene2d.so" || die + rm "plugins/sceneparsers/libassimpsceneimport.so" || die + rm "plugins/sceneparsers/libgltfsceneexport.so" || die + rm "plugins/sceneparsers/libgltfsceneimport.so" || die + rm "plugins/sensorgestures/libqtsensorgestures_plugin.so" || die + rm "plugins/sensorgestures/libqtsensorgestures_shakeplugin.so" || die + rm "plugins/sensors/libqtsensors_generic.so" || die + rm "plugins/sensors/libqtsensors_iio-sensor-proxy.so" || die + rm "plugins/sensors/libqtsensors_linuxsys.so" || die + rm "plugins/sqldrivers/libqsqlite.so" || die + rm "plugins/sqldrivers/libqsqlmysql.so" || die + rm "plugins/sqldrivers/libqsqlpsql.so" || die + rm "plugins/xcbglintegrations/libqxcb-egl-integration.so" || die + rm "qml/Qt/labs/calendar/libqtlabscalendarplugin.so" || die + rm "qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so" || die + rm "qml/Qt/labs/platform/libqtlabsplatformplugin.so" || die + rm "qml/Qt/labs/settings/libqmlsettingsplugin.so" || die + rm "qml/Qt/labs/sharedimage/libsharedimageplugin.so" || die + rm "qml/Qt3D/Animation/libquick3danimationplugin.so" || die + rm "qml/Qt3D/Core/libquick3dcoreplugin.so" || die + rm "qml/Qt3D/Extras/libquick3dextrasplugin.so" || die + rm "qml/Qt3D/Input/libquick3dinputplugin.so" || die + rm "qml/Qt3D/Logic/libquick3dlogicplugin.so" || die + rm "qml/Qt3D/Render/libquick3drenderplugin.so" || die + rm "qml/QtBluetooth/libdeclarative_bluetooth.so" || die + rm "qml/QtCanvas3D/libqtcanvas3d.so" || die + rm "qml/QtGamepad/libdeclarative_gamepad.so" || die + rm "qml/QtLocation/libdeclarative_location.so" || die + rm "qml/QtMultimedia/libdeclarative_multimedia.so" || die + rm "qml/QtNfc/libdeclarative_nfc.so" || die + rm "qml/QtPositioning/libdeclarative_positioning.so" || die + rm "qml/QtQml/Models.2/libmodelsplugin.so" || die + rm "qml/QtQml/StateMachine/libqtqmlstatemachine.so" || die + rm "qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin.so" || die + rm "qml/QtQuick/Controls.2/Universal/libqtquickcontrols2universalstyleplugin.so" || die + rm "qml/QtQuick/Controls/Styles/Flat/libqtquickextrasflatplugin.so" || die + rm "qml/QtQuick/Controls/libqtquickcontrolsplugin.so" || die + rm "qml/QtQuick/Dialogs/Private/libdialogsprivateplugin.so" || die + rm "qml/QtQuick/Dialogs/libdialogplugin.so" || die + rm "qml/QtQuick/Extras/libqtquickextrasplugin.so" || die + rm "qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so" || die + rm "qml/QtQuick/Particles.2/libparticlesplugin.so" || die + rm "qml/QtQuick/PrivateWidgets/libwidgetsplugin.so" || die + rm "qml/QtQuick/Scene2D/libqtquickscene2dplugin.so" || die + rm "qml/QtQuick/Scene3D/libqtquickscene3dplugin.so" || die + rm "qml/QtQuick/VirtualKeyboard/Styles/libqtvirtualkeyboardstylesplugin.so" || die + rm "qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so" || die + rm "qml/QtScxml/libdeclarative_scxml.so" || die + rm "qml/QtSensors/libdeclarative_sensors.so" || die + rm "qml/QtTest/libqmltestplugin.so" || die + rm "qml/QtWebChannel/libdeclarative_webchannel.so" || die + rm "qml/QtWebEngine/libqtwebengineplugin.so" || die + rm "qml/QtWebSockets/libdeclarative_qmlwebsockets.so" || die + rm "qml/QtWebView/libdeclarative_webview.so" || die + rm "lib/libQt5MultimediaGstTools.so.5" || die + rm "lib/libQt5OpenGL.so.5" || die + rm "lib/libQt5QuickWidgets.so.5" || die + rm "lib/libQt5EglFsKmsSupport.so.5" || die + rm "plugins/position/libqtposition_serialnmea.so" || die + rm "plugins/webview/libqtwebview_webengine.so" || die + rm "plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so" || die + rm "plugins/texttospeech/libqtexttospeech_speechd.so" || die + rm "plugins/canbus/libqtpassthrucanbus.so" || die + rm "qml/QtQuick/Shapes/libqmlshapesplugin.so" || die + rm "qml/QtQuick/Controls.2/Fusion/libqtquickcontrols2fusionstyleplugin.so" || die + rm "qml/QtQuick/Controls.2/Imagine/libqtquickcontrols2imaginestyleplugin.so" || die + rm "qml/QtQml/RemoteObjects/libqtqmlremoteobjects.so" || die + rm "qml/Qt/labs/handlers/libhandlersplugin.so" || die + rm "qml/Qt/labs/location/liblocationlabsplugin.so" || die + + default +} + +src_install() { + # Using doins -r would strip executable bits from all binaries + cp -pPR usr "${D}"/ || die "Failed to copy files" + + dosym "protonmail-bridge" "/usr/bin/${PN}" + + insinto /etc/revdep-rebuild + newins - "50-${PN}" <<-EOF + SEARCH_DIRS_MASK="/usr/lib*/protonmail/bridge" + EOF +} |