public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/editorconfig-core-c/
Date: Sun, 18 Dec 2022 21:02:53 +0000 (UTC)	[thread overview]
Message-ID: <1671397367.2ddd1439e899a1ba2b8a24e61e5a64d06c90446a.zmedico@gentoo> (raw)

commit:     2ddd1439e899a1ba2b8a24e61e5a64d06c90446a
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 21:00:53 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 21:02:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddd1439

app-text/editorconfig-core-c: add 0.12.5

Bug: https://bugs.gentoo.org/886903
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/editorconfig-core-c/Manifest              |  1 +
 .../editorconfig-core-c-0.12.5.ebuild              | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-text/editorconfig-core-c/Manifest b/app-text/editorconfig-core-c/Manifest
index cc7ca962d91c..4bf0ecce131f 100644
--- a/app-text/editorconfig-core-c/Manifest
+++ b/app-text/editorconfig-core-c/Manifest
@@ -1 +1,2 @@
 DIST editorconfig-core-c-0.12.4.tar.gz 72141 BLAKE2B bfbd7ab2eb3ac1c73d387447e16c0888b4dce1318f14f1a511cbf1e5c34aecb31921955fb51a6c07a8a991fb388995971ceed22b4e53c53b1c56fddbbcccfdfc SHA512 e275d4f77fddd31717a588be15a67a630e693efbddc5e1cf7e9b116b1c1a700fa9bafc1322733aa73a009c78519e00083b151bbc4a5ad55128df2c7360f9a163
+DIST editorconfig-core-c-0.12.5.tar.gz 72272 BLAKE2B 044723047f8bc6ed0a4b3c5defbc43a0192edd0997dbaf9e9be6027d47f0d09c2bf4ba8141dda67ba541657a6c462afb86bb575a0eee586cf9a45581a5ff2017 SHA512 7d54c8c1ade8ecef5dc8f35e006f0e226455b7ed9541442a846bbebc26765e92abbbb29b991748164015bcfaff8764a0ac007e4384e163678a2922f7ca6b2e03

diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild
new file mode 100644
index 000000000000..af6a057b5e57
--- /dev/null
+++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="EditorConfig core library written in C"
+HOMEPAGE="https://github.com/editorconfig/editorconfig-core-c/"
+SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="cli doc"
+
+BDEPEND="doc? ( app-doc/doxygen )"
+DEPEND="dev-libs/libpcre2:="
+RDEPEND="${DEPEND}
+	cli? ( !dev-python/editorconfig-core-py[cli] )"
+
+src_prepare() {
+	# Don't install the static library.
+	sed -e '/install(TARGETS editorconfig_static/,+5d' -i src/lib/CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local -a mycmakeargs=(
+		-DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF')
+		-DBUILD_STATICALLY_LINKED_EXE=OFF
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
+	cmake_src_install
+
+	if ! use cli; then
+		rm -r "${ED}/usr/bin" || die
+	fi
+}


             reply	other threads:[~2022-12-18 21:02 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-18 21:02 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-13 20:41 [gentoo-commits] repo/gentoo:master commit in: app-text/editorconfig-core-c/ Zac Medico
2024-03-02 23:37 Zac Medico
2024-03-02 23:37 Zac Medico
2023-06-01 20:19 Sam James
2023-06-01 17:16 Arthur Zamarin
2023-06-01 17:14 Arthur Zamarin
2023-04-30  7:03 Sam James
2023-01-28 23:28 Andreas Sturmlechner
2023-01-26 22:05 Sam James
2023-01-26 21:49 Sam James
2023-01-26 21:49 Sam James
2022-06-28  4:18 WANG Xuerui
2021-09-03 18:03 Sam James
2021-09-03  1:53 Sam James
2021-09-02 17:26 Sam James
2020-08-29 22:11 Zac Medico
2020-08-29 22:09 Zac Medico
2020-07-27 13:54 Sam James
2020-07-27 13:54 Sam James
2020-07-14  0:32 Patrick McLean
2020-07-12  3:10 Zac Medico
2020-04-03  7:37 Mart Raudsepp
2020-01-27 12:46 Agostino Sarubbo
2020-01-27  3:02 Thomas Deutschmann
2020-01-26 23:27 Andreas Sturmlechner
2020-01-26 22:14 Zac Medico
2019-05-27 21:04 Aaron Bauman
2018-04-10  0:41 Manuel Rüger
2017-07-29 20:30 Alexis Ballier
2017-06-01  9:13 Agostino Sarubbo
2017-05-29 11:30 Agostino Sarubbo
2017-04-05 13:51 Michael Weber
2016-11-08  4:31 Zac Medico
2016-11-08  4:17 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671397367.2ddd1439e899a1ba2b8a24e61e5a64d06c90446a.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox