summaryrefslogtreecommitdiff
path: root/dev-util/laminar/laminar-1.2-r0.ebuild
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-02-23 09:54:47 +0100
committerKarel Kočí <cynerd@email.cz>2022-02-23 09:54:47 +0100
commit43eced502c2e20a8037964a47d88244ce313da38 (patch)
tree47da04856a4843593dd61f033858ce3ef792238d /dev-util/laminar/laminar-1.2-r0.ebuild
parent38c0371cece432682a68dc97454dde2216ba0192 (diff)
downloadgentoo-personal-overlay-43eced502c2e20a8037964a47d88244ce313da38.tar.gz
gentoo-personal-overlay-43eced502c2e20a8037964a47d88244ce313da38.tar.bz2
gentoo-personal-overlay-43eced502c2e20a8037964a47d88244ce313da38.zip
dev-util/laminar: update to 1.2
Diffstat (limited to 'dev-util/laminar/laminar-1.2-r0.ebuild')
-rw-r--r--dev-util/laminar/laminar-1.2-r0.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/laminar/laminar-1.2-r0.ebuild b/dev-util/laminar/laminar-1.2-r0.ebuild
new file mode 100644
index 0000000..31afc9d
--- /dev/null
+++ b/dev-util/laminar/laminar-1.2-r0.ebuild
@@ -0,0 +1,50 @@
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Lightweight and modular Continuous Integration service for Linux"
+HOMEPAGE="http://laminar.ohwg.net/"
+SRC_URI="https://github.com/ohwgiles/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.12/vue.min.js -> ${PN}-2.6.12-vue.min.js
+ https://raw.githubusercontent.com/drudru/ansi_up/v4.0.4/ansi_up.js -> ${PN}-4.0.4-ansi_up.js
+ https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js -> ${PN}-2.7.2-Chart.min.js"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/capnproto
+ dev-libs/rapidjson
+ dev-db/sqlite
+ dev-libs/boost
+"
+RDEPEND="${DEPEND}
+ acct-user/build
+"
+
+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 in sandbox because of . 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
+ cat "${DISTDIR}/${PN}-2.6.12-vue.min.js" > "${BUILD_DIR}/js/vue.min.js"
+ cat "${DISTDIR}/${PN}-3.4.8-vue-router.min.js" > "${BUILD_DIR}/js/vue-router.min.js"
+ cat "${DISTDIR}/${PN}-4.0.4-ansi_up.js" > "${BUILD_DIR}/js/ansi_up.js"
+ cat "${DISTDIR}/${PN}-2.7.2-Chart.min.js" > "${BUILD_DIR}/js/Chart.min.js"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ newinitd "${FILESDIR}/laminar.init" laminar
+}