[proaudio] [2773] media-libs/fidlib: Import from the main tree. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2773
Author: lilrc
Date: 2013-07-29 19:47:19 +0200 (Mon, 29 Jul 2013)
Log Message:
-----------
media-libs/fidlib: Import from the main tree. Temporary fix for #449494.
Added Paths:
-----------
trunk/overlays/proaudio/media-libs/fidlib/
trunk/overlays/proaudio/media-libs/fidlib/ChangeLog
trunk/overlays/proaudio/media-libs/fidlib/Manifest
trunk/overlays/proaudio/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
trunk/overlays/proaudio/media-libs/fidlib/files/
trunk/overlays/proaudio/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
trunk/overlays/proaudio/media-libs/fidlib/metadata.xml
Added: trunk/overlays/proaudio/media-libs/fidlib/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/fidlib/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-libs/fidlib/ChangeLog 2013-07-29 17:47:19 UTC (rev 2773)
@@ -0,0 +1,12 @@
+# ChangeLog for media-libs/fidlib
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*fidlib-0.9.10-r1 (29 Jul 2013)
+
+ 29 Jul 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+ +fidlib-0.9.10-r1.ebuild, +files/fidlib-0.9.10-cpp-extern.patch,
+ +metadata.xml:
+ Import from the main tree with fixed patch. It is a temporary fix for gentoo
+ bug #449494.
+
Added: trunk/overlays/proaudio/media-libs/fidlib/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/fidlib/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-libs/fidlib/Manifest 2013-07-29 17:47:19 UTC (rev 2773)
@@ -0,0 +1,5 @@
+AUX fidlib-0.9.10-cpp-extern.patch 656 SHA256 3938142080a58a7f5ef6082937d72feb33e850b24b6b4956829e9ca19f413905 SHA512 1232fe16374323f0c3db3c2ef81920378aabb7baa74604739d8b18ec189668411a987640fb8d481175f18b3cd14ddebbe6b1b74e28eef35321f726bccdc966c4 WHIRLPOOL 4341e1c5bfb631a223fc352b02ea7f6a5ced4f4a53e0b996bc087822810a65be90cb0b48b2370d3456e62d8337f614ec59740a017f9827673d255e1b63954a05
+DIST fidlib-0.9.10.tgz 87082 SHA256 14ab5d50798d6b24f6421a21813de533f7b62b78c46978bbd0f499f33c21733e SHA512 77600acd665407b4d786b406a4f20b2f6c30c74775f5777d5054420b80c74e5bfa316bf7bd90df1669c09cef0ff9b552a0338cd138bf7d9bcf1df7cbff9fea4b WHIRLPOOL c8613f29e8b67b9da6b424759ede6141bb844f3e6b65abc7d9d2cc3b3cff7fac3c5110f7f092ba68b24b47e258789e18a1baeb5ef253033c276808605d9199e2
+EBUILD fidlib-0.9.10-r1.ebuild 1235 SHA256 caed828c28f2be5219a08590a6b2f34e6a5e3e3e3ffc1287b8dd4d31c1b538ba SHA512 152ffe8180f09edd20eef588f689abbd9490245fca192613c9b23cd786b92bccfc4cfde43b3204449ddb0b7ba6c1cf95505dc7a253193edd3c6f10bc20bc7187 WHIRLPOOL 5fc2b3fab60f620762f367d1143ee871766bc52351d52f3e09ab69b86b8d7aada0593e9ed6cedd56af3387bba74b28ac58bf254ee853c43f888f3c3eebf3d275
+MISC ChangeLog 395 SHA256 11c8618287b4bcdd71e65c3ed633957d291f23923f1f2b00d7123e68f4b8d7cf SHA512 103ecf4c6dcc4bd8ce03414d242bade0bc5e5d47a3d39e0258dac8c36f8e2c8c52eb091797d1f959d622abd0dc7f3dcdc95c1497197058be9e53ea9729861878 WHIRLPOOL 594508089fc6b654eb337a81e0d0ca642c7a61e46b1b5d69cda70ea9495fe130dae7b78f656092146cbe598e7fb9b76deb4571d0e395c01687684d550741dfea
+MISC metadata.xml 163 SHA256 39a67c65d2e7583b6ee9e20fcab1fd821e28c51134eb2f76a7fe0598a2c2b4cb SHA512 9f75bebfe63cca16660e90ff8d0f4fb6a7b2923630c72616134f69273306434c3060eb2be81b6bc619dfdce11bc0e76d3ba874007ddf866367a81fc2279b9496 WHIRLPOOL 6de4b890a3933fb8231bf774fbb466595fee98bb2a4cfcbd1592f30f9aa50ac0f53a32d57703d55cfcd5a7e5af8c407229cd72cbaf1382cc2a2147ddf5cc4e05
Added: trunk/overlays/proaudio/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/fidlib/fidlib-0.9.10-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-libs/fidlib/fidlib-0.9.10-r1.ebuild 2013-07-29 17:47:19 UTC (rev 2773)
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fidlib/fidlib-0.9.10.ebuild,v 1.5 2012/06/13 12:59:29 johu Exp $
+
+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
+}
Added: trunk/overlays/proaudio/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch (rev 0)
+++ trunk/overlays/proaudio/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch 2013-07-29 17:47:19 UTC (rev 2773)
@@ -0,0 +1,27 @@
+diff -Naur fidlib-0.9.10/fidlib.h _fidlib-0.9.10/fidlib.h
+--- fidlib-0.9.10/fidlib.h 2008-05-08 00:10:46.000000000 -0700
++++ _fidlib-0.9.10/fidlib.h 2012-12-31 10:29:29.087990507 -0800
+@@ -2,6 +2,13 @@
+ // fidlib include file
+ //
+
++#ifndef __FIDLIB_H
++#define __FIDLIB_H
++
++#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 +73,9 @@
+ extern void fid_run_zapbuf(void *buf);
+ extern void fid_run_freebuf(void *runbuf);
+ extern void fid_run_free(void *run);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif /* __FIDLIB_H */
Added: trunk/overlays/proaudio/media-libs/fidlib/metadata.xml
===================================================================
(Binary files differ)
Property changes on: trunk/overlays/proaudio/media-libs/fidlib/metadata.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml