diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-04-25 13:49:40 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-04-25 13:49:40 +0200 |
commit | 37f530389959db0eb6c2df1fc36692e2e6725769 (patch) | |
tree | 8ad53e5f91a071753b49b90517b07c19d50993e4 /mail-mta | |
parent | net-wireless/cubicsdr: Port to EAPI 7 (diff) | |
download | gentoo-37f530389959db0eb6c2df1fc36692e2e6725769.tar.gz gentoo-37f530389959db0eb6c2df1fc36692e2e6725769.tar.bz2 gentoo-37f530389959db0eb6c2df1fc36692e2e6725769.zip |
mail-mta/protonmail-bridge-bin: Remove last-rited pkg
Closes: https://bugs.gentoo.org/768228
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'mail-mta')
5 files changed, 0 insertions, 770 deletions
diff --git a/mail-mta/protonmail-bridge-bin/Manifest b/mail-mta/protonmail-bridge-bin/Manifest deleted file mode 100644 index 89c5b8a22fbf..000000000000 --- a/mail-mta/protonmail-bridge-bin/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST protonmail-bridge-1.4.5-1.x86_64.rpm 55357615 BLAKE2B f3ba298bdab26df9d7bebe65f974fde01962890c174dab91d6fb32f4349655bc8561009321f1b4906370bc9cd8a8946f094f215fb38a3aa0b6c8d633e2c44232 SHA512 80273ab2a679bedd6c6a2dc906545d15b4aee281303b255a749c5de15286ce8b49e6c3805ab594057d5c3af7dfedeb8b9acefab4be83e0f7728d06523d64143e -DIST protonmail-bridge-1.5.0-1.x86_64.rpm 55971031 BLAKE2B 072a0fb93a669a22818c6c635ee2306a81ec814b546d8b5ffa3c1f8b3662a3e6c58f99bed5eca76ccdc99a4ee73f9a969afa63c5c3b43da72bb1b12c19218e96 SHA512 a17d68630781cd02589b9f3758d9d0c56641dae256a6edf496247fdb91524a508ece0ca553ae207bea119322a76fa2bc89aa2455cbea8dfc5c3f3182b3508670 -DIST protonmail-bridge-1.5.2-1.x86_64.rpm 55876213 BLAKE2B 28be6035954352b5d8d102a9edc730baaa50f2e1b9278f32fcf71e6c41250a1684f2d56615e648b9a8c8e55262c3f2c0098e21b86f4121a7d4592e7ec61f660a SHA512 3b3c3176765feed246d0e032a292d2f7acb7e4a41bac0e80514ca968ef2352a12837b52301f503d5fddef8436e81eedf4f1227431b89ac2660d2b02fbc64b295 diff --git a/mail-mta/protonmail-bridge-bin/metadata.xml b/mail-mta/protonmail-bridge-bin/metadata.xml deleted file mode 100644 index 5ed086f2b4a3..000000000000 --- a/mail-mta/protonmail-bridge-bin/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>slashbeast@gentoo.org</email> - <name>Piotr Karbowski</name> - </maintainer> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>lucianposton@pm.me</email> - <name>Lucian Poston</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> -</pkgmetadata> diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.4.5.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.4.5.ebuild deleted file mode 100644 index e1fe63e09423..000000000000 --- a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.4.5.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit rpm xdg-utils - -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 - x11-libs/libxkbcommon[X] -" -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_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/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/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/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/location/liblocationlabsplugin.so" || die - rm "lib/libQt5WaylandClient.so.5" || die - rm "lib/libQt5WaylandCompositor.so.5" || die - rm "plugins/canbus/libqtvirtualcanbus.so" || die - rm "plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so" || die - rm "plugins/platforms/libqwayland-egl.so" || die - rm "plugins/platforms/libqwayland-generic.so" || die - rm "plugins/platforms/libqwayland-xcomposite-egl.so" || die - rm "plugins/platforms/libqwayland-xcomposite-glx.so" || die - rm "plugins/platforms/libqwebgl.so" || die - rm "plugins/position/libqtposition_geoclue2.so" || die - rm "plugins/sqldrivers/libqsqlodbc.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_hangul.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_openwnn.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_pinyin.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_tcime.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_thai.so" || die - rm "plugins/wayland-decoration-client/libbradient.so" || die - rm "plugins/wayland-graphics-integration-client/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-client/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-glx.so" || die - rm "plugins/wayland-graphics-integration-server/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-server/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-server/liblinux-dmabuf-unstable-v1.so" || die - rm "plugins/wayland-graphics-integration-server/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-server/libwayland-eglstream-controller.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-glx.so" || die - rm "plugins/wayland-shell-integration/libfullscreen-shell-v1.so" || die - rm "plugins/wayland-shell-integration/libivi-shell.so" || die - rm "plugins/wayland-shell-integration/libwl-shell.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v5.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v6.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell.so" || die - rm "qml/QtCharts/libqtchartsqml2.so" || die - rm "qml/QtDataVisualization/libdatavisualizationqml2.so" || die - rm "qml/QtPurchasing/libdeclarative_purchasing.so" || die - rm "qml/QtQuick/VirtualKeyboard/Settings/libqtquickvirtualkeyboardsettingsplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/Styles/libqtquickvirtualkeyboardstylesplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so" || die - rm "qml/QtRemoteObjects/libqtremoteobjects.so" || die - rm "qml/QtWayland/Compositor/libqwaylandcompositorplugin.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 -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.0.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.0.ebuild deleted file mode 100644 index e1fe63e09423..000000000000 --- a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.0.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit rpm xdg-utils - -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 - x11-libs/libxkbcommon[X] -" -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_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/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/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/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/location/liblocationlabsplugin.so" || die - rm "lib/libQt5WaylandClient.so.5" || die - rm "lib/libQt5WaylandCompositor.so.5" || die - rm "plugins/canbus/libqtvirtualcanbus.so" || die - rm "plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so" || die - rm "plugins/platforms/libqwayland-egl.so" || die - rm "plugins/platforms/libqwayland-generic.so" || die - rm "plugins/platforms/libqwayland-xcomposite-egl.so" || die - rm "plugins/platforms/libqwayland-xcomposite-glx.so" || die - rm "plugins/platforms/libqwebgl.so" || die - rm "plugins/position/libqtposition_geoclue2.so" || die - rm "plugins/sqldrivers/libqsqlodbc.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_hangul.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_openwnn.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_pinyin.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_tcime.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_thai.so" || die - rm "plugins/wayland-decoration-client/libbradient.so" || die - rm "plugins/wayland-graphics-integration-client/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-client/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-glx.so" || die - rm "plugins/wayland-graphics-integration-server/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-server/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-server/liblinux-dmabuf-unstable-v1.so" || die - rm "plugins/wayland-graphics-integration-server/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-server/libwayland-eglstream-controller.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-glx.so" || die - rm "plugins/wayland-shell-integration/libfullscreen-shell-v1.so" || die - rm "plugins/wayland-shell-integration/libivi-shell.so" || die - rm "plugins/wayland-shell-integration/libwl-shell.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v5.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v6.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell.so" || die - rm "qml/QtCharts/libqtchartsqml2.so" || die - rm "qml/QtDataVisualization/libdatavisualizationqml2.so" || die - rm "qml/QtPurchasing/libdeclarative_purchasing.so" || die - rm "qml/QtQuick/VirtualKeyboard/Settings/libqtquickvirtualkeyboardsettingsplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/Styles/libqtquickvirtualkeyboardstylesplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so" || die - rm "qml/QtRemoteObjects/libqtremoteobjects.so" || die - rm "qml/QtWayland/Compositor/libqwaylandcompositorplugin.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 -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.2.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.2.ebuild deleted file mode 100644 index e1fe63e09423..000000000000 --- a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.5.2.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit rpm xdg-utils - -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 - x11-libs/libxkbcommon[X] -" -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_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/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/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/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/location/liblocationlabsplugin.so" || die - rm "lib/libQt5WaylandClient.so.5" || die - rm "lib/libQt5WaylandCompositor.so.5" || die - rm "plugins/canbus/libqtvirtualcanbus.so" || die - rm "plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so" || die - rm "plugins/platforms/libqwayland-egl.so" || die - rm "plugins/platforms/libqwayland-generic.so" || die - rm "plugins/platforms/libqwayland-xcomposite-egl.so" || die - rm "plugins/platforms/libqwayland-xcomposite-glx.so" || die - rm "plugins/platforms/libqwebgl.so" || die - rm "plugins/position/libqtposition_geoclue2.so" || die - rm "plugins/sqldrivers/libqsqlodbc.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_hangul.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_openwnn.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_pinyin.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_tcime.so" || die - rm "plugins/virtualkeyboard/libqtvirtualkeyboard_thai.so" || die - rm "plugins/wayland-decoration-client/libbradient.so" || die - rm "plugins/wayland-graphics-integration-client/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-client/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-client/libxcomposite-glx.so" || die - rm "plugins/wayland-graphics-integration-server/libdmabuf-server.so" || die - rm "plugins/wayland-graphics-integration-server/libdrm-egl-server.so" || die - rm "plugins/wayland-graphics-integration-server/liblinux-dmabuf-unstable-v1.so" || die - rm "plugins/wayland-graphics-integration-server/libqt-plugin-wayland-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libshm-emulation-server.so" || die - rm "plugins/wayland-graphics-integration-server/libwayland-eglstream-controller.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-egl.so" || die - rm "plugins/wayland-graphics-integration-server/libxcomposite-glx.so" || die - rm "plugins/wayland-shell-integration/libfullscreen-shell-v1.so" || die - rm "plugins/wayland-shell-integration/libivi-shell.so" || die - rm "plugins/wayland-shell-integration/libwl-shell.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v5.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell-v6.so" || die - rm "plugins/wayland-shell-integration/libxdg-shell.so" || die - rm "qml/QtCharts/libqtchartsqml2.so" || die - rm "qml/QtDataVisualization/libdatavisualizationqml2.so" || die - rm "qml/QtPurchasing/libdeclarative_purchasing.so" || die - rm "qml/QtQuick/VirtualKeyboard/Settings/libqtquickvirtualkeyboardsettingsplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/Styles/libqtquickvirtualkeyboardstylesplugin.so" || die - rm "qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so" || die - rm "qml/QtRemoteObjects/libqtremoteobjects.so" || die - rm "qml/QtWayland/Compositor/libqwaylandcompositorplugin.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 -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} |