aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-09-29 03:35:12 +0000
committerAisha Tammy <gentoo@aisha.cc>2020-09-29 03:35:12 +0000
commit2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46 (patch)
tree9cffdbac38bfd53ef0f465102476fc6c776aa14a /sci-visualization/clip
parentsci-visualization/yt: drop package (diff)
downloadsci-2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46.tar.gz
sci-2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46.tar.bz2
sci-2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46.zip
sci-visualization/clip: fast cli chart generator
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sci-visualization/clip')
-rw-r--r--sci-visualization/clip/Manifest1
-rw-r--r--sci-visualization/clip/clip-0.7.ebuild34
-rw-r--r--sci-visualization/clip/files/clip-0.7-libdir.patch15
-rw-r--r--sci-visualization/clip/metadata.xml12
4 files changed, 62 insertions, 0 deletions
diff --git a/sci-visualization/clip/Manifest b/sci-visualization/clip/Manifest
new file mode 100644
index 000000000..cdbc6b05a
--- /dev/null
+++ b/sci-visualization/clip/Manifest
@@ -0,0 +1 @@
+DIST clip-0.7.tar.gz 2842638 BLAKE2B 676ec642b0480eeda1da918bd99b374b11fb6e6d2c7b67c1856395100c794724c071266d81214cc3ec7b5eaa235a185466bcddd470922e27b7c5f46c4fdcee01 SHA512 b08cb2c4112364e5dc80e975021af33709fb5322f19a78a998a2e1b2720807a1b6f92623005ad5d6f609e58338c0c37bc743ac31bc737c669545fd27df31be19
diff --git a/sci-visualization/clip/clip-0.7.ebuild b/sci-visualization/clip/clip-0.7.ebuild
new file mode 100644
index 000000000..0493badd3
--- /dev/null
+++ b/sci-visualization/clip/clip-0.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+CMAKE_BUILD_TYPE=Release
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_MAKEFILE_GENERATOR=emake
+
+DESCRIPTION="command line chart creator"
+HOMEPAGE="https://clip-lang.org"
+
+SRC_URI="https://github.com/asmuth/clip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/fribidi
+ dev-libs/libfmt
+ media-libs/freetype
+ media-libs/fontconfig
+ media-libs/harfbuzz
+ media-libs/libpng
+ x11-libs/cairo
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
+
+# tests broken
+# 118.566 != 118.5587722...
diff --git a/sci-visualization/clip/files/clip-0.7-libdir.patch b/sci-visualization/clip/files/clip-0.7-libdir.patch
new file mode 100644
index 000000000..ceafecb80
--- /dev/null
+++ b/sci-visualization/clip/files/clip-0.7-libdir.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c86ddca..8653311 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -102,8 +102,8 @@ set_target_properties(clip-cli PROPERTIES OUTPUT_NAME clip)
+
+ # Installation
+ # -----------------------------------------------------------------------------
+-install(TARGETS clip-lib-a ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include/clip)
+-install(TARGETS clip-lib-so LIBRARY DESTINATION lib PUBLIC_HEADER DESTINATION include/clip)
++install(TARGETS clip-lib-a ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION include/clip)
++install(TARGETS clip-lib-so LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION include/clip)
+ install(TARGETS clip-cli DESTINATION bin)
+
+
diff --git a/sci-visualization/clip/metadata.xml b/sci-visualization/clip/metadata.xml
new file mode 100644
index 000000000..e97c4322a
--- /dev/null
+++ b/sci-visualization/clip/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>