summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-14 22:16:47 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-14 22:16:47 +0100
commit32b725776e00345cec55cccccf0a2d0ce7eba0f6 (patch)
treef393c24182e4d4a553275e271115bc46e2ce3265 /media-libs/fidlib
parentdev-libs/libe: Port to EAPI 7 (diff)
downloadgentoo-32b725776e00345cec55cccccf0a2d0ce7eba0f6.tar.gz
gentoo-32b725776e00345cec55cccccf0a2d0ce7eba0f6.tar.bz2
gentoo-32b725776e00345cec55cccccf0a2d0ce7eba0f6.zip
media-libs/fidlib: Remove old
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/fidlib')
-rw-r--r--media-libs/fidlib/fidlib-0.9.10.ebuild49
-rw-r--r--media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch21
2 files changed, 0 insertions, 70 deletions
diff --git a/media-libs/fidlib/fidlib-0.9.10.ebuild b/media-libs/fidlib/fidlib-0.9.10.ebuild
deleted file mode 100644
index eb2c394daffb..000000000000
--- a/media-libs/fidlib/fidlib-0.9.10.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit toolchain-funcs flag-o-matic eutils multilib
-
-DESCRIPTION="Run-time filter design and execution library"
-HOMEPAGE="http://uazu.net/fidlib/"
-SRC_URI="http://uazu.net/fidlib/${P}.tgz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-doecho() {
- echo "$@"
- "$@" || die
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-cpp-extern.patch
-
- # Avoid ICE under gcc-4.6, fixed in 4.6.3
- if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then
- replace-flags -O? -O0
- fi
-}
-
-src_compile() {
- # build library
- doecho $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
- -fPIC -shared fidlib.c -lm -o libfidlib.so.${PV:0:1}
-
- # build command-line tool
- doecho $(tc-getCC) ${CFLAGS} ${LDFLAGS} firun.c -lm ./libfidlib.so.${PV:0:1} -o firun
-}
-
-src_install() {
- dobin firun
- dolib.so libfidlib.so.${PV:0:1}
- dosym libfidlib.so.${PV:0:1} /usr/$(get_libdir)/libfidlib.so
-
- insinto /usr/include/fidlib
- doins fidlib.h
-
- dodoc NEWS README fidlib.txt firun.txt
-}
diff --git a/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch b/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
deleted file mode 100644
index 221ec825f174..000000000000
--- a/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- fidlib-0.9.10/fidlib.h
-+++ fidlib-0.9.10/fidlib.h
-@@ -2,6 +2,10 @@
- // fidlib include file
- //
-
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+
- typedef struct FidFilter FidFilter;
- struct FidFilter {
- short typ; // Type of filter element 'I' IIR, 'F' FIR, or 0 for end of list
-@@ -66,3 +70,7 @@
- extern void fid_run_zapbuf(void *buf);
- extern void fid_run_freebuf(void *runbuf);
- extern void fid_run_free(void *run);
-+
-+#ifdef __cplusplus
-+}
-+#endif