summaryrefslogtreecommitdiff
path: root/dev-util/laminar
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-03-09 00:01:35 +0100
committerKarel Kočí <cynerd@email.cz>2019-03-09 00:01:35 +0100
commitee8b8e7a9ac52328013b191be49446f662589e07 (patch)
tree983939595e8d39f637aeeea2a1e68f4f949c828d /dev-util/laminar
parentefd50ac19a60285cb07c674b9f46c7e85b4a9642 (diff)
downloadgentoo-personal-overlay-ee8b8e7a9ac52328013b191be49446f662589e07.tar.gz
gentoo-personal-overlay-ee8b8e7a9ac52328013b191be49446f662589e07.tar.bz2
gentoo-personal-overlay-ee8b8e7a9ac52328013b191be49446f662589e07.zip
dev-util/laminar: nasty fix of downloaded files
Diffstat (limited to 'dev-util/laminar')
-rw-r--r--dev-util/laminar/Manifest5
-rw-r--r--dev-util/laminar/laminar-0.6.0.6.ebuild30
2 files changed, 30 insertions, 5 deletions
diff --git a/dev-util/laminar/Manifest b/dev-util/laminar/Manifest
index f035d4e..b466fd6 100644
--- a/dev-util/laminar/Manifest
+++ b/dev-util/laminar/Manifest
@@ -1 +1,6 @@
+DIST laminar-0.6.0.6-Chart.min.js 159638 BLAKE2B 073844d4f5cbc09a9a865da0c5f6ee0aae5e87aeec043da3bc762d12b156f486d919bd8a5527960cfe6c91e591f3a0a46a8cfcb7e55655366237ec391f47c89d SHA512 1aca85f35d1c3701cc08310b4f08b7620588070298425bc2d564c027a7e4f34aed07accddc859da6842e8c1402b8e30ec575e4b045b01349382eb6fe37cec365
+DIST laminar-0.6.0.6-ansi_up.js 11014 BLAKE2B fbb6f492925af2cecae0da5ae660fe1f89f88cd6a89bad359e49cd4b4b64578d38648c2902e7c7b037e51020e0756862575743b973026a7fb65f13d7d1580911 SHA512 b5833288efea1636ce702701ac88a0cca2064f3f281c68a71d7773a411aefdd07a47f29aa17b86e2f7fe11dab154ca5d94eb97622bf2770bca450a5dde99a702
+DIST laminar-0.6.0.6-bootstrap.min.css 122540 BLAKE2B 3dc1618f259ada9ba72ed50d990e25bcab6f1a0d941bfa8cdbd15f231cd6cc0172e531da38baa3f92e34d0a2c22b3914d46da285068fe04962dc47f01a61117f SHA512 7537e07bfce0a0c6293fb41b1f2e2058c106b1bb1d65e097cfb8ab22d8dc0b7b0f505b5fd24b856c3cff8b11bb02b4f19838cb5c399ecc7b9b78d8a4c8a195c9
+DIST laminar-0.6.0.6-vue-router.min.js 23642 BLAKE2B e8d5960f298ab9797dc9bbc979963f6223c18ad91fe4edaece3abab4beec62211ef7ec4efef026c7361c7daa19168d4dd5e0734b94fc8c7be475fd216c14edb3 SHA512 31eefac960689ecfc45b2b761959db99e1bfce2cc1ef1f32bf5bd55a69e50282acbb2f0d76fa9aca0bb77f5187deb5b8b29ff854f2c8d191ed6f51083f8ca029
+DIST laminar-0.6.0.6-vue.min.js 79034 BLAKE2B a845a0c6e177682a416d299c3aa4bda091e03f95502c6cfae996dfbbf29605b129fb6405c14db2c481f602f6e825f6e42aed6d381316ec001385f52232275f58 SHA512 1c6517acd7262c39904512f71c75b0c51da7a7c03e02a1bda747263958d96f377a23dd12c7c4b2f7404ce39f33783f2606cf861fd8a69059142ae77065dfabfc
DIST laminar-0.6.0.6.tar.gz 83862 BLAKE2B 2be0ce769e993bd97518a951b6a015ae3d51839fc399bd93a066fb945cab731430eb3982dbabb9c50bcda46a7f330e32a6f0223b50c2bd072adcfe67f8223626 SHA512 cd85a145ea8d7e7b7b6e89fe4355ac387b1a42195e0e61de207e91204a966e5fe626c10f001d9152b56357d66fc7742ce0f41afd6f1a03cc4bb5da15d492d2c1
diff --git a/dev-util/laminar/laminar-0.6.0.6.ebuild b/dev-util/laminar/laminar-0.6.0.6.ebuild
index d5b3967..d47f03b 100644
--- a/dev-util/laminar/laminar-0.6.0.6.ebuild
+++ b/dev-util/laminar/laminar-0.6.0.6.ebuild
@@ -5,7 +5,12 @@ inherit cmake-utils
HASHV="bb81931ce9324d6d954e3b5ae42c127753a03868"
DESCRIPTION="Lightweight and modular Continuous Integration service for Linux"
HOMEPAGE="http://laminar.ohwg.net/"
-SRC_URI="https://github.com/ohwgiles/${PN}/archive/${HASHV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/ohwgiles/${PN}/archive/${HASHV}.tar.gz -> ${P}.tar.gz
+ https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js -> ${P}-vue.min.js
+ https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js -> ${P}-vue-router.min.js
+ https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js -> ${P}-ansi_up.js
+ https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js -> ${P}-Chart.min.js
+ https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css -> ${P}-bootstrap.min.css"
LICENSE=""
SLOT="0"
@@ -21,14 +26,29 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/laminar-${HASHV}"
+src_unpack() {
+ # Note that ${A} contains also other files so no general unpack
+ unpack "${P}.tar.gz"
+}
+
+# Note: lamianr build system in default downloads external files but that is not
+# possible for some reason in sandbox. THis downloads those files outside of
+# scripts and copies them to correct place before configure which prevents from
+# download happening/failing.
src_configure() {
+ local BUILD_DIR="${WORKDIR}/${P}_build"
+ mkdir -p ${BUILD_DIR}/js
+ for file in vue.min.js vue-router.min.js ansi_up.js Chart.min.js; do
+ cat "${DISTDIR}/${P}-${file}" > "${BUILD_DIR}/js/${file}"
+ done
+ mkdir -p ${BUILD_DIR}/css
+ for file in bootstrap.min.css; do
+ cat "${DISTDIR}/${P}-${file}" > "${BUILD_DIR}/css/${file}"
+ done
+
local mycmakeargs=(
"-DCMAKE_INSTALL_PREFIX=/"
)
- cat /etc/resolv.conf
- ip a
- nslookup nic.cz
- curl https://cynerd.cz
cmake-utils_src_configure
}