From 5a8af573fdea28725ce64c507e89000206fc3dd0 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 25 Apr 2016 10:47:19 +0200 Subject: sci-libs/clfft: Drop old Package-Manager: portage-2.2.26 --- sci-libs/clfft/Manifest | 2 - sci-libs/clfft/clfft-2.6.1.ebuild | 56 ------------------- sci-libs/clfft/clfft-2.8-r1.ebuild | 62 ---------------------- sci-libs/clfft/clfft-2.8.ebuild | 61 --------------------- ...ll-cmake-configuration-to-lib-cmake-clFFT.patch | 25 --------- ...-Install-examples-to-share-clFFT-examples.patch | 15 ------ 6 files changed, 221 deletions(-) delete mode 100644 sci-libs/clfft/clfft-2.6.1.ebuild delete mode 100644 sci-libs/clfft/clfft-2.8-r1.ebuild delete mode 100644 sci-libs/clfft/clfft-2.8.ebuild delete mode 100644 sci-libs/clfft/files/clfft-2.6.1-Install-cmake-configuration-to-lib-cmake-clFFT.patch delete mode 100644 sci-libs/clfft/files/clfft-2.6.1-Install-examples-to-share-clFFT-examples.patch diff --git a/sci-libs/clfft/Manifest b/sci-libs/clfft/Manifest index c3f6d26d2..93018a3e0 100644 --- a/sci-libs/clfft/Manifest +++ b/sci-libs/clfft/Manifest @@ -1,4 +1,2 @@ DIST clfft-2.10.0.tar.gz 986031 SHA256 f70d8ae7b8c38f27b4f28e5e7abe55378e18c4f1c5cf8922b561dc908d36ffdc SHA512 45f023bfdaf2294dc47704371dda2531aedde49977e7a9b810998a3be972fae70c44fb0ad6285e247fb6a428e00c056ab1698443d339edebdc84a37f091e528d WHIRLPOOL 70c367bb1b77e0868c3125cd4054616418f68c3ec85805d0f0059a49e3e3f5452342d1f608c6919ba052ad1ffe1505aef2775590e9ced887a95aeeb80e5bed7a DIST clfft-2.10.2.tar.gz 988720 SHA256 7be3a706a533e1a54f9b78e13f91d19603ce082fb32c25b48d1216f5424515d7 SHA512 4f192ddf2f578aeadc350534b28036618b15a77bd216231283597515de5cef558d8e1aead1345d8f03f76dba17e41bc001af7845f502d16effa18c093f3acffe WHIRLPOOL 94cb59852b879df74e98fb7a12bdcacac9edfdd393a5aaab405b3dfa72f5c3775169135ad84d0ca627a095fcdfb73f71c8900b0d1bc707b0ee0433a9260d5025 -DIST clfft-2.6.1.tar.gz 893794 SHA256 2b5b15b903baeef4dcea6bb8efbe6aba284510148c04d20f9b151a94ae71c050 SHA512 6022ba6a2f09ae3139c3869464fb7807b0a76f26ef9b9cc856f65abc3e6278004242ebbe3d259406bc8a619684f5ccf24b2019bdbe4dfaf6c745572e0a0ae4b0 WHIRLPOOL 9a61d7c84bccf4744983a851e97cfd4d5b8cd0d7d868d8adc6a022a535b681f13d6ab687d42e5e2ca2773f560ef93403d705ee4f9caa970fa17d45ea525956dc -DIST clfft-2.8.tar.gz 967253 SHA256 9964b537f0af121560e64cb5a2513b153511ca85e011f23a332c45cc66f3d60a SHA512 73a1ee5373173c33bd25d2f28f46d7744fe35c4c8d1b38bede0efadd37f8199e547881eb62b04d33d6785fcddbd09512d934f88abad662a1e6c5c6299beae5ce WHIRLPOOL 529c242d1f2bf4030da96640a57a6a8c4d807be010cfc89546f2ebd99ae4f17c5d3281f60308ec98e662c6f28947fec4aa45708a7c0f1742e76d60a567c94822 diff --git a/sci-libs/clfft/clfft-2.6.1.ebuild b/sci-libs/clfft/clfft-2.6.1.ebuild deleted file mode 100644 index bbb7f4e05..000000000 --- a/sci-libs/clfft/clfft-2.6.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils - -MY_PN="clFFT" - -DESCRIPTION="Library containing FFT functions written in OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clFFT" -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+client examples test" - -RDEPEND=" - >=sys-devel/gcc-4.6:* - virtual/opencl - dev-libs/boost" -DEPEND="${RDEPEND}" -# test? ( -# dev-cpp/gtest -# sci-libs/fftw:3.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${MY_PN}-${PV}/src" - -PATCHES=( - "${FILESDIR}/${P}"-Install-cmake-configuration-to-lib-cmake-clFFT.patch - "${FILESDIR}/${P}"-Install-examples-to-share-clFFT-examples.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_build client CLIENT) - $(cmake-utils_use_build examples EXAMPLES) - $(cmake-utils_use_build test TEST) - ) - cmake-utils_src_configure -} diff --git a/sci-libs/clfft/clfft-2.8-r1.ebuild b/sci-libs/clfft/clfft-2.8-r1.ebuild deleted file mode 100644 index 792567f73..000000000 --- a/sci-libs/clfft/clfft-2.8-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils - -MY_PN="clFFT" - -DESCRIPTION="Library containing FFT functions written in OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clFFT" -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="callback_client +client examples test" - -RDEPEND=" - >=sys-devel/gcc-4.6:* - virtual/opencl - dev-libs/boost" -DEPEND="${RDEPEND}" -# test? ( -# dev-cpp/gtest -# sci-libs/fftw:3.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${MY_PN}-${PV}/src" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_build callback_client CALLBACK_CLIENT) - $(cmake-utils_use_build client CLIENT) - $(cmake-utils_use_build examples EXAMPLES) - $(cmake-utils_use_build test TEST) - -DBoost_USE_STATIC_LIBS=OFF - ) - cmake-utils_src_configure -} - -# Upstream fixed already adjusted their CMakeLists.txt. Thus, the (callback) client -# is installed by cmake again with the next release. -src_install() { - cmake-utils_src_install - - use callback_client && dobin "${BUILD_DIR}/staging/clFFT-callback-client-2.8.0" - use client && dobin "${BUILD_DIR}/staging/clFFT-client-2.8.0" -} diff --git a/sci-libs/clfft/clfft-2.8.ebuild b/sci-libs/clfft/clfft-2.8.ebuild deleted file mode 100644 index 6d2580e84..000000000 --- a/sci-libs/clfft/clfft-2.8.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils - -MY_PN="clFFT" - -DESCRIPTION="Library containing FFT functions written in OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clFFT" -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="callback_client +client examples test" - -RDEPEND=" - >=sys-devel/gcc-4.6:* - virtual/opencl - dev-libs/boost" -DEPEND="${RDEPEND}" -# test? ( -# dev-cpp/gtest -# sci-libs/fftw:3.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${MY_PN}-${PV}/src" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_build callback_client CALLBACK_CLIENT) - $(cmake-utils_use_build client CLIENT) - $(cmake-utils_use_build examples EXAMPLES) - $(cmake-utils_use_build test TEST) - ) - cmake-utils_src_configure -} - -# Upstream fixed already adjusted their CMakeLists.txt. Thus, the (callback) client -# is installed by cmake again with the next release. -src_install() { - cmake-utils_src_install - - use callback_client && dobin "${BUILD_DIR}/staging/clFFT-callback-client-2.8.0" - use client && dobin "${BUILD_DIR}/staging/clFFT-client-2.8.0" -} diff --git a/sci-libs/clfft/files/clfft-2.6.1-Install-cmake-configuration-to-lib-cmake-clFFT.patch b/sci-libs/clfft/files/clfft-2.6.1-Install-cmake-configuration-to-lib-cmake-clFFT.patch deleted file mode 100644 index dc317d40d..000000000 --- a/sci-libs/clfft/files/clfft-2.6.1-Install-cmake-configuration-to-lib-cmake-clFFT.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 6a3ba77529987d5906ba6f734bc2fa66a9155a1c Mon Sep 17 00:00:00 2001 -From: Marius Brehler -Date: Fri, 5 Jun 2015 14:59:29 +0200 -Subject: [PATCH] Install cmake configuration to lib/cmake/clFFT - ---- - src/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index ad15e4a..73200fa 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -290,7 +290,7 @@ endif() - if(WIN32) - set(destdir CMake) - else() -- set(destdir share/clFFT) -+ set(destdir lib${SUFFIX_LIB}/cmake/clFFT) - endif() - string(REGEX REPLACE "[^/]+" ".." reldir "${destdir}") - configure_file( --- -2.0.5 - diff --git a/sci-libs/clfft/files/clfft-2.6.1-Install-examples-to-share-clFFT-examples.patch b/sci-libs/clfft/files/clfft-2.6.1-Install-examples-to-share-clFFT-examples.patch deleted file mode 100644 index dff303996..000000000 --- a/sci-libs/clfft/files/clfft-2.6.1-Install-examples-to-share-clFFT-examples.patch +++ /dev/null @@ -1,15 +0,0 @@ -Patch to fix location of examples: -https://github.com/clMathLibraries/clFFT/pull/108 - -Backported for 2.6.1 by Marius Brehler. ---- src/examples/CMakeLists.txt -+++ src/examples/CMakeLists.txt -@@ -47,6 +47,7 @@ FOREACH(FILE ${FILES}) - OUTPUT_NAME ${EXAMPLE} - RUNTIME_OUTPUT_DIRECTORY ${DIR_NAME}) - -+ INSTALL(FILES ${FILE} DESTINATION "share/clFFT/examples") - INSTALL(TARGETS ${EXAMPLE_NAME} -- RUNTIME DESTINATION "bin${SUFFIX_BIN}/examples") -+ RUNTIME DESTINATION "share/clFFT/examples") - ENDFOREACH() -- cgit v1.2.3-18-g5258