net-im/riot-web: version bump to 1.2.1

master
Alexander Tratsevskiy 5 years ago
parent 9ed11ec0cc
commit 9971305838

@ -1 +1 @@
DIST riot-web-1.2.0.tar.gz 1487216 BLAKE2B c10af8feba58692ba5564ae2290acf94f183cb160e8a026c414f904860b3a050495202c68dd32dd807112eadbd884402ea52090af6aeecb5901a25a158e756f8 SHA512 a4e56f7a1851cb4c7c6d602e1cc56b15d3d780e3d6deedcc3bb075eb2fd912725b24aa4eab0f8b66dbd65c2ecaf982037e41119673928f85ec540dd6c070bb97
DIST riot-web-1.2.1.tar.gz 1487294 BLAKE2B cf299af71cd5abf00b12d3b3bf8a3d78bf71c592490d5babce6ab04347a03e56c6c0b3f4ff42ca8e4dbd6fc6bbef7e4ec1dc198759e9fa7dbc6513bc8edb5afb SHA512 7edf306c0dcecb928e7f299000f64d50e0fed29ec5a24d3e007441fb8fd177e41fd7bfda2057e643b51d1ec75b06ecfe728dfcbfc0503d17c75367de888a7b16

@ -1,76 +0,0 @@
# Copyright 1999-2018 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
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[npm]
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
npm install
cp "${S}"/config.sample.json "${S}"/config.json
}
src_compile() {
npm run build || die
if use abi_x86_32; then
"${S}"/node_modules/.bin/build -l --ia32 || die
elif use abi_x86_64; then
"${S}"/node_modules/.bin/build -l --x64 || die
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}
}

@ -26,7 +26,7 @@
~media-plugins/deadbeef-vu-meter-20140914 amd64 x86
~media-plugins/deadbeef-waveform-seekbar-0.5 amd64 x86
~media-sound/deadbeef-1.8.0 amd64 x86
~net-im/riot-web-1.2.0 amd64 x86
~net-im/riot-web-1.2.1 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