* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2017-06-27 20:36 Alexis Ballier
0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2017-06-27 20:36 UTC (permalink / raw
To: gentoo-commits
commit: 816a306a09ea08df2eea41958f4a72c07fd4423a
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 20:08:22 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 20:35:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816a306a
sci-libs/djbfft: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
sci-libs/djbfft/djbfft-0.76-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
index b15f46931b9..f2e4cc74f11 100644
--- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -10,7 +10,7 @@ SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
DOCS=( CHANGES README TODO VERSION )
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-08-10 12:43 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2021-08-10 12:43 UTC (permalink / raw
To: gentoo-commits
commit: 2e34c60132803f4b8aff79789943063f127437ec
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 10 12:06:25 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 12:43:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e34c601
sci-libs/djbfft: keyword 0.76-r2 for ~riscv
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
index ea41d6b0930..b631df7d2c3 100644
--- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
IUSE=""
DOCS=( CHANGES README TODO VERSION )
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-08-10 13:00 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2021-08-10 13:00 UTC (permalink / raw
To: gentoo-commits
commit: 7372c941c40885db8c74a6cf4c5bc527efcda6a4
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 10 12:59:26 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 12:59:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7372c941
sci-libs/djbfft: update EAPI 5 -> 8
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 72 +++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
new file mode 100644
index 00000000000..87ed3a30bcd
--- /dev/null
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs multilib multilib-minimal
+
+DESCRIPTION="Extremely fast library for floating-point convolution"
+HOMEPAGE="https://cr.yp.to/djbfft.html"
+SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc3.patch
+ "${FILESDIR}"/${P}-shared.patch
+ "${FILESDIR}"/${P}-headers.patch
+)
+
+DOCS=( CHANGES README TODO VERSION )
+
+src_prepare() {
+ default
+
+ # mask out everything which is not suggested by the author (RTFM)!
+ ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math"
+ strip-flags
+
+ SOVER="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
+ SONAME="libdjbfft.so.${SOVER}"
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ [[ ${ABI} == x86* ]] && append-cflags -malign-double
+
+ sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c || die
+ echo "$(tc-getCC) ${CFLAGS} -fPIC" > "conf-cc"
+ echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld"
+ echo "${ED}/usr" > "conf-home"
+ einfo "conf-cc: $(<conf-cc)"
+}
+
+multilib_src_compile() {
+ emake \
+ LIBDJBFFT=${SONAME} \
+ LIBPERMS=0755 \
+ ${SONAME}
+ echo "the compile function was:"
+ cat ./compile
+ echo "the conf-ld function was:"
+ cat ./conf-ld
+}
+
+multilib_src_test() {
+ local t
+ for t in accuracy accuracy2 speed; do
+ emake ${t}
+ einfo "Testing ${t}"
+ LD_LIBRARY_PATH=. ./${t} > ${t}.out || die "test ${t} failed"
+ done
+}
+
+multilib_src_install() {
+ emake LIBDJBFFT=${SONAME} install
+ ./install || die "install failed"
+ dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so
+ dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so.${SOVER%%.*}
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-04 17:44 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-10-04 17:44 UTC (permalink / raw
To: gentoo-commits
commit: d68029888cd090949d20e56a68955bff694a8473
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Oct 4 16:55:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 17:44:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6802988
sci-libs/djbfft: stable 0.76-r3 for sparc, bug #816231
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 87ed3a30bcd..9e9205c14c3 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-04 19:16 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-10-04 19:16 UTC (permalink / raw
To: gentoo-commits
commit: 3f6e5fabce870f1ed4927c70e6ea51e81be9145c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 4 19:16:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 19:16:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6e5fab
sci-libs/djbfft: Stabilize 0.76-r3 arm64, #816231
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 9e9205c14c3..b3d2a0014fb 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-04 19:17 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-10-04 19:17 UTC (permalink / raw
To: gentoo-commits
commit: 48c2c5ebc75a2881d209d6872f96c7dfb13a4f93
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 4 19:17:24 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 19:17:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c2c5eb
sci-libs/djbfft: Stabilize 0.76-r3 arm, #816231
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index b3d2a0014fb..8b588796830 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-04 19:19 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-10-04 19:19 UTC (permalink / raw
To: gentoo-commits
commit: 847cd5adf62f7afaac8d8dbcff0be5109f2bdc6e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 4 19:18:58 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 19:18:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847cd5ad
sci-libs/djbfft: Stabilize 0.76-r3 ppc, #816231
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 56a506f2a5d..331453e652d 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-04 19:19 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-10-04 19:19 UTC (permalink / raw
To: gentoo-commits
commit: 81892d21cdc7bf4fc86fa1175a7383095b9deecb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 4 19:18:38 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 19:18:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81892d21
sci-libs/djbfft: Stabilize 0.76-r3 ppc64, #816231
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 8b588796830..56a506f2a5d 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-05 6:48 Agostino Sarubbo
0 siblings, 0 replies; 11+ messages in thread
From: Agostino Sarubbo @ 2021-10-05 6:48 UTC (permalink / raw
To: gentoo-commits
commit: dc86f22fdf2fab2914ffdba82a5cada984634d52
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 5 06:47:35 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 5 06:47:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc86f22f
sci-libs/djbfft: x86 stable wrt bug #816231
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 331453e652d..9849861d7fc 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-06 6:06 Agostino Sarubbo
0 siblings, 0 replies; 11+ messages in thread
From: Agostino Sarubbo @ 2021-10-06 6:06 UTC (permalink / raw
To: gentoo-commits
commit: a06ccf01627c876aa9573fcd00820e0afb0f2a78
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 06:06:13 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 06:06:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06ccf01
sci-libs/djbfft: amd64 stable wrt bug #816231
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
index 9849861d7fc..a0dcc7e2d8f 100644
--- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cr.yp.to/djbfft/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
PATCHES=(
"${FILESDIR}"/${P}-gcc3.patch
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/
@ 2021-10-06 6:22 Jakov Smolić
0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2021-10-06 6:22 UTC (permalink / raw
To: gentoo-commits
commit: b77f1bb421f5750627202a2568687277964eddf9
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 06:20:57 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 06:20:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77f1bb4
sci-libs/djbfft: drop 0.76-r2
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/djbfft/djbfft-0.76-r2.ebuild | 67 -----------------------------------
1 file changed, 67 deletions(-)
diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
deleted file mode 100644
index b631df7d2c3..00000000000
--- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit epatch flag-o-matic toolchain-funcs multilib multilib-minimal
-
-DESCRIPTION="Extremely fast library for floating-point convolution"
-HOMEPAGE="http://cr.yp.to/djbfft.html"
-SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-DOCS=( CHANGES README TODO VERSION )
-
-src_prepare() {
- SOVER="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
- # mask out everything, which is not suggested by the author (RTFM)!
- ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math"
- strip-flags
-
- SONAME="libdjbfft.so.${SOVER}"
-
- epatch \
- "${FILESDIR}"/${P}-gcc3.patch \
- "${FILESDIR}"/${P}-shared.patch \
- "${FILESDIR}"/${P}-headers.patch
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- [[ ${ABI} == x86* ]] && append-cflags -malign-double
-
- sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c || die
- echo "$(tc-getCC) ${CFLAGS} -fPIC" > "conf-cc"
- echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld"
- echo "${ED}usr" > "conf-home"
- einfo "conf-cc: $(<conf-cc)"
-}
-
-multilib_src_compile() {
- emake \
- LIBDJBFFT=${SONAME} \
- LIBPERMS=0755 \
- ${SONAME}
- echo "the compile function was:"
- cat ./compile
- echo "the conf-ld function was:"
- cat ./conf-ld
-}
-
-multilib_src_test() {
- local t
- for t in accuracy accuracy2 speed; do
- emake ${t}
- einfo "Testing ${t}"
- LD_LIBRARY_PATH=. ./${t} > ${t}.out || die "test ${t} failed"
- done
-}
-
-multilib_src_install() {
- emake LIBDJBFFT=${SONAME} install
- ./install || die "install failed"
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so.${SOVER%%.*}
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-10-06 6:22 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-10 13:00 [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/ Marek Szuba
-- strict thread matches above, loose matches on Subject: below --
2021-10-06 6:22 Jakov Smolić
2021-10-06 6:06 Agostino Sarubbo
2021-10-05 6:48 Agostino Sarubbo
2021-10-04 19:19 Sam James
2021-10-04 19:19 Sam James
2021-10-04 19:17 Sam James
2021-10-04 19:16 Sam James
2021-10-04 17:44 Sam James
2021-08-10 12:43 Marek Szuba
2017-06-27 20:36 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox