net-libs/liquid-dsp: version bump, complete with some nice build fixes
authorZero_Chaos <zerochaos@gentoo.org>
Wed, 25 Oct 2017 17:58:35 +0000 (13:58 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Wed, 25 Oct 2017 17:58:57 +0000 (13:58 -0400)
Package-Manager: Portage-2.3.12, Repoman-2.3.3

net-libs/liquid-dsp/Manifest
net-libs/liquid-dsp/liquid-dsp-1.3.1.ebuild [new file with mode: 0644]
net-libs/liquid-dsp/liquid-dsp-9999.ebuild

index 3a7ef07014737af9903c866be0313056fae75bfc..b022f9a293a28fef4148216b46060229492fcc04 100644 (file)
@@ -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 (file)
index 0000000..968f839
--- /dev/null
@@ -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
+}
index fcd3127de23e429e7646ab944a2d4d627c302e04..968f83948b9b0a9e0fa49b61e22cac6a80d0b2f0 100644 (file)
@@ -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"