aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-03-19 12:11:18 +0100
committerBart Ribbers <bribbers@disroot.org>2019-03-19 12:11:18 +0100
commit36105e1bf3771321cc6ff636dfcbaaabed397cb6 (patch)
tree9e4c46ed5c7c0b3e65e62d435e076c3bd06ac9c0
parentnet-im/riot-web-9999: 32-bit is unsupported as of Electron 4 so remove it (diff)
downloadmatrix-36105e1bf3771321cc6ff636dfcbaaabed397cb6.tar.gz
matrix-36105e1bf3771321cc6ff636dfcbaaabed397cb6.tar.bz2
matrix-36105e1bf3771321cc6ff636dfcbaaabed397cb6.zip
net-im/riot-web: update to 1.0.4
This ebuild for now requires FEATURES="-network-sandbox" to install, as it requires a network connection while building. Maybe this can be solved later on.
-rw-r--r--net-im/riot-web/Manifest4
-rw-r--r--net-im/riot-web/riot-web-1.0.4.ebuild (renamed from net-im/riot-web/riot-web-1.0.3.ebuild)20
2 files changed, 10 insertions, 14 deletions
diff --git a/net-im/riot-web/Manifest b/net-im/riot-web/Manifest
index 7cc2ab1..ab1bd38 100644
--- a/net-im/riot-web/Manifest
+++ b/net-im/riot-web/Manifest
@@ -1,6 +1,6 @@
DIST riot-web-0.17.9.tar.gz 1260456 BLAKE2B 3a6293d2d199138bc4e70e0f293cc7618b6222b1bbfef834b4f155e1c76b1ca3c41aa1c3b54ba5e0bc07e47ef54613b8736625625984b20bbc60b6c746561a83 SHA512 f4dcd31cadfc0c0423dca37a7a448ca7ed53e2abab3cf4f0f0a16797e663481235213b89f4e843d92b218c506b15af8d6c8c6b91c4ae97510a3c628204268df8
-DIST riot-web-1.0.3.tar.gz 1445376 BLAKE2B 0eb65566a541c4d091f2fe9b5974c9b787c339ad2a0e191bc79dff2991803b4602673f2add88f62f5371d72c18b644501bcab65980c5f6397b5c4dcad61b07b3 SHA512 0e32ad05e6e0eafcaa213e7a367e402d7c37242e82e3973f0c33e3bffde2947018ad87447119c26d6c5dcadb769ad0a1a86eba250718340e06f3198ee9095b30
+DIST riot-web-1.0.4.tar.gz 1475251 BLAKE2B 2e8bcd0e95b79dc01eb07af2cd30cf4e839463d9836ce895ddffc49b05b62943088aefb1b60a03a9191bb684729e1cb2f2ea8ce3739b21114f7a9680a36a6e16 SHA512 41ea8ff2c3db780aeb7a8725abbfdbea3771e9cb045288bf2dd846d1bf0eecc145b7f436336833cd46f2cd667ff17226fc274541186754d84db53f3d6b079265
EBUILD riot-web-0.17.9.ebuild 1690 BLAKE2B 001545c6555d7a116151318f210fd6924424031b6e7e8bf52b4e5e56045756f9a6e83b5f1de0100fc29a0deac91ec7fe469c3b1fa9ba1916d0b38bc2e7408601 SHA512 455f7aaf804cd77c231d101d4257bad132915d1734bccfa1262c82fc93e5e1ae5632afe739fe82ea8397171b41ad4eb9603e3fa0cb76d94cbefe569de43391d7
-EBUILD riot-web-1.0.3.ebuild 1793 BLAKE2B f157a8bbe46ace1f78c20aecd35566bc8cfa29b1cff95b50dd90fa2ae7984b6f93a5e54ab48364d054de3014dea8856aae7154f96c52d1aa6aca42cb7646f60f SHA512 4a086ee6b3805a5ad99df9d41a45407fa160b5af251a68595e22b1426458b2cc5d30ef2468456b729fcdb83f2b15854b049e6b1d2af98b6185f2f5f951465afe
+EBUILD riot-web-1.0.4.ebuild 1685 BLAKE2B c6802e5945a8f92d2d396e0df677caaa3f7171951e62e3c331c0696b9e53143e87989f57225ea688ac5750ebb70da7a75da3c2b4ccd105b84d9d2ad7ab77314d SHA512 f9c89472d0c00420f67920e806d7084df8541390584ede06bb523e2f3eacb9934f8da9dcd409a91edf31f1984a1b5855b364732e4d5643bcb6192adf35f5db56
EBUILD riot-web-9999.ebuild 1491 BLAKE2B fb39ba69742a186f38a9f2b70bb75701eabd3bcdc221b3457a9483a0295a37431e58291dc4761fd679bb47571865154639225cced81cb0e0cc68e19c4a65842c SHA512 89962008258333062d185d46b815f57aae52bad89e7804d73e305ace1e08fb729666577be52d54ee04b2648ef53a0286f421e53aadf0d1382001b221b2691b65
MISC metadata.xml 276 BLAKE2B e4ff37b019d68b13c1432a86c23a54ec9b1efe103159a356fd7f35f16fed9607129c8825206f35e188ae918f3094cbe87d587a4d9a8d36b8ca130e5253510078 SHA512 c823e26ba24dbf9d4a06ec8b70834faef9565296a2c8f0afd661241aa615dddc2d2cecb9e910b448844e575fdc3703bcdefddb2f9fd00fdfde2ff870da8e60c9
diff --git a/net-im/riot-web/riot-web-1.0.3.ebuild b/net-im/riot-web/riot-web-1.0.4.ebuild
index 9424a16..3101139 100644
--- a/net-im/riot-web/riot-web-1.0.3.ebuild
+++ b/net-im/riot-web/riot-web-1.0.4.ebuild
@@ -16,17 +16,17 @@ if [[ ${PV} == "9999" ]]; then
EGIT_BRANCH="develop"
else
SRC_URI="https://github.com/vector-im/riot-web/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64"
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 )"
+IUSE=""
+REQUIRED_USE=""
DEPEND="sys-devel/binutils:*
- net-libs/nodejs[npm]
+ net-libs/nodejs
+ sys-apps/yarn
x11-libs/libXScrnSaver
net-print/cups
dev-libs/nss
@@ -47,19 +47,15 @@ src_prepare() {
"${S}"/scripts/fetch-develop.deps.sh
fi
- npm install
+ yarn install || die "Yarn module installation failed"
cp "${S}"/config.sample.json "${S}"/config.json
}
src_compile() {
- npm run build || die
+ yarn run build || die "Build failed"
- if use abi_x86_32; then
- "${S}"/node_modules/.bin/build --linux --ia32 || die
- elif use abi_x86_64; then
- "${S}"/node_modules/.bin/build --linux --x64 || die
- fi
+ "${S}"/node_modules/.bin/build --linux --x64 || die "Bundling failed"
}
src_install() {