New package: liquid-dsp-1.3.1

This commit is contained in:
bra1nwave 2018-08-18 18:13:53 +02:00 committed by maxice8
parent 9cc63f577b
commit 1d74820e9c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
4 changed files with 78 additions and 0 deletions

View file

@ -3396,3 +3396,4 @@ libopkg.so.1 libopkg-0.4.0_1
libQMatrixClient.so.0.4 libqmatrixclient-0.4.2.1_1
libipset.so.13 libipset-7.1_1
libmp3splt.so.0 libmp3splt-0.9.2_1
libliquid.so.1 liquid-dsp-1.3.1_1

1
srcpkgs/liquid-dsp-devel Symbolic link
View file

@ -0,0 +1 @@
liquid-dsp

View file

@ -0,0 +1,41 @@
Description: Add versioned soname to library
Upstream has no versioned soname yet, so this patch adds a Debian
specific soname version until something is added upstream.
Author: Andreas Bombe <aeb@debian.org>
Last-Update: 2016-12-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: git/makefile.in
===================================================================
--- makefile.in 2017-10-28 20:23:47.395786766 +0200
+++ makefile.in 2017-10-28 20:23:47.391786768 +0200
@@ -1167,7 +1167,7 @@
$(CC) -dynamiclib -install_name $@ -o $@ $^ $(LDFLAGS) $(LIBS)
# linux, et al
-libliquid.so: libliquid.a
+$(SHARED_LIB): libliquid.a
$(CC) $(CFLAGS) $(LDFLAGS) -shared -Xlinker -soname=$@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive $(LIBS)
all: libliquid.a $(SHARED_LIB)
@@ -1191,6 +1191,7 @@
mkdir -p $(DESTDIR)$(exec_prefix)$(libdir)
mkdir -p $(DESTDIR)$(prefix)/include/liquid
install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(exec_prefix)$(libdir)
+ ln -s $(SHARED_LIB) $(DESTDIR)$(exec_prefix)$(libdir)/libliquid.so
install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
@echo ""
@echo "---------------------------------------------------------"
Index: git/configure.ac
===================================================================
--- configure.ac 2017-10-28 20:23:47.395786766 +0200
+++ configure.ac 2017-10-28 20:23:47.391786768 +0200
@@ -242,7 +242,7 @@
REBIND=""
;;
*)
- SH_LIB=libliquid.so
+ SH_LIB=libliquid.so.1
REBIND=ldconfig
;;
esac

View file

@ -0,0 +1,35 @@
# Template file for 'liquid-dsp'
pkgname=liquid-dsp
version=1.3.1
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="fftw-devel"
short_desc="Signal processing library for software-defined radios (SDR)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="http://liquidsdr.org/"
distfiles="https://github.com/jgaeddert/liquid-dsp/archive/v${version}.tar.gz"
checksum=e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73
case "$XBPS_TARGET_MACHINE" in
i686*) configure_args+="--exec-prefix=" ;;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
liquid-dsp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}