diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest index 86b515d005534..e51f4c53310c0 100644 --- a/media-libs/soxr/Manifest +++ b/media-libs/soxr/Manifest @@ -1,2 +1,3 @@ DIST soxr-0.1.0-Source.tar.xz 78900 SHA256 12ce532a3045a3f6942736ac3417c6cafe0204896eb86537527d79723ddbffb1 SHA512 c11ad01461adde4ebd9db63d130b96c2e0335b75f166d7d966da7d2efa54495dfdf5cda271b806816945f880e61e4e9e0c6b29df7735f33b6adf3a857b336c85 WHIRLPOOL 8125926d8802d89f2a70b5f400df1c9452dc689fb94af0e3da54dcf8ba396a8cd5f325460ecb41af441c70dffe5639bad17b0ecd105426794482a2284f3eee77 DIST soxr-0.1.1-Source.tar.xz 80716 SHA256 dcc16868d1a157079316f84233afcc2b52dd0bd541dd8439dc25bceb306faac2 SHA512 377d9c0bb72cd673f89021a86da18861d35ab52f773afd97b6b5f7a2fa8e78865f3484cab4b795ceafacbbb34be6b77efeaaed75c66a839d5e891d70f00d6679 WHIRLPOOL bde1b4a0069200b5352c065a15e7296f6b58c902585ae384a3b2c31e38daa86db6df4d05c948072f83db0a1bb11364e21b02814bf0f65fb6ad625a3b38d618e8 +DIST soxr-0.1.2-Source.tar.xz 83760 SHA256 54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275 SHA512 ee902c1bc713e05b748f917d78222b68b5fe01d43f405e0954c21ce4d1ee494d01000caa79f696cb8d202c662a4c4d958b332dae034d6f929e0480abf27cd07c WHIRLPOOL 77ea4be0fc57d4dadca9779c7fda5ed75532d220f3fa36afdfba12746e0a76344bfdfdb085d353432e83fe3f94ae7b8c79e6993e9e68f0e1f19a2da74ca97bfe diff --git a/media-libs/soxr/soxr-0.1.2.ebuild b/media-libs/soxr/soxr-0.1.2.ebuild new file mode 100644 index 0000000000000..c10c4b65cc679 --- /dev/null +++ b/media-libs/soxr/soxr-0.1.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="examples" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" +DOCS=( "README" "TODO" "NEWS" "AUTHORS" ) +PATCHES=( + "${FILESDIR}/nodoc.patch" + "${FILESDIR}/noexamples.patch" + ) + +src_install() { + cmake-multilib_src_install + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}