summaryrefslogtreecommitdiff
path: root/mail-mta
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/Manifest.gzbin2553 -> 2553 bytes
-rw-r--r--mail-mta/protonmail-bridge-bin/Manifest4
-rw-r--r--mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.5.ebuild188
-rw-r--r--mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.6.ebuild187
4 files changed, 189 insertions, 190 deletions
diff --git a/mail-mta/Manifest.gz b/mail-mta/Manifest.gz
index 1debb6203bcb..c3bacc24c186 100644
--- a/mail-mta/Manifest.gz
+++ b/mail-mta/Manifest.gz
Binary files differ
diff --git a/mail-mta/protonmail-bridge-bin/Manifest b/mail-mta/protonmail-bridge-bin/Manifest
index 17abd37c4a5b..74107855324c 100644
--- a/mail-mta/protonmail-bridge-bin/Manifest
+++ b/mail-mta/protonmail-bridge-bin/Manifest
@@ -1,3 +1,3 @@
-DIST protonmail-bridge-1.0.5-1.x86_64.rpm 46864229 BLAKE2B bfd35880dd172dd4fc2352f28f9dc9e57049a114b15fbcc2f462c286e005276ac78b14ea2eab074f5e767aa39f6d58138d06118b8f5618d38e3aa977ceb7a725 SHA512 11a9230dd6ba9655b17cccc2a84529ea32852fe237e5174948aa711d9afe44fb3db3d29175933aa1f4dfffaf06207e6d38b815a0cce1f9d23e116a7cf9895f64
-EBUILD protonmail-bridge-bin-1.0.5.ebuild 7389 BLAKE2B d090d67090ff6b6ca211cfbd72fd4d89b4565856f1fa5a9951d6e9cc16a7873775abf0c32ce03c88ddf9821c69c932b90902618820e8f7b96d015f343e2db780 SHA512 fff9ad7bbfa8885feaea0ec84f3e19d3b1adfcf5e77e0d945cf9fadeef99cdf41d44d444b60752baf0cc41424730315734d710168196447cdd9eb30e720b8603
+DIST protonmail-bridge-1.0.6-2.x86_64.rpm 46921976 BLAKE2B 0e56ad21f9bf2a94400db3b27ade946bbec5016481674eba0a36e89169fd8136ec3d8f8ae422b579fba5a9c7ac00cab569c97774a5f014764e1f98a5b712be1f SHA512 63adda37a08179d29cba935572d9e39023c225338f2467c1f0a747817321285592870e38d1b8ad1053c2ce86e9dae7681cb02609936c065a18fa954516c42041
+EBUILD protonmail-bridge-bin-1.0.6.ebuild 8218 BLAKE2B 7a45c28e0e91f6d3b784cf56b5aa94b302846930d52f0367af03e7f80d588ab5f4397e3535aba2caa0f8df1bcfc0bac1b85076de29917596c1957dfd88ae5766 SHA512 a67bcf34b8c4c5c0183fecb4b67cee6126a23fd8382aea1e8e7df7480b07fb1ab398707079d01d6e64bd4f708a47dda91e7f3c553a989212eb0a216dd1a744f8
MISC metadata.xml 364 BLAKE2B dd954ec6767c68a6ae792b545fe4a11b15630bb77445e146aef6577f71a05d01cf52a8b6afac6dd304ed0d9429453edb16b3f47008b411f331e786bd33c01efd SHA512 542d4cde25dd2756b2927d22dab88cfd2b086b01fcfeafe93aa9bddcbc7b2878e2e048d379572bd06a59440c2b5b255d43dfb7dc8e1e4ce59a07ae7622948845
diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.5.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.5.ebuild
deleted file mode 100644
index 7f63cb22441d..000000000000
--- a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.5.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# 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
- 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() {
- # Bug #660366. To workaround preserving libs, set RUNPATH and rm unused libs
- cd "${S}/usr/lib/protonmail/bridge" || die
- patchelf --set-rpath '$ORIGIN/lib' Desktop-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"
- rm "lib/libQt53DExtras.so.5"
- rm "lib/libQt53DInput.so.5"
- rm "lib/libQt53DLogic.so.5"
- rm "lib/libQt53DQuick.so.5"
- rm "lib/libQt53DQuickExtras.so.5"
- rm "lib/libQt53DQuickInput.so.5"
- rm "lib/libQt53DQuickRender.so.5"
- rm "lib/libQt53DRender.so.5"
- rm "lib/libQt5Concurrent.so.5"
- rm "lib/libQt5Gamepad.so.5"
- rm "lib/libQt5QuickParticles.so.5"
- rm "lib/libqgsttools_p.so.1"
- rm "plugins/audio/libqtaudio_alsa.so"
- rm "plugins/audio/libqtmedia_pulse.so"
- rm "plugins/bearer/libqconnmanbearer.so"
- rm "plugins/bearer/libqgenericbearer.so"
- rm "plugins/bearer/libqnmbearer.so"
- rm "plugins/canbus/libqtpeakcanbus.so"
- rm "plugins/canbus/libqtsocketcanbus.so"
- rm "plugins/canbus/libqttinycanbus.so"
- rm "plugins/designer/libqquickwidget.so"
- rm "plugins/designer/libqwebengineview.so"
- rm "plugins/egldeviceintegrations/libqeglfs-emu-integration.so"
- rm "plugins/egldeviceintegrations/libqeglfs-x11-integration.so"
- rm "plugins/gamepads/libevdevgamepad.so"
- rm "plugins/generic/libqevdevkeyboardplugin.so"
- rm "plugins/generic/libqevdevmouseplugin.so"
- rm "plugins/generic/libqevdevtabletplugin.so"
- rm "plugins/generic/libqevdevtouchplugin.so"
- rm "plugins/generic/libqtuiotouchplugin.so"
- rm "plugins/geometryloaders/libdefaultgeometryloader.so"
- rm "plugins/geometryloaders/libgltfgeometryloader.so"
- rm "plugins/geoservices/libqtgeoservices_esri.so"
- rm "plugins/geoservices/libqtgeoservices_itemsoverlay.so"
- rm "plugins/geoservices/libqtgeoservices_mapbox.so"
- rm "plugins/geoservices/libqtgeoservices_mapboxgl.so"
- rm "plugins/geoservices/libqtgeoservices_nokia.so"
- rm "plugins/geoservices/libqtgeoservices_osm.so"
- rm "plugins/iconengines/libqsvgicon.so"
- rm "plugins/imageformats/libqjp2.so"
- rm "plugins/mediaservice/libgstaudiodecoder.so"
- rm "plugins/mediaservice/libgstcamerabin.so"
- rm "plugins/mediaservice/libgstmediacapture.so"
- rm "plugins/mediaservice/libgstmediaplayer.so"
- rm "plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
- rm "plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so"
- rm "plugins/platforms/libqeglfs.so"
- rm "plugins/platforms/libqlinuxfb.so"
- rm "plugins/platforms/libqminimal.so"
- rm "plugins/platforms/libqminimalegl.so"
- rm "plugins/platforms/libqoffscreen.so"
- rm "plugins/platforms/libqvnc.so"
- rm "plugins/platformthemes/libqgtk3.so"
- rm "plugins/playlistformats/libqtmultimedia_m3u.so"
- rm "plugins/position/libqtposition_geoclue.so"
- rm "plugins/position/libqtposition_positionpoll.so"
- rm "plugins/printsupport/libcupsprintersupport.so"
- rm "plugins/qmltooling/libqmldbg_debugger.so"
- rm "plugins/qmltooling/libqmldbg_inspector.so"
- rm "plugins/qmltooling/libqmldbg_local.so"
- rm "plugins/qmltooling/libqmldbg_messages.so"
- rm "plugins/qmltooling/libqmldbg_native.so"
- rm "plugins/qmltooling/libqmldbg_nativedebugger.so"
- rm "plugins/qmltooling/libqmldbg_profiler.so"
- rm "plugins/qmltooling/libqmldbg_quickprofiler.so"
- rm "plugins/qmltooling/libqmldbg_server.so"
- rm "plugins/qmltooling/libqmldbg_tcp.so"
- rm "plugins/renderplugins/libscene2d.so"
- rm "plugins/sceneparsers/libassimpsceneimport.so"
- rm "plugins/sceneparsers/libgltfsceneexport.so"
- rm "plugins/sceneparsers/libgltfsceneimport.so"
- rm "plugins/sensorgestures/libqtsensorgestures_plugin.so"
- rm "plugins/sensorgestures/libqtsensorgestures_shakeplugin.so"
- rm "plugins/sensors/libqtsensors_generic.so"
- rm "plugins/sensors/libqtsensors_iio-sensor-proxy.so"
- rm "plugins/sensors/libqtsensors_linuxsys.so"
- rm "plugins/sqldrivers/libqsqlite.so"
- rm "plugins/sqldrivers/libqsqlmysql.so"
- rm "plugins/sqldrivers/libqsqlpsql.so"
- rm "plugins/xcbglintegrations/libqxcb-egl-integration.so"
- rm "qml/Qt/labs/calendar/libqtlabscalendarplugin.so"
- rm "qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so"
- rm "qml/Qt/labs/platform/libqtlabsplatformplugin.so"
- rm "qml/Qt/labs/settings/libqmlsettingsplugin.so"
- rm "qml/Qt/labs/sharedimage/libsharedimageplugin.so"
- rm "qml/Qt3D/Animation/libquick3danimationplugin.so"
- rm "qml/Qt3D/Core/libquick3dcoreplugin.so"
- rm "qml/Qt3D/Extras/libquick3dextrasplugin.so"
- rm "qml/Qt3D/Input/libquick3dinputplugin.so"
- rm "qml/Qt3D/Logic/libquick3dlogicplugin.so"
- rm "qml/Qt3D/Render/libquick3drenderplugin.so"
- rm "qml/QtBluetooth/libdeclarative_bluetooth.so"
- rm "qml/QtCanvas3D/libqtcanvas3d.so"
- rm "qml/QtCharts/libqtchartsqml2.so"
- rm "qml/QtDataVisualization/libdatavisualizationqml2.so"
- rm "qml/QtGamepad/libdeclarative_gamepad.so"
- rm "qml/QtLocation/libdeclarative_location.so"
- rm "qml/QtMultimedia/libdeclarative_multimedia.so"
- rm "qml/QtNfc/libdeclarative_nfc.so"
- rm "qml/QtPositioning/libdeclarative_positioning.so"
- rm "qml/QtPurchasing/libdeclarative_purchasing.so"
- rm "qml/QtQml/Models.2/libmodelsplugin.so"
- rm "qml/QtQml/StateMachine/libqtqmlstatemachine.so"
- rm "qml/QtQuick/Controls.2/Material/libqtquickcontrols2materialstyleplugin.so"
- rm "qml/QtQuick/Controls.2/Universal/libqtquickcontrols2universalstyleplugin.so"
- rm "qml/QtQuick/Controls/Styles/Flat/libqtquickextrasflatplugin.so"
- rm "qml/QtQuick/Controls/libqtquickcontrolsplugin.so"
- rm "qml/QtQuick/Dialogs/Private/libdialogsprivateplugin.so"
- rm "qml/QtQuick/Dialogs/libdialogplugin.so"
- rm "qml/QtQuick/Extras/libqtquickextrasplugin.so"
- rm "qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so"
- rm "qml/QtQuick/Particles.2/libparticlesplugin.so"
- rm "qml/QtQuick/PrivateWidgets/libwidgetsplugin.so"
- rm "qml/QtQuick/Scene2D/libqtquickscene2dplugin.so"
- rm "qml/QtQuick/Scene3D/libqtquickscene3dplugin.so"
- rm "qml/QtQuick/VirtualKeyboard/Styles/libqtvirtualkeyboardstylesplugin.so"
- rm "qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so"
- rm "qml/QtScxml/libdeclarative_scxml.so"
- rm "qml/QtSensors/libdeclarative_sensors.so"
- rm "qml/QtTest/libqmltestplugin.so"
- rm "qml/QtWebChannel/libdeclarative_webchannel.so"
- rm "qml/QtWebEngine/libqtwebengineplugin.so"
- rm "qml/QtWebSockets/libdeclarative_qmlwebsockets.so"
- rm "qml/QtWebView/libdeclarative_webview.so"
-
- default
-}
-
-src_install() {
- # Using doins -r would strip executable bits from all binaries
- cp -pPR "${S}"/usr "${D}"/ || die "Failed to copy files"
-
- dosym "Desktop-Bridge" "/usr/bin/${PN}" || die
-
- cat <<-EOF > "${T}/50-${PN}" || die
- SEARCH_DIRS_MASK="/usr/lib*/protonmail/bridge"
- EOF
- insinto /etc/revdep-rebuild
- doins "${T}/50-${PN}"
-}
diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.6.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.6.ebuild
new file mode 100644
index 000000000000..082c79c8f6ec
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.6.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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/}-2.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
+ 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() {
+ # Bug #660366. To workaround preserving libs, set RUNPATH and rm unused libs
+ cd "${S}/usr/lib/protonmail/bridge" || die
+ patchelf --set-rpath '$ORIGIN/lib' Desktop-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 "lib/libqgsttools_p.so.1" || 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/imageformats/libqjp2.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/QtCharts/libqtchartsqml2.so" || die
+ rm "qml/QtDataVisualization/libdatavisualizationqml2.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/QtPurchasing/libdeclarative_purchasing.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
+
+ default
+}
+
+src_install() {
+ # Using doins -r would strip executable bits from all binaries
+ cp -pPR usr "${D}"/ || die "Failed to copy files"
+
+ dosym "Desktop-Bridge" "/usr/bin/${PN}"
+
+ insinto /etc/revdep-rebuild
+ newins - "50-${PN}" <<-EOF
+ SEARCH_DIRS_MASK="/usr/lib*/protonmail/bridge"
+ EOF
+}