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 D58BC1382C5 for ; Wed, 9 Dec 2020 11:09:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13B6CE0905; Wed, 9 Dec 2020 11:09:37 +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 EE89CE0905 for ; Wed, 9 Dec 2020 11:09:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0BA29340AED for ; Wed, 9 Dec 2020 11:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 728343FB for ; Wed, 9 Dec 2020 11:09:34 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1607512136.9c398750240b1319d538dfbcebc8af0e73701d40.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sword/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/sword/Manifest app-text/sword/sword-1.9.0.ebuild X-VCS-Directories: app-text/sword/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 9c398750240b1319d538dfbcebc8af0e73701d40 X-VCS-Branch: master Date: Wed, 9 Dec 2020 11:09:34 +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: f2b85843-16d9-4edb-a5f8-6ac7e623c25a X-Archives-Hash: bad63c0a535ca3216954c3dfca038706 commit: 9c398750240b1319d538dfbcebc8af0e73701d40 Author: Marek Szuba gentoo org> AuthorDate: Wed Dec 9 11:08:56 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Dec 9 11:08:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c398750 app-text/sword: bump to 1.9.0 and EAPI 7 Signed-off-by: Marek Szuba gentoo.org> app-text/sword/Manifest | 1 + app-text/sword/sword-1.9.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-text/sword/Manifest b/app-text/sword/Manifest index dc9b0729842..b34d6dd958a 100644 --- a/app-text/sword/Manifest +++ b/app-text/sword/Manifest @@ -1 +1,2 @@ DIST sword-1.8.1.tar.gz 2449503 BLAKE2B 4cc130ade49211dd4def6d9410ad6a0f01b35d11df246e26bb7fd0ee5c27ef02ee06ed3ec33c7becd140fa303b4fb4b3d4ba4d62de78b86be343949d5fcf7c6d SHA512 5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36 +DIST sword-1.9.0.tar.gz 2606652 BLAKE2B cd0fd85267c81410dc6acdc45594688ac1855a6160f5d39d38e225982e1440433fbdc75f22eee52291fcbf1ef92b8ca5a40652a98d7cafbfc9186e6d132ef236 SHA512 9ed3fbb5024af1f93b1473bae0d95534d02a5b00b3c9d41a0f855cee8106dc4e330844080adbee7c3f74c0e5ce1480bf16c87c842421337a341f641bae11137f diff --git a/app-text/sword/sword-1.9.0.ebuild b/app-text/sword/sword-1.9.0.ebuild new file mode 100644 index 00000000000..b53e698cb50 --- /dev/null +++ b/app-text/sword/sword-1.9.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Library for Bible reading software" +HOMEPAGE="https://www.crosswire.org/sword/" +SRC_URI="https://www.crosswire.org/ftpmirror/pub/${PN}/source/v${PV%.*}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos" +IUSE="clucene curl debug doc icu static-libs" + +RDEPEND="sys-libs/zlib + curl? ( net-misc/curl ) + icu? ( dev-libs/icu:= ) + clucene? ( dev-cpp/clucene )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( AUTHORS CODINGSTYLE ChangeLog README ) + +src_configure() { + use doc && DOCS+=( examples/ samples/ ) + + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc" + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + -DWITH_CLUCENE=$(usex clucene) + -DWITH_CURL=$(usex curl) + -DWITH_ICU=$(usex icu) + -DWITH_ZLIB=1 + ) + # Upstream default is to build both the shared and the static library + use static-libs || mycmakeargs+=( -DLIBSWORD_LIBRARY_TYPE="Shared" ) + + cmake_src_configure +}