net-libs/liquid-dsp: add 1.6.0

Signed-off-by: Rick Farina <zerochaos@gentoo.org>
This commit is contained in:
Rick Farina
2023-08-21 10:33:50 -04:00
parent 3c1021e1d2
commit a971edec7e
3 changed files with 45 additions and 2 deletions

View File

@@ -1 +1,2 @@
DIST liquid-dsp-1.3.2.tar.gz 1119114 BLAKE2B 4530f3929b97f04cf2e02283af0b0482a7e19783f73cd60b02aeadb26df9f7d33a43847496858b6178526abef34fc5121e94bde38df3796bbdf7149251a29e25 SHA512 1af317512f56078a79396fd3c7a0135c97ef63fd187d52db1b62ddabca683a37fa6b358adafd76d81c3cb06c54f9c7c8fd66f8bb86c0bfebec9e9ef1441ca5d2
DIST liquid-dsp-1.6.0.tar.gz 1243435 BLAKE2B 5bfb93e1b3396d654a78ab153d963df80ed7f23b5023c26302d229bd4109a54d7f72862d15f1fe8f2d27371509010c8571734e5e173efcb75a13923b00dbed40 SHA512 2567d03515e87ab0c047158aeaabb560be711ac54d0b8294b19782104089c4cc61e5b1ec6d3e9ab78162224d4a2d4623e3694e497572d573cb4ce6f451d0a078

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="digital signal processing library for software-defined radios"
HOMEPAGE="https://liquidsdr.org"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jgaeddert/liquid-dsp.git"
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
}

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit autotools