diff options
author | 2020-08-07 03:39:13 +0300 | |
---|---|---|
committer | 2020-08-07 03:39:13 +0300 | |
commit | a73c7c12e8e91eb3530524d650919c0beb307abe (patch) | |
tree | 491e92b242a34f8599c0c6637ccecedac26b4319 | |
parent | net-im/riot-desktop: drop old 1.6.4 (diff) | |
download | matrix-a73c7c12e8e91eb3530524d650919c0beb307abe.tar.gz matrix-a73c7c12e8e91eb3530524d650919c0beb307abe.tar.bz2 matrix-a73c7c12e8e91eb3530524d650919c0beb307abe.zip |
net-im/riot-desktop: move to net-im/element-desktop
Signed-off-by: Stefan Strogin <stefan@steils.org>
-rw-r--r-- | net-im/element-desktop/Manifest | 2 | ||||
-rw-r--r-- | net-im/element-desktop/element-desktop-1.6.8.ebuild (renamed from net-im/riot-desktop/riot-desktop-1.6.8.ebuild) | 40 | ||||
-rw-r--r-- | net-im/riot-desktop/Manifest | 2 | ||||
-rw-r--r-- | net-im/riot-desktop/metadata.xml | 11 |
4 files changed, 21 insertions, 34 deletions
diff --git a/net-im/element-desktop/Manifest b/net-im/element-desktop/Manifest index c851bca..539a927 100644 --- a/net-im/element-desktop/Manifest +++ b/net-im/element-desktop/Manifest @@ -1,2 +1,4 @@ +DIST element-desktop-1.6.8.tar.gz 405372 BLAKE2B 58a6c47db3d082b27459bf7194891e3f6f2244885381bbce85f564e7af65b4a591fafee183c50e66f61a5f1d4036bd89e7b277a385c0df03651602a01a668057 SHA512 1d8bb1205299b5025251ac0aaba1111a5d669ed706e3862258197ba0073a1609abf48e144e53a6a302910f6c797003219562443ea9512e3ed12f878ffff04d19 DIST element-desktop-1.7.2.tar.gz 1881611 BLAKE2B e5a83dcc1517768e217864c495645160a5f300d205e526e98f73fb7398dbba3772168977103cc89bd78e2dfa5a13c196cf9a3af04c389678da9653433ee85024 SHA512 10855fea225f7c92d1b1c5752806f61254d41672cf100b77c56a3b9c09c0ed9c101019cd0535afc8485a33508a91259546ad32367a3ea7a84e2d355fb50fe91c +DIST element-web-1.6.8.tar.gz 1157496 BLAKE2B a80fac49fbe9096b7ac6ec2111aab5ca9eeb9a1a91ad4395df0a3bc0bd5210dd960018e6e960bf8d3e14d6f272a045765afa08eb43bb57d72b71b52038e8ee4b SHA512 cf5b42e1ebe93ffc7cccc32d6c2e495c664f1253223c1643e73d37210f0556abbf9c0135e82673767aa690be168ccbb68341353cc346cd3e5f453183909a1de0 DIST element-web-1.7.2.tar.gz 1177096 BLAKE2B f1ebff4fc7099ca89b0c81afc9628eadf21fcfa4d2696d4ef0a45712e34936c92a6bbcb72640ff1ee678a231f65f07aca545ac1d01bd07274fd55e8ff8ed3d98 SHA512 02849c20598f97123b34efacfa54fa90618964f31ab79dc0b49116a18abfad8ccb9148f2e42b8de6fddb355422e69a9138bf59de6d18627a9dfb1d877859692a diff --git a/net-im/riot-desktop/riot-desktop-1.6.8.ebuild b/net-im/element-desktop/element-desktop-1.6.8.ebuild index f6b486f..5120c86 100644 --- a/net-im/riot-desktop/riot-desktop-1.6.8.ebuild +++ b/net-im/element-desktop/element-desktop-1.6.8.ebuild @@ -3,19 +3,17 @@ EAPI=7 -DESCRIPTION="A glossy Matrix collaboration client for desktop" -HOMEPAGE="https://riot.im" - inherit unpacker xdg-utils +DESCRIPTION="A glossy Matrix collaboration client for desktop" +HOMEPAGE="https://element.io" 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" + https://github.com/vector-im/element-web/archive/v${PV}.tar.gz -> element-web-${PV}.tar.gz" LICENSE="Apache-2.0" SLOT="0" +KEYWORDS="~amd64" IUSE="+emoji" -REQUIRED_USE="" RESTRICT="network-sandbox" @@ -49,20 +47,20 @@ BDEPEND="sys-apps/yarn virtual/rust" QA_PREBUILT=" - /opt/Riot/chrome-sandbox - /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" + /opt/Element/chrome-sandbox + /opt/Element/element-desktop + /opt/Element/libEGL.so + /opt/Element/libGLESv2.so + /opt/Element/libffmpeg.so + /opt/Element/libvk_swiftshader.so + /opt/Element/swiftshader/libEGL.so + /opt/Element/swiftshader/libGLESv2.so" -RIOT_WEB_S="${WORKDIR}/riot-web-${PV}" +ELEMENT_WEB_S="${WORKDIR}/element-web-${PV}" src_prepare() { default - pushd "${RIOT_WEB_S}" >/dev/null || die + pushd "${ELEMENT_WEB_S}" >/dev/null || die yarn install || die cp config.sample.json config.json || die @@ -71,11 +69,11 @@ src_prepare() { } src_compile() { - pushd "${RIOT_WEB_S}" >/dev/null || die + pushd "${ELEMENT_WEB_S}" >/dev/null || die yarn build || die popd || die - ln -s "${RIOT_WEB_S}"/webapp ./ || die + ln -s "${ELEMENT_WEB_S}"/webapp ./ || die yarn build:native || die yarn build || die } @@ -84,7 +82,7 @@ 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 + ./node_modules/asar/bin/asar.js p webapp opt/Element/resources/webapp.asar || die mv usr/share/doc/${PN} usr/share/doc/${PF} || die gunzip usr/share/doc/${PF}/changelog.gz || die @@ -95,14 +93,14 @@ src_install() { for f in ${QA_PREBUILT}; do fperms +x "${f}" done - dosym ../../opt/Riot/${PN} /usr/bin/${PN} + dosym ../../opt/Element/${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 "Since upgrading Element to Electron 8 it uses StatusNotifierItem" elog "for displaying the tray icon." elog "Some popular status bars do not support the new API." elog diff --git a/net-im/riot-desktop/Manifest b/net-im/riot-desktop/Manifest deleted file mode 100644 index c479d3d..0000000 --- a/net-im/riot-desktop/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST riot-desktop-1.6.8.tar.gz 405369 BLAKE2B c448bc67fc55855100a01e7069fb258b243c54ca6cc4efa356c4c44807e881f6d9c54f31d880591d10209aaca1972102fdf855f3bdfe4d50c0da28efd75be2af SHA512 2120ef7866b875df14ec3ecfd8bb40ee3821ae273a888f923a054a4358ef28b60735cc7322b45d80b9a90064cdfe3136617752f87f4d3c5fdea3b3aa3abeb12c -DIST riot-web-1.6.8.tar.gz 1157404 BLAKE2B 22fb9a2da292e12917b3a4d21a85df99631cc7d35b8ac3acd6f35a2e553f2678046bafe8fd02d4000578aa7eb708d2696ea172c86a27a72bac9c1bacb6af8d49 SHA512 48f1b09ee87037c4b05fddf45d7406400e674c6a060a17cfea587098062df70e46748c8835c43e2b82cbe72e43ce319921f98e3f94196a1773b3eb51ca9e8e66 diff --git a/net-im/riot-desktop/metadata.xml b/net-im/riot-desktop/metadata.xml deleted file mode 100644 index 96ca388..0000000 --- a/net-im/riot-desktop/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>steils@gentoo.org</email> - <name>Stefan Strogin</name> - </maintainer> - <use> - <flag name="emoji">Use <pkg>media-fonts/noto-emoji</pkg> for displaying emoji</flag> - </use> -</pkgmetadata> |