diff options
-rw-r--r-- | net-im/riot-desktop/Manifest | 3 | ||||
-rw-r--r-- | net-im/riot-desktop/riot-desktop-1.5.13.ebuild | 86 | ||||
-rw-r--r-- | net-im/riot-desktop/riot-desktop-1.6.1.ebuild | 98 |
3 files changed, 0 insertions, 187 deletions
diff --git a/net-im/riot-desktop/Manifest b/net-im/riot-desktop/Manifest index e36863b..d7a4bc4 100644 --- a/net-im/riot-desktop/Manifest +++ b/net-im/riot-desktop/Manifest @@ -1,7 +1,4 @@ -DIST riot-desktop-1.5.13.tar.gz 1402204 BLAKE2B 11c17baff2e55b2d5529f23035741bd66e3404fa86ea044aba9c43473abb93bd7a145c87591ec432c27e214ae8f6799a1fffac82285f7c9d36e39235e86ad0cc SHA512 8464ac47a720734c02eadbcc0e0bbfc439f0722e60a580b2969d16aab67f746e432737209a751671177627137900fd183f32b306ecc8b0be13015c436e9e6431 -DIST riot-desktop-1.6.1.tar.gz 401222 BLAKE2B dbc3aaefce9a727025c341b03c657edd348eabd22efd2285558939d460941ad85adae65d9e13be2445baaf958f018f6afa071670eae81d13e875abbbf62417af SHA512 8ff8ba30088d0caee6a45fbd1b7b70554b69344603d93d9c555be0dc4120a4dcfe99819ca06deab8bd66f535761215a832f2e69084b61738a1263497e185b404 DIST riot-desktop-1.6.2.tar.gz 401236 BLAKE2B 0df29f11778d85988b4368de974c2e3ce62b3dfdda4b0c063def27d6bad9ed01814fb85c195aedfc0133b5da34fb49ddb5935fd0ef7149f274f76fcb75056791 SHA512 9709a4704aaef0e670c734c17d2499cd3299cd6cfc3160cda2a9f88954823a47874d619442e25c4f4a35182174db939f95017977af62037471daeae7b61ee666 DIST riot-desktop-1.6.4.tar.gz 401961 BLAKE2B 422d975527bfdc70a928239ce2cd7de8079dd8e6d4434469a2cc9f5a4ea70b00f2c271d002e90a6099dfa19ba40e1f46ebba65fffcea4def8e0974b9b422d538 SHA512 316769922ec55098b4ab4aa69c9636de622551365a2dbcf297594559b4aac6388853e01eb7ecdf9a36f840fac9bbc94c56e29164abed9abdda5aef98adcee832 -DIST riot-web-1.6.1.tar.gz 1150368 BLAKE2B 51437fa1e0a8e62ca34dcae2701b807bba95c2071439ffff129812b975c997afc867cffd3aceef926358eeecab82b615d91b90b08672465052f695573052c2f4 SHA512 36603d19984aed6586100497a35642e061d5d8a679ff10c18e24a6bb7c865a7262e4fd57d42085e7cd7df0d6563408cb031b2c07ca73b57f11791095ac499028 DIST riot-web-1.6.2.tar.gz 1150424 BLAKE2B 47436ac75160338abe2c38991256fb4ee6587433d6635e36d761c2d01c35cbc8a9585756da1bd9681c9385828661e0b4d9eeb8fd49bf6b6d70329b1aa205b024 SHA512 0b6287f806f14b7408315d34935b7f7f5f36d23e3bf5870141747ec988c9f30acfc74281103369b7b2ee30709c4a89c998c7855a917fd0cedd455dd0156128ec DIST riot-web-1.6.4.tar.gz 1154013 BLAKE2B bc45663eba3b69661aef09583523c4d5f05f5c0dcfc737ce6a36ecebd826d37ee19f0ce948cbdd19e309bff00468afd6663c39227f8b3302b84859164a3565be SHA512 69952c6ae58624b668ef0a0defb316e23fc5b040060aec2b0546970c391ea94387802c10d762c8a0af53796fc710b68eb3850c3e10c689b9ab0f1c58edb91d46 diff --git a/net-im/riot-desktop/riot-desktop-1.5.13.ebuild b/net-im/riot-desktop/riot-desktop-1.5.13.ebuild deleted file mode 100644 index e50fa55..0000000 --- a/net-im/riot-desktop/riot-desktop-1.5.13.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A glossy Matrix collaboration client for the web" -HOMEPAGE="https://riot.im" - -inherit unpacker xdg-utils - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - - SRC_URI="" - EGIT_REPO_URI="https://github.com/vector-im/riot-web.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/vector-im/riot-web/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+emoji" -REQUIRED_USE="" - -DEPEND="sys-devel/binutils:* - >=net-libs/nodejs-12.14.0 - sys-apps/yarn - x11-libs/libXScrnSaver - net-print/cups - dev-libs/nss - gnome-base/gconf - emoji? ( >=media-fonts/noto-emoji-20180823 )" -RDEPEND="${DEPEND}" - -QA_PREBUILT=" - opt/Riot/chrome-sandbox - opt/Riot/libGLESv2.so - opt/Riot/libEGL.so - opt/Riot/libffmpeg.so - opt/Riot/libnode.so - opt/Riot/riot-web - opt/Riot/swiftshader/libGLESv2.so - opt/Riot/swiftshader/libEGL.so - opt/Riot/swiftshader/libvk_swiftshader.so" - -src_prepare() { - default - - if [[ ${PV} == "9999" ]]; then - "${S}"/scripts/fetch-develop.deps.sh - fi - - yarn install || die "Yarn module installation failed" - - cp "${S}"/config.sample.json "${S}"/config.json || die -} - -src_compile() { - yarn run build || die "Build failed" - - "${S}"/node_modules/.bin/electron-builder --linux --x64 || die "Bundling failed" -} - -src_install() { - unpack electron_app/dist/riot-web*.deb - tar xvf data.tar.xz || die - - mv usr/share/doc/riot-web usr/share/doc/riot-web-${PVR} || die - gunzip usr/share/doc/riot-web-${PVR}/changelog.gz || die - - insinto / - doins -r usr - doins -r opt - fperms +x /opt/Riot/riot-web - dosym ../../opt/Riot/riot-web /usr/bin/riot-web -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/net-im/riot-desktop/riot-desktop-1.6.1.ebuild b/net-im/riot-desktop/riot-desktop-1.6.1.ebuild deleted file mode 100644 index 2c757c4..0000000 --- a/net-im/riot-desktop/riot-desktop-1.6.1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A glossy Matrix collaboration client for desktop" -HOMEPAGE="https://riot.im" - -inherit unpacker xdg-utils - -SRC_URI="https://github.com/vector-im/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/vector-im/riot-web/archive/v${PV}.tar.gz -> riot-web-${PV}.tar.gz" -KEYWORDS="~amd64" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+emoji" -REQUIRED_USE="" - -RESTRICT="network-sandbox" - -RDEPEND="dev-db/sqlcipher - dev-libs/nss - >=net-libs/nodejs-12.14.0 - net-print/cups - x11-libs/libXScrnSaver - emoji? ( media-fonts/noto-emoji )" -DEPEND="${RDEPEND}" -BDEPEND="sys-apps/yarn - virtual/rust" - -QA_PREBUILT=" - /opt/Riot/chrome-sandbox - /opt/Riot/crashpad_handler - /opt/Riot/riot-desktop - /opt/Riot/libEGL.so - /opt/Riot/libGLESv2.so - /opt/Riot/libffmpeg.so - /opt/Riot/libvk_swiftshader.so - /opt/Riot/swiftshader/libEGL.so - /opt/Riot/swiftshader/libGLESv2.so" - -RIOT_WEB_S="${WORKDIR}/riot-web-${PV}" - -src_prepare() { - default - cd "${RIOT_WEB_S}" || die - yarn install || die - cp config.sample.json config.json || die - - cd "${S}" || die - yarn install || die -} - -src_compile() { - cd "${RIOT_WEB_S}" || die - yarn build || die - - cd "${S}" || die - ln -s "${RIOT_WEB_S}"/webapp ./ || die - yarn build:native || die - yarn build || die -} - -src_install() { - unpack dist/${PN}_${PV}_amd64.deb - tar -xvf data.tar.xz || die - - ./node_modules/asar/bin/asar.js p webapp opt/Riot/resources/webapp.asar || die - mv usr/share/doc/${PN} usr/share/doc/${PF} || die - gunzip usr/share/doc/${PF}/changelog.gz || die - - insinto / - doins -r usr - doins -r opt - local f - for f in ${QA_PREBUILT}; do - fperms +x "${f}" - done - dosym ../../opt/Riot/${PN} /usr/bin/${PN} -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - - elog "Since upgrading Riot to Electron 8 it uses StatusNotifierItem" - elog "for displaying the tray icon." - elog "Some popular status bars do not support the new API." - elog - elog "If you have problems with showing the tray icon, consider installing" - elog "x11-misc/snixembed." -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} |