Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/clip/files/, sci-visualization/clip/
Date: Tue, 29 Sep 2020 03:35:25
Message-Id: 1601350512.2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46.epsilon-0@gentoo
1 commit: 2bba48a3cc903cbb1729e5e7a2c1a37c8b2e4b46
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Tue Sep 29 03:35:12 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Tue Sep 29 03:35:12 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2bba48a3
7
8 sci-visualization/clip: fast cli chart generator
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-visualization/clip/clip-0.7.ebuild | 34 ++++++++++++++++++++++
14 sci-visualization/clip/files/clip-0.7-libdir.patch | 15 ++++++++++
15 sci-visualization/clip/metadata.xml | 12 ++++++++
16 3 files changed, 61 insertions(+)
17
18 diff --git a/sci-visualization/clip/clip-0.7.ebuild b/sci-visualization/clip/clip-0.7.ebuild
19 new file mode 100644
20 index 000000000..0493badd3
21 --- /dev/null
22 +++ b/sci-visualization/clip/clip-0.7.ebuild
23 @@ -0,0 +1,34 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +inherit cmake
30 +CMAKE_BUILD_TYPE=Release
31 +CMAKE_IN_SOURCE_BUILD=1
32 +CMAKE_MAKEFILE_GENERATOR=emake
33 +
34 +DESCRIPTION="command line chart creator"
35 +HOMEPAGE="https://clip-lang.org"
36 +
37 +SRC_URI="https://github.com/asmuth/clip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38 +KEYWORDS="~amd64"
39 +
40 +LICENSE="Apache-2.0"
41 +SLOT="0"
42 +
43 +RDEPEND="
44 + dev-libs/fribidi
45 + dev-libs/libfmt
46 + media-libs/freetype
47 + media-libs/fontconfig
48 + media-libs/harfbuzz
49 + media-libs/libpng
50 + x11-libs/cairo
51 +"
52 +DEPEND="${RDEPEND}"
53 +
54 +PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
55 +
56 +# tests broken
57 +# 118.566 != 118.5587722...
58
59 diff --git a/sci-visualization/clip/files/clip-0.7-libdir.patch b/sci-visualization/clip/files/clip-0.7-libdir.patch
60 new file mode 100644
61 index 000000000..ceafecb80
62 --- /dev/null
63 +++ b/sci-visualization/clip/files/clip-0.7-libdir.patch
64 @@ -0,0 +1,15 @@
65 +diff --git a/CMakeLists.txt b/CMakeLists.txt
66 +index c86ddca..8653311 100644
67 +--- a/CMakeLists.txt
68 ++++ b/CMakeLists.txt
69 +@@ -102,8 +102,8 @@ set_target_properties(clip-cli PROPERTIES OUTPUT_NAME clip)
70 +
71 + # Installation
72 + # -----------------------------------------------------------------------------
73 +-install(TARGETS clip-lib-a ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include/clip)
74 +-install(TARGETS clip-lib-so LIBRARY DESTINATION lib PUBLIC_HEADER DESTINATION include/clip)
75 ++install(TARGETS clip-lib-a ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION include/clip)
76 ++install(TARGETS clip-lib-so LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION include/clip)
77 + install(TARGETS clip-cli DESTINATION bin)
78 +
79 +
80
81 diff --git a/sci-visualization/clip/metadata.xml b/sci-visualization/clip/metadata.xml
82 new file mode 100644
83 index 000000000..e97c4322a
84 --- /dev/null
85 +++ b/sci-visualization/clip/metadata.xml
86 @@ -0,0 +1,12 @@
87 +<?xml version="1.0" encoding="UTF-8"?>
88 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 +<pkgmetadata>
90 + <maintainer type="person">
91 + <email>gentoo@×××××.cc</email>
92 + <name>Aisha Tammy</name>
93 + </maintainer>
94 + <maintainer type="project">
95 + <email>sci@g.o</email>
96 + <name>Gentoo Science Project</name>
97 + </maintainer>
98 +</pkgmetadata>