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 4EB6D1382C5 for ; Thu, 8 Mar 2018 10:51:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D8CCE085E; Thu, 8 Mar 2018 10:51:12 +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 5A6FCE0855 for ; Thu, 8 Mar 2018 10:51:12 +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 C15D6335C2A for ; Thu, 8 Mar 2018 10:51:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B28F243 for ; Thu, 8 Mar 2018 10:51:09 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1520506265.76e845dd41d5e9ea35eb5bf2f7288af8c2b3f8cb.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/soxr/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/soxr/Manifest media-libs/soxr/soxr-0.1.3.ebuild X-VCS-Directories: media-libs/soxr/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 76e845dd41d5e9ea35eb5bf2f7288af8c2b3f8cb X-VCS-Branch: master Date: Thu, 8 Mar 2018 10:51:09 +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: 6415cdf5-4277-49e7-9128-9a4368ad20d3 X-Archives-Hash: cd0a9b1d9769f8af1c2444e4e683f889 commit: 76e845dd41d5e9ea35eb5bf2f7288af8c2b3f8cb Author: Lars Wendler gentoo org> AuthorDate: Thu Mar 8 10:50:45 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Mar 8 10:51:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e845dd media-libs/soxr: Bump to version 0.1.3 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-libs/soxr/Manifest | 1 + media-libs/soxr/soxr-0.1.3.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest index 40bccf82391..fc0ba7abb87 100644 --- a/media-libs/soxr/Manifest +++ b/media-libs/soxr/Manifest @@ -1,2 +1,3 @@ DIST soxr-0.1.1-Source.tar.xz 80716 BLAKE2B 40da97d0f3fe7544976b8735c685796038639bdcf35d17709d4d92b32b8f3550054d8d632c4bcfb785cb6152f890ae8e8184dd8c028c31422d78689c498c01b2 SHA512 377d9c0bb72cd673f89021a86da18861d35ab52f773afd97b6b5f7a2fa8e78865f3484cab4b795ceafacbbb34be6b77efeaaed75c66a839d5e891d70f00d6679 DIST soxr-0.1.2-Source.tar.xz 83760 BLAKE2B b54e31599a3eb94902af21749ba92c79ea4edf9a82de5c83581c7968182c22a80c86fbcd7f0bbd823b45adbd52570a7b4accf6bc75df31bb0a76b2b4e4703572 SHA512 ee902c1bc713e05b748f917d78222b68b5fe01d43f405e0954c21ce4d1ee494d01000caa79f696cb8d202c662a4c4d958b332dae034d6f929e0480abf27cd07c +DIST soxr-0.1.3-Source.tar.xz 94384 BLAKE2B 5b7078f71404b9ef83917dcabc0c99cf17fd625d3e033d1b934382a7b60e55e359931a6ab53f8adaf955c0d811d6cbf231cd6a226549560b3506a3867e845607 SHA512 f4883ed298d5650399283238aac3dbe78d605b988246bea51fa343d4a8ce5ce97c6e143f6c3f50a3ff81795d9c19e7a07217c586d4020f6ced102aceac46aaa8 diff --git a/media-libs/soxr/soxr-0.1.3.ebuild b/media-libs/soxr/soxr-0.1.3.ebuild new file mode 100644 index 00000000000..7d9c21dddcd --- /dev/null +++ b/media-libs/soxr/soxr-0.1.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +MY_P="${P}-Source" +DESCRIPTION="The SoX Resampler library" +HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/" +SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="examples test" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" +DOCS=( "README" "TODO" "NEWS" "AUTHORS" ) +PATCHES=( + "${FILESDIR}/nodoc.patch" +) +# CMakeLists.txt builds examples if either test or examples USE flag is enabled. +REQUIRED_USE="test? ( examples )" + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES="$(usex examples)" + -DBUILD_TESTS="$(usex test)" + ) + if use examples ; then + mycmakeargs+=( + -DDOC_INSTALL_DIR="/usr/share/doc/${PF}" + ) + fi + cmake-multilib_src_configure +} + +src_install() { + cmake-multilib_src_install + if use examples ; then + docompress -x /usr/share/doc/${PF}/examples + fi +}