summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-10-25 13:58:35 -0400
committerZero_Chaos <zerochaos@gentoo.org>2017-10-25 13:58:57 -0400
commitf603864a8217216944b40db6b2f698228d881ba4 (patch)
tree7b6117d16bf41cc2121857c63809f5933f83440b /net-libs
parentdev-python/pyblake2: drop fugly hack, no longer necessary after cpu features fix (diff)
downloadgentoo-f603864a8217216944b40db6b2f698228d881ba4.tar.gz
gentoo-f603864a8217216944b40db6b2f698228d881ba4.tar.bz2
gentoo-f603864a8217216944b40db6b2f698228d881ba4.zip
net-libs/liquid-dsp: version bump, complete with some nice build fixes
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/liquid-dsp/Manifest1
-rw-r--r--net-libs/liquid-dsp/liquid-dsp-1.3.1.ebuild43
-rw-r--r--net-libs/liquid-dsp/liquid-dsp-9999.ebuild2
3 files changed, 45 insertions, 1 deletions
diff --git a/net-libs/liquid-dsp/Manifest b/net-libs/liquid-dsp/Manifest
index 3a7ef0701473..b022f9a293a2 100644
--- a/net-libs/liquid-dsp/Manifest
+++ b/net-libs/liquid-dsp/Manifest
@@ -1 +1,2 @@
DIST liquid-dsp-1.3.0.tar.gz 1036160 SHA256 b136343d644bc1441f7854f2d292bfa054e8d040c0b745879b205f6836dca0f0 SHA512 d69df2c15ea56cd84be9f77383b9914daa52e89e1136aa84fd14dff7690e98c4e29bb5c4e570cac5ef826b884b8fa382e5d806a711d22b6d5c4ddf5b93a0026b WHIRLPOOL ec0605293e5e0b8b1e276390b007ba8be871f23fdaafa6ec3e5dfb5fd54d1ca5c95b69b807ac4a91db63c673c0cf9df999db3c98bebc556fd4547b13388c8858
+DIST liquid-dsp-1.3.1.tar.gz 1047182 SHA256 e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73 SHA512 6da76030fc346e3fadfe70e72be14d1f2ff198d3e9bb5ffb5f4d9b89945686d2474d3bb4911a2b923aad22feabebf2744d47afbffabab87737fe46a24af68917 WHIRLPOOL ab032dffb7ba600b18a2e8a414e2bd43c416e0b7380247c73d03831626598a0438f88032e6deeac7db5fa7f2690c556057faf9467532d63a84ec8d17acc7ac37
diff --git a/net-libs/liquid-dsp/liquid-dsp-1.3.1.ebuild b/net-libs/liquid-dsp/liquid-dsp-1.3.1.ebuild
new file mode 100644
index 000000000000..968f83948b9b
--- /dev/null
+++ b/net-libs/liquid-dsp/liquid-dsp-1.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib
+
+DESCRIPTION="digital signal processing library for software-defined radios"
+HOMEPAGE="http://liquidsdr.org"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jgaeddert/liquid-dsp.git"
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="static-libs"
+
+DEPEND="sci-libs/fftw:3.0="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply_user
+ eautoreconf
+}
+
+src_configure() {
+ #without this rather odd looking bit, it installs libraries into /usr/usr/$(get_libdir)
+ #what is super special is that if exec-prefix is unset, libdir is lib64...
+ #but if exec-prefix is default then libdir ends up as /usr/lib64 in makefile...
+ econf --exec-prefix="" --libdir="/usr/$(get_libdir)"
+}
+
+src_install() {
+ default
+ ! use static-libs && rm "${ED}"/usr/"$(get_libdir)"/libliquid.a
+}
diff --git a/net-libs/liquid-dsp/liquid-dsp-9999.ebuild b/net-libs/liquid-dsp/liquid-dsp-9999.ebuild
index fcd3127de23e..968f83948b9b 100644
--- a/net-libs/liquid-dsp/liquid-dsp-9999.ebuild
+++ b/net-libs/liquid-dsp/liquid-dsp-9999.ebuild
@@ -17,7 +17,7 @@ if [ "${PV}" = "9999" ]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
- SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
IUSE="static-libs"