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 DA891139694 for ; Wed, 15 Feb 2017 22:04:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F12FDE0C34; Wed, 15 Feb 2017 22:04:34 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBECEE0C34 for ; Wed, 15 Feb 2017 22:04:34 +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 9053E3413AA for ; Wed, 15 Feb 2017 22:04:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E891D491F for ; Wed, 15 Feb 2017 22:04:31 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1487196269.1c2798b0e2ac813bc64a9a284549cc8c9f0dabbe.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/opencc/Manifest app-i18n/opencc/opencc-1.0.5.ebuild X-VCS-Directories: app-i18n/opencc/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 1c2798b0e2ac813bc64a9a284549cc8c9f0dabbe X-VCS-Branch: master Date: Wed, 15 Feb 2017 22:04:31 +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: c36a2782-7115-406e-9cc8-36def7a208cc X-Archives-Hash: ef7d52a926b86f45689203310595fc46 commit: 1c2798b0e2ac813bc64a9a284549cc8c9f0dabbe Author: Yixun Lan gentoo org> AuthorDate: Wed Feb 15 22:02:33 2017 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed Feb 15 22:04:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2798b0 app-i18n/opencc: version bump, 1.0.5 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-i18n/opencc/Manifest | 1 + app-i18n/opencc/opencc-1.0.5.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-i18n/opencc/Manifest b/app-i18n/opencc/Manifest index df3b997f88..2a8ba3f00c 100644 --- a/app-i18n/opencc/Manifest +++ b/app-i18n/opencc/Manifest @@ -1 +1,2 @@ DIST opencc-1.0.4.tar.gz 1597309 SHA256 0553b7461ebd379d118d45d7f40f8a6e272750115bdbc49267595a05ee3481ac SHA512 682cc621fddb6495f26675863faefe7c9f584d2c60676cee0a3ff2120828a09a5e71671f5537030c2cc874f55b7f22af70d9d376f17b83e30cb04dcd5f6bba8a WHIRLPOOL 964180d27db85df6ffb4310ea6cae7b6c294c163bce68d05a5a21e8e736be6c11b44f8a2a856481b47e14c8c1104d244fc294259cbfa2f3160912743ac933cd6 +DIST opencc-1.0.5.tar.gz 1598354 SHA256 1ce1649ba280cfc88bb76e740be5f54b29a9c034400c97a3ae211c37d7030705 SHA512 3fbefbafe5c3c2491032158577ab97b5a3edf6ea98a03a7250deba082b72c3112ad4a3396d1a469936ec32e1d141f0a2236001c2891ac9c793add2b082596cc1 WHIRLPOOL eea817748d94c973f39c527d86359dd6710157b340ad906c85123129dee34f300d17dd9cc3d851d749c6651e9743ae0ff612009130de06c0ac97fd3fca409b9e diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild new file mode 100644 index 0000000000..b8a9dfd27d --- /dev/null +++ b/app-i18n/opencc/opencc-1.0.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils multilib eutils vcs-snapshot + +DESCRIPTION="Libraries for conversion between Traditional and Simplified Chinese" +HOMEPAGE="https://github.com/BYVoid/OpenCC" +SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc static-libs" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +DOCS="AUTHORS NEWS.md README.md" + +#PATCHES=( +# "${FILESDIR}"/${PN}-1.0.4-cmake-libdir.patch +#) + +src_configure() { + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc) + -DBUILD_SHARED_LIBS=ON + -DENABLE_GTEST=OFF + -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} + +}