diff options
author | 2025-01-10 07:41:26 -0500 | |
---|---|---|
committer | 2025-01-10 07:48:50 -0500 | |
commit | 6e3c25ec68e208cc79455234b47ba8beaa978099 (patch) | |
tree | 087b2cd9442ef7aa897588f02fdf9bafb52d9478 | |
parent | app-i18n/uchardet: drop 9999 (diff) | |
download | gentoo-6e3c25ec68e208cc79455234b47ba8beaa978099.tar.gz gentoo-6e3c25ec68e208cc79455234b47ba8beaa978099.tar.bz2 gentoo-6e3c25ec68e208cc79455234b47ba8beaa978099.zip |
app-i18n/uchardet: add 0.0.8
Drop commenting out the (test) subdir, compiling tests for this
package is very very insignificant and not worth special logic.
Was tempted to drop sse2 given this just sets some compiler flags,
but given it has an alternate choice when sse2 is disabled there
may be a reason to that (haven't looked, so...)
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | app-i18n/uchardet/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/uchardet/uchardet-0.0.8.ebuild | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-i18n/uchardet/Manifest b/app-i18n/uchardet/Manifest index 1b6998d1aadb..c7bda550dcec 100644 --- a/app-i18n/uchardet/Manifest +++ b/app-i18n/uchardet/Manifest @@ -1 +1,2 @@ DIST uchardet-0.0.7.tar.xz 215492 BLAKE2B 1f8b171676bc6edf1f3493a4a370e32b7b956104ea0b12a03837d817c386d59aa512c3a107426aedb087987cf3a7b99c4b2df4a667ed685ff9959f6bc6b4506c SHA512 ddb7b63dd09c1d9acbe620d86217e583d9aa5340780ab4010ec9faa4fd331498859d5efa7829bf8847da89325accf8f7304b51d410210178fc1ffa6658064a6f +DIST uchardet-0.0.8.tar.xz 222648 BLAKE2B 8da78cba3c73afab0e94cac53b2b5c7832d11d58641ff221174d051a1610f8368c8bb536f2b0729c30ed0d13d7e2319d524597d1ca49fd1c6cefb3176aa76b9a SHA512 4a5dcc9ff021352f3b252e103ff1475cec62c974294b264ee9243f024633c3ae44be8c7733608624066113e635f8b156ecb08c8ff87c736d04b07641eb166382 diff --git a/app-i18n/uchardet/uchardet-0.0.8.ebuild b/app-i18n/uchardet/uchardet-0.0.8.ebuild new file mode 100644 index 000000000000..34b08f0e6e33 --- /dev/null +++ b/app-i18n/uchardet/uchardet-0.0.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Encoding detector library" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/" +SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz" + +LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="cpu_flags_x86_sse2" + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=no + -DCHECK_SSE2=$(usex cpu_flags_x86_sse2) + -DTARGET_ARCHITECTURE="${ARCH}" + ) + + cmake_src_configure +} |