1 |
commit: db3693a0c8859d44f660770b297d548edf0f8732 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 22:08:00 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 22:09:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3693a0 |
7 |
|
8 |
app-text/editorconfig-core-c: Bump to version 0.12.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-text/editorconfig-core-c/Manifest | 1 + |
14 |
.../editorconfig-core-c-0.12.4.ebuild | 43 ++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/app-text/editorconfig-core-c/Manifest b/app-text/editorconfig-core-c/Manifest |
18 |
index ac4ff6d578e..907a7628569 100644 |
19 |
--- a/app-text/editorconfig-core-c/Manifest |
20 |
+++ b/app-text/editorconfig-core-c/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST editorconfig-core-c-0.12.1.tar.gz 65369 BLAKE2B 30296b64bd215a8b51d3b4d6146ce5eac13cb1a8ba8a25d0faabcc22989503d9d73bc138240b475eb7ea4eecd5f5bbbf347519b1696373daf55ffd27fc772f4c SHA512 3517f7db84d632615ba651eeafab6730739b7bf01f4ea34fbca65f58463fbbcbabc101587b289a7922b55708453262c65569077c51087424d47d0676dc1db686 |
23 |
DIST editorconfig-core-c-0.12.2.tar.gz 67002 BLAKE2B 6b808366acc8d0a96fc47cb74d620a4028978d7114b4a64d6799527276442f1d39ba8d5611530f873c78b7c49893c5edecec84dcc6f2616ba2663cb36fa92d0d SHA512 6ab3e4f7f95c83c0781064ca15bb70394bb947f9d4cd1348224f02e25c65021d14439b913775d7cfafb93476158799c34438fa548adf3c7ec6dbfd6f1052a046 |
24 |
DIST editorconfig-core-c-0.12.3.tar.gz 67701 BLAKE2B d5e6310f770099f542eb81f4ca7ec975e74c49f481c4e8e07832a7f9fc0882e2cb65da5b4b18ad926786d7ac92c3deb6ac0a547188bd68d350143258796ad1b8 SHA512 4a17cd6317bd45f8b0131070165d852569d020f1cf74e72b44057b97672184b4992aee54aae6e3222c669fdce8bb6b1f3482235e6518acffcef05e1d74087e6e |
25 |
+DIST editorconfig-core-c-0.12.4.tar.gz 72141 BLAKE2B bfbd7ab2eb3ac1c73d387447e16c0888b4dce1318f14f1a511cbf1e5c34aecb31921955fb51a6c07a8a991fb388995971ceed22b4e53c53b1c56fddbbcccfdfc SHA512 e275d4f77fddd31717a588be15a67a630e693efbddc5e1cf7e9b116b1c1a700fa9bafc1322733aa73a009c78519e00083b151bbc4a5ad55128df2c7360f9a163 |
26 |
|
27 |
diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..c79152307cf |
30 |
--- /dev/null |
31 |
+++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="EditorConfig core library written in C" |
41 |
+HOMEPAGE="https://github.com/editorconfig/editorconfig-core-c/" |
42 |
+SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
47 |
+IUSE="cli doc" |
48 |
+ |
49 |
+BDEPEND="doc? ( app-doc/doxygen )" |
50 |
+DEPEND="dev-libs/libpcre2:=" |
51 |
+RDEPEND="${DEPEND} |
52 |
+ cli? ( !dev-python/editorconfig-core-py[cli] )" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ # Don't install the static library. |
56 |
+ sed -e '/install(TARGETS editorconfig_static/,+5d' -i src/lib/CMakeLists.txt || die |
57 |
+ cmake_src_prepare |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local -a mycmakeargs=( |
62 |
+ -DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF') |
63 |
+ -DBUILD_STATICALLY_LINKED_EXE=OFF |
64 |
+ ) |
65 |
+ cmake_src_configure |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) |
70 |
+ cmake_src_install |
71 |
+ |
72 |
+ if ! use cli; then |
73 |
+ rm -r "${ED}/usr/bin" || die |
74 |
+ fi |
75 |
+} |