dev-libs/uchardet: verbump to 0.0.6
authorIlya Tumaykin <itumaykin@gmail.com>
Wed, 20 Jul 2016 20:07:17 +0000 (23:07 +0300)
committerGöktürk Yüksek <gokturk@gentoo.org>
Thu, 21 Jul 2016 14:49:09 +0000 (10:49 -0400)
Gentoo-Bug: 589268
Closes: https://github.com/gentoo/gentoo/pull/1929
Package-Manager: portage-2.3.0

dev-libs/uchardet/Manifest
dev-libs/uchardet/uchardet-0.0.6.ebuild [new file with mode: 0644]

index 3d65a57c0678a0dc09a4838fa4be7aa303af9734..3cdddba6209d9cb1505964c73b7ab5c2ed02d27b 100644 (file)
@@ -1 +1,2 @@
 DIST uchardet-0.0.5.tar.gz 222864 SHA256 7c5569c8ee1a129959347f5340655897e6a8f81ec3344de0012a243f868eabd1 SHA512 e32ff3e7baa9804199e3ca240ce590fed3fcb539fe4d780c4ec205fa5cbd45415e2c8c8db51d97965f9f9bbaad1f34613d5ed2849aafd9bbc3dda850c0be20ac WHIRLPOOL 737becbbf1be09e049207311c964ee61e78bce3c3cdc31cd5a071a52aef22b5f0d803a243aac8b0f9840c19d27ffbac3e08454ec7a74c2bb85f19f15333e3af6
+DIST uchardet-0.0.6.tar.xz 169192 SHA256 8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61 SHA512 eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5 WHIRLPOOL 3fa915fa768be9cb4002e0a1b84c120db017f59fd0011df36a4853c53b403d5f3839647ab7aff8d8691a43ef0ecc90714475ef6a46a85d20abbd57fba7d90a13
diff --git a/dev-libs/uchardet/uchardet-0.0.6.ebuild b/dev-libs/uchardet/uchardet-0.0.6.ebuild
new file mode 100644 (file)
index 0000000..ed98632
--- /dev/null
@@ -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
+
+DESCRIPTION="An encoding detector library"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
+SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
+
+LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86"
+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
+}