From 15ecba58973eec2373144f660490f65f7a765537 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 21 Mar 2019 12:28:50 +0100 Subject: net-im/riot-web: update to 1.0.5 --- net-im/riot-web/Manifest | 2 +- net-im/riot-web/riot-web-1.0.4.ebuild | 80 ----------------------------------- net-im/riot-web/riot-web-1.0.5.ebuild | 80 +++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 81 deletions(-) delete mode 100644 net-im/riot-web/riot-web-1.0.4.ebuild create mode 100644 net-im/riot-web/riot-web-1.0.5.ebuild diff --git a/net-im/riot-web/Manifest b/net-im/riot-web/Manifest index 253f648..dc3da8f 100644 --- a/net-im/riot-web/Manifest +++ b/net-im/riot-web/Manifest @@ -1,2 +1,2 @@ DIST riot-web-0.17.9.tar.gz 1260456 BLAKE2B 3a6293d2d199138bc4e70e0f293cc7618b6222b1bbfef834b4f155e1c76b1ca3c41aa1c3b54ba5e0bc07e47ef54613b8736625625984b20bbc60b6c746561a83 SHA512 f4dcd31cadfc0c0423dca37a7a448ca7ed53e2abab3cf4f0f0a16797e663481235213b89f4e843d92b218c506b15af8d6c8c6b91c4ae97510a3c628204268df8 -DIST riot-web-1.0.4.tar.gz 1475251 BLAKE2B 2e8bcd0e95b79dc01eb07af2cd30cf4e839463d9836ce895ddffc49b05b62943088aefb1b60a03a9191bb684729e1cb2f2ea8ce3739b21114f7a9680a36a6e16 SHA512 41ea8ff2c3db780aeb7a8725abbfdbea3771e9cb045288bf2dd846d1bf0eecc145b7f436336833cd46f2cd667ff17226fc274541186754d84db53f3d6b079265 +DIST riot-web-1.0.5.tar.gz 1474939 BLAKE2B 6cceade79d6c55f9d19e402c64e0dcfad3deda9dce0583b8a8229fd920896c6814d22c1da3fdbf1b7e1e70d857fb5a995a35ce33893c67ca04bcdc1d5cb65157 SHA512 aa4b8ddc1d80b082043a923695e5123765086913e294122e2f966d621ef7e41e20e33fed2289d18c1ec3e3a4e74d67e96d69b26aa7b423347486c6515b3e062e diff --git a/net-im/riot-web/riot-web-1.0.4.ebuild b/net-im/riot-web/riot-web-1.0.4.ebuild deleted file mode 100644 index 3101139..0000000 --- a/net-im/riot-web/riot-web-1.0.4.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# 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" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -REQUIRED_USE="" - -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" - - "${S}"/node_modules/.bin/build --linux --x64 || die "Bundling failed" -} - -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 -} diff --git a/net-im/riot-web/riot-web-1.0.5.ebuild b/net-im/riot-web/riot-web-1.0.5.ebuild new file mode 100644 index 0000000..3101139 --- /dev/null +++ b/net-im/riot-web/riot-web-1.0.5.ebuild @@ -0,0 +1,80 @@ +# 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" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +REQUIRED_USE="" + +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" + + "${S}"/node_modules/.bin/build --linux --x64 || die "Bundling failed" +} + +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 +} -- cgit v1.2.3-65-gdbad