public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/editorconfig-core-c/
Date: Sun, 30 Apr 2023 07:03:31 +0000 (UTC)	[thread overview]
Message-ID: <1682838199.bc3eedc2af4a8481630f374e1542699ae1235e92.sam@gentoo> (raw)

commit:     bc3eedc2af4a8481630f374e1542699ae1235e92
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 07:02:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 07:03:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3eedc2

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

Bug: https://bugs.gentoo.org/905308
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/editorconfig-core-c/Manifest              |  1 +
 .../editorconfig-core-c-0.12.6.ebuild              | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-text/editorconfig-core-c/Manifest b/app-text/editorconfig-core-c/Manifest
index 019c781103f6..87815b126a32 100644
--- a/app-text/editorconfig-core-c/Manifest
+++ b/app-text/editorconfig-core-c/Manifest
@@ -1 +1,2 @@
 DIST editorconfig-core-c-0.12.5.tar.gz 72272 BLAKE2B 044723047f8bc6ed0a4b3c5defbc43a0192edd0997dbaf9e9be6027d47f0d09c2bf4ba8141dda67ba541657a6c462afb86bb575a0eee586cf9a45581a5ff2017 SHA512 7d54c8c1ade8ecef5dc8f35e006f0e226455b7ed9541442a846bbebc26765e92abbbb29b991748164015bcfaff8764a0ac007e4384e163678a2922f7ca6b2e03
+DIST editorconfig-core-c-0.12.6.tar.gz 76525 BLAKE2B 2ffad6b22d72bd23eca9f0f1704d279323328e01b72a4a18a7181c998f088d7f8c0bb93549d8071e6723b8294b628fe6d1b503de7434be45770a2be9127c1cab SHA512 7cf69ed48c0d28694fc1f54cd8ae89202a3f0a13b5302fd316f50d0f99a606f54af9709874f0da75ad11ab6f4cc36edacb4cd8639717d44842a309140be3a968

diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.6.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.6.ebuild
new file mode 100644
index 000000000000..dd0268f37edc
--- /dev/null
+++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 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] )
+"
+# Header-only
+DEPEND+=" dev-libs/uthash"
+
+src_prepare() {
+	# Don't install the static library.
+	sed -e '/install(TARGETS editorconfig_static/,+5d' -i src/lib/CMakeLists.txt || die
+
+	# Unbundle dev-libs/uthash
+	rm src/lib/utarray.h || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local 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:[~2023-04-30  7:03 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-30  7:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-30  9:57 [gentoo-commits] repo/gentoo:master commit in: app-text/editorconfig-core-c/ Arthur Zamarin
2025-01-30  9:57 Arthur Zamarin
2025-01-29 22:16 Sam James
2024-10-13 20:41 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-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-12-18 21:02 Zac Medico
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=1682838199.bc3eedc2af4a8481630f374e1542699ae1235e92.sam@gentoo \
    --to=sam@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