Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/fidlib/, media-libs/fidlib/files/
Date: Sat, 14 Dec 2019 21:17:06
Message-Id: 1576358207.32b725776e00345cec55cccccf0a2d0ce7eba0f6.soap@gentoo
1 commit: 32b725776e00345cec55cccccf0a2d0ce7eba0f6
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 14 21:16:47 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 14 21:16:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b72577
7
8 media-libs/fidlib: Remove old
9
10 Package-Manager: Portage-2.3.81, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 media-libs/fidlib/fidlib-0.9.10.ebuild | 49 ----------------------
14 .../fidlib/files/fidlib-0.9.10-cpp-extern.patch | 21 ----------
15 2 files changed, 70 deletions(-)
16
17 diff --git a/media-libs/fidlib/fidlib-0.9.10.ebuild b/media-libs/fidlib/fidlib-0.9.10.ebuild
18 deleted file mode 100644
19 index eb2c394daff..00000000000
20 --- a/media-libs/fidlib/fidlib-0.9.10.ebuild
21 +++ /dev/null
22 @@ -1,49 +0,0 @@
23 -# Copyright 1999-2012 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=4
27 -
28 -inherit toolchain-funcs flag-o-matic eutils multilib
29 -
30 -DESCRIPTION="Run-time filter design and execution library"
31 -HOMEPAGE="http://uazu.net/fidlib/"
32 -SRC_URI="http://uazu.net/fidlib/${P}.tgz"
33 -
34 -LICENSE="GPL-2 LGPL-2.1"
35 -SLOT="0"
36 -KEYWORDS="amd64 x86"
37 -IUSE=""
38 -
39 -doecho() {
40 - echo "$@"
41 - "$@" || die
42 -}
43 -
44 -src_prepare() {
45 - epatch "${FILESDIR}"/${P}-cpp-extern.patch
46 -
47 - # Avoid ICE under gcc-4.6, fixed in 4.6.3
48 - if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then
49 - replace-flags -O? -O0
50 - fi
51 -}
52 -
53 -src_compile() {
54 - # build library
55 - doecho $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
56 - -fPIC -shared fidlib.c -lm -o libfidlib.so.${PV:0:1}
57 -
58 - # build command-line tool
59 - doecho $(tc-getCC) ${CFLAGS} ${LDFLAGS} firun.c -lm ./libfidlib.so.${PV:0:1} -o firun
60 -}
61 -
62 -src_install() {
63 - dobin firun
64 - dolib.so libfidlib.so.${PV:0:1}
65 - dosym libfidlib.so.${PV:0:1} /usr/$(get_libdir)/libfidlib.so
66 -
67 - insinto /usr/include/fidlib
68 - doins fidlib.h
69 -
70 - dodoc NEWS README fidlib.txt firun.txt
71 -}
72
73 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
74 deleted file mode 100644
75 index 221ec825f17..00000000000
76 --- a/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
77 +++ /dev/null
78 @@ -1,21 +0,0 @@
79 ---- fidlib-0.9.10/fidlib.h
80 -+++ fidlib-0.9.10/fidlib.h
81 -@@ -2,6 +2,10 @@
82 - // fidlib include file
83 - //
84 -
85 -+#ifdef __cplusplus
86 -+extern "C" {
87 -+#endif
88 -+
89 - typedef struct FidFilter FidFilter;
90 - struct FidFilter {
91 - short typ; // Type of filter element 'I' IIR, 'F' FIR, or 0 for end of list
92 -@@ -66,3 +70,7 @@
93 - extern void fid_run_zapbuf(void *buf);
94 - extern void fid_run_freebuf(void *runbuf);
95 - extern void fid_run_free(void *run);
96 -+
97 -+#ifdef __cplusplus
98 -+}
99 -+#endif