net-im/riot-web: version bump of 1.0.7

mhiretskiy
parent 2cef985e2a
commit 491513bc07

@ -1 +1,2 @@
DIST riot-web-1.0.3.tar.gz 1445376 BLAKE2B 0eb65566a541c4d091f2fe9b5974c9b787c339ad2a0e191bc79dff2991803b4602673f2add88f62f5371d72c18b644501bcab65980c5f6397b5c4dcad61b07b3 SHA512 0e32ad05e6e0eafcaa213e7a367e402d7c37242e82e3973f0c33e3bffde2947018ad87447119c26d6c5dcadb769ad0a1a86eba250718340e06f3198ee9095b30
DIST riot-web-1.0.7.tar.gz 1479194 BLAKE2B 560a91d9b8da114fee7b2390f3059dabf2a26ecd5c7ca70c355d27ced2a95658884e4f9d238d82d0eb0c4c92897a5303c3816ee3f55bc1d24b66f0082ff07aac SHA512 65c303cd74614b8ecb344d642c2edc61d9135de103845ba36f599b1fea3f32f707d636474334cff3fde55b7f14066d274d3ade5c45a47943e77c2a4288163e2e

@ -0,0 +1,85 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="A glossy Matrix collaboration client for the web"
HOMEPAGE="https://riot.im"
inherit eutils gnome2-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 ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="abi_x86_32 abi_x86_64"
REQUIRED_USE="abi_x86_32? ( !abi_x86_64 )
abi_x86_64? ( !abi_x86_32 )"
DEPEND="sys-devel/binutils:*
net-libs/nodejs
sys-apps/yarn
x11-libs/libXScrnSaver
net-print/cups
dev-libs/nss
gnome-base/gconf"
RDEPEND="${DEPEND}"
QA_PREBUILT="
opt/Riot/libffmpeg.so
opt/Riot/libnode.so
opt/Riot/riot-web"
DESTINATION="/" # We build and unpack a Debian installer, which already has everything in the proper directories {usr,opt}, so we just set the destination to "/"
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
}
src_compile() {
yarn run build || die "Build failed"
if use abi_x86_32; then
"${S}"/node_modules/.bin/build --linux --ia32 || die "Bundling failed"
elif use abi_x86_64; then
"${S}"/node_modules/.bin/build --linux --x64 || die "Bundling failed"
fi
}
src_install() {
ar x "${S}"/electron_app/dist/riot-web*.deb
tar xvf data.tar.xz
mv usr/share/doc/${PN} usr/share/doc/${PF}
gunzip usr/share/doc/${PF}/changelog.gz
insinto ${DESTINATION}
doins -r usr
doins -r opt
fperms +x /opt/Riot/${PN}
dosym ${DESTINATION}/opt/Riot/${PN} ${DESTINATION}/usr/bin/${PN}
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -26,7 +26,7 @@
~media-plugins/deadbeef-vu-meter-20170921 amd64 x86
~media-plugins/deadbeef-waveform-seekbar-20160425 amd64 x86
~media-sound/deadbeef-0.7.2 amd64 x86
~net-im/riot-web-1.0.3 amd64 x86
~net-im/riot-web-1.0.7 amd64 x86
~net-im/viber-7.0.0.1035 amd64
~net-misc/modem-manager-gui-0.0.18 amd64 x86
~net-p2p/opentracker-20170428 amd64 x86

Loading…
Cancel
Save