public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgrapheme/
Date: Wed,  2 Nov 2022 20:00:38 +0000 (UTC)	[thread overview]
Message-ID: <1667418848.8b1745a79b89e3e2b3a389b96a33292541a4edb9.ionen@gentoo> (raw)

commit:     8b1745a79b89e3e2b3a389b96a33292541a4edb9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 19:50:18 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 19:54:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1745a7

dev-libs/libgrapheme: add 2.0.2

Same as 2.0.1 but with a .pc file (so will stable soon).

Now has a custom ./configure script but just sets what's
already default (+virtual/awk dep), and seem primarily
useful for OpenBSD/Darwin -- so leaving ebuild as-is.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-libs/libgrapheme/Manifest                 |  1 +
 dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild | 38 +++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-libs/libgrapheme/Manifest b/dev-libs/libgrapheme/Manifest
index b2ebc2371f4d..f0b32b211424 100644
--- a/dev-libs/libgrapheme/Manifest
+++ b/dev-libs/libgrapheme/Manifest
@@ -1 +1,2 @@
 DIST libgrapheme-2.0.1.tar.gz 845666 BLAKE2B 872617d492e64ac0af2562e2842c0011e47f103551b72f0ed4979c1c486401fac0881614d7205da4db4b375c8cd89c00a02e1063428caea0110d5cd3a92602aa SHA512 bc52d4384332a2e2cb01a2697b21e8a3a9742e8ae95dd6e815b69de0a82fdaa2286c44038688a94812dde09d5479a625b0b5c9f839a69789e40d4b76a2def808
+DIST libgrapheme-2.0.2.tar.gz 846990 BLAKE2B ade6c3ca8481bf3c3e1b1512a3c02caa9f7f2bcb3e9a59f0f3c5af7a1603c2ff2bf4f689d25e47e156d663d95c4e9e209e03504fcde27a9daf1791bc4954663e SHA512 640fb0926f8f46ae98aaba708f8bd1539f7485f150d4b8021195268813ff361ebfc05a49f27ef6eaca9f2051e648912e70b9dac7fbbef84cedefdd4f2cdcb45e

diff --git a/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild b/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild
new file mode 100644
index 000000000000..7a7149cccb1d
--- /dev/null
+++ b/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Unicode string library"
+HOMEPAGE="https://libs.suckless.org/libgrapheme/"
+SRC_URI="https://dl.suckless.org/libgrapheme/${P}.tar.gz"
+
+LICENSE="ISC Unicode-DFS-2016"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~x86"
+# upstream suggests keeping the static option, others have requested it too
+IUSE="static-libs"
+
+src_prepare() {
+	default
+
+	append-cflags ${CPPFLAGS}
+	tc-export CC AR RANLIB
+	tc-export_build_env BUILD_CC
+	sed -Ei '/^(BUILD_|)(CC|AR|RANLIB|CFLAGS|LDFLAGS|LDCONFIG).*=/d' config.mk || die
+}
+
+src_install() {
+	local emakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		LIBPREFIX="${EPREFIX}"/usr/$(get_libdir)
+	)
+
+	emake "${emakeargs[@]}" install
+	einstalldocs
+
+	use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die
+}


             reply	other threads:[~2022-11-02 20:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02 20:00 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 21:59 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgrapheme/ Jakov Smolić
2024-03-13 15:03 Arthur Zamarin
2024-01-29 17:17 Sam James
2023-02-17  9:41 Ionen Wolkens
2022-11-05  4:03 Ionen Wolkens
2022-11-05  4:03 Ionen Wolkens
2022-11-01 20:39 Ionen Wolkens
2022-11-01 20:39 Ionen Wolkens
2022-10-09 11:47 Ionen Wolkens
2022-10-07  0:56 Ionen Wolkens

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=1667418848.8b1745a79b89e3e2b3a389b96a33292541a4edb9.ionen@gentoo \
    --to=ionen@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