diff options
-rw-r--r-- | dev-libs/vc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/vc/metadata.xml | 4 | ||||
-rw-r--r-- | dev-libs/vc/vc-0.7.4.ebuild | 39 |
3 files changed, 49 insertions, 3 deletions
diff --git a/dev-libs/vc/ChangeLog b/dev-libs/vc/ChangeLog index 7cacb26195b0..11eaff4f7406 100644 --- a/dev-libs/vc/ChangeLog +++ b/dev-libs/vc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/vc -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/vc/ChangeLog,v 1.7 2014/03/04 20:51:06 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/vc/ChangeLog,v 1.8 2015/03/02 17:02:07 amadio Exp $ + +*vc-0.7.4 (02 Mar 2015) + + 02 Mar 2015; <amadio@gentoo.org> +vc-0.7.4.ebuild, metadata.xml: + Adopting this package. Version bump. Fixes bug #539486. 04 Mar 2014; Manuel Rüger <mrueg@gentoo.org> -vc-0.7.2.ebuild: Cleanup old. diff --git a/dev-libs/vc/metadata.xml b/dev-libs/vc/metadata.xml index 8d1e86a9cefb..91d14d0d81e7 100644 --- a/dev-libs/vc/metadata.xml +++ b/dev-libs/vc/metadata.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>kde</herd> + <maintainer> + <email>amadio@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/dev-libs/vc/vc-0.7.4.ebuild b/dev-libs/vc/vc-0.7.4.ebuild new file mode 100644 index 000000000000..41958a5bc0e6 --- /dev/null +++ b/dev-libs/vc/vc-0.7.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/vc/vc-0.7.4.ebuild,v 1.1 2015/03/02 17:02:07 amadio Exp $ + +EAPI=5 + +inherit vcs-snapshot cmake-utils + +VC_TEST_DATA=( reference-{acos,asin,atan,ln,log2,log10,sincos}-{dp,sp}.dat ) +for i in ${VC_TEST_DATA[@]}; do + SRC_URI+="test? ( http://compeng.uni-frankfurt.de/~kretz/Vc-testdata/$i -> ${P}-${i} ) " +done + +DESCRIPTION="A library to ease explicit vectorization of C++ code" +HOMEPAGE="http://code.compeng.uni-frankfurt.de/projects/vc" +SRC_URI+=" https://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux" +IUSE="test" + +src_unpack() { + vcs-snapshot_src_unpack + + if use test ; then + mkdir -p "${WORKDIR}"/${P}_build/tests || die + for i in ${VC_TEST_DATA[@]}; do + cp "${DISTDIR}"/${P}-$i "${WORKDIR}"/${P}_build/tests/${i} || die + done + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build test) + ) + cmake-utils_src_configure +} |