From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ACC4A138252 for ; Tue, 10 May 2016 09:28:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11938E085D; Tue, 10 May 2016 09:28:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D2CFE085D for ; Tue, 10 May 2016 09:28:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FBE0340831 for ; Tue, 10 May 2016 09:28:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A749C336 for ; Tue, 10 May 2016 09:28:21 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1462872487.cfdad2793870d7034def686bf2a33eef2b72bae2.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/uchardet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/uchardet/uchardet-9999.ebuild X-VCS-Directories: dev-libs/uchardet/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: cfdad2793870d7034def686bf2a33eef2b72bae2 X-VCS-Branch: master Date: Tue, 10 May 2016 09:28:21 +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-Archives-Salt: de1a8343-0cb3-4546-b3f5-e23ca2b2bf32 X-Archives-Hash: 1cb32af1791020f99df8711c766b8b46 commit: cfdad2793870d7034def686bf2a33eef2b72bae2 Author: Ilya Tumaykin gmail com> AuthorDate: Thu May 5 00:51:30 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Tue May 10 09:28:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfdad279 dev-libs/uchardet: add live ebuild It has EAPI=6. Package-Manager: portage-2.2.28 Signed-off-by: Ian Delaney gentoo.org> dev-libs/uchardet/uchardet-9999.ebuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/dev-libs/uchardet/uchardet-9999.ebuild b/dev-libs/uchardet/uchardet-9999.ebuild new file mode 100644 index 0000000..564cafb --- /dev/null +++ b/dev-libs/uchardet/uchardet-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils git-r3 + +DESCRIPTION="An encoding detector library ported from Mozilla" +HOMEPAGE="https://github.com/BYVoid/uchardet" +EGIT_REPO_URI="git://github.com/BYVoid/${PN}.git" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="" +IUSE="static-libs test" + +src_prepare() { + cmake-utils_src_prepare + use test || cmake_comment_add_subdirectory test +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=$(usex static-libs) + ) + cmake-utils_src_configure +}