From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7397B138335 for ; Fri, 9 Aug 2019 18:39:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0531EE081E; Fri, 9 Aug 2019 18:39:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E47E5E081E for ; Fri, 9 Aug 2019 18:39:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA59234979E for ; Fri, 9 Aug 2019 18:39:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4235775C for ; Fri, 9 Aug 2019 18:39:28 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1565375938.5ebeabbeac086d1c69357e9ab7e9a18f52bcfcbb.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/utfcpp/Manifest dev-libs/utfcpp/utfcpp-3.1.ebuild X-VCS-Directories: dev-libs/utfcpp/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 5ebeabbeac086d1c69357e9ab7e9a18f52bcfcbb X-VCS-Branch: master Date: Fri, 9 Aug 2019 18:39:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 66b106e8-a7f9-4735-9fb1-fb8bc6d9c618 X-Archives-Hash: 42f9580ca4f1bc06a69c4f367de3599f commit: 5ebeabbeac086d1c69357e9ab7e9a18f52bcfcbb Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Fri Aug 9 16:18:39 2019 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Aug 9 18:38:58 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebeabbe dev-libs/utfcpp: Version bump (3.1). Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Mike Gilbert gentoo.org> dev-libs/utfcpp/Manifest | 1 + dev-libs/utfcpp/utfcpp-3.1.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/utfcpp/Manifest b/dev-libs/utfcpp/Manifest index 28771adffc4..01d91412840 100644 --- a/dev-libs/utfcpp/Manifest +++ b/dev-libs/utfcpp/Manifest @@ -1 +1,2 @@ DIST utf8_v2_3_4.zip 22422 BLAKE2B cf736876a99068c7e5cb1b0b892d1d63cb38906c993c60b78c8c5625aef86fac3a849551771d0840c3cccf04f1a3617216cbd4684fa5cdde0037e3901c70ff4b SHA512 0e85e443e7bd4ecbe85dedfb7bdf8b1767808108b3a4fc1c0c508bcf74787539ae0af95a31a70e715ca872689ac4d7233afc075ceb375375d26743f92051e222 +DIST utfcpp-3.1.tar.gz 25871 BLAKE2B 6bafb933b777e842375b3dc6b1b5bc41efb0e9f40bbd33ccbbaf07b57a28c4e485d596725297fc2de83c23fa3c66872519883727714d236f4a37e07ed4825fc9 SHA512 826ac7aa61215ac2144fa3f5edc7f291c3dd25dc69b0c82526840f4651f822515ec262915e1117d975e5c5dd729f6166806a5d397262f59a2b323eb7009671f5 diff --git a/dev-libs/utfcpp/utfcpp-3.1.ebuild b/dev-libs/utfcpp/utfcpp-3.1.ebuild new file mode 100644 index 00000000000..fe95f70ff25 --- /dev/null +++ b/dev-libs/utfcpp/utfcpp-3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2015-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit cmake-utils + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/nemtrif/utfcpp" + EGIT_SUBMODULES=() +fi + +DESCRIPTION="UTF-8 C++ library" +HOMEPAGE="https://github.com/nemtrif/utfcpp" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/nemtrif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +BDEPEND="" +DEPEND="test? ( dev-cpp/gtest )" +RDEPEND="" + +src_prepare() { + sed -e "/add_subdirectory(extern\/gtest)/d" -i CMakeLists.txt || die + sed -e "s/gtest_main/gtest &/" -i tests/CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DUTF8_SAMPLES=OFF + -DUTF8_TESTS=$(usex test ON OFF) + ) + + cmake-utils_src_configure +}