amarok add dep
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS","COPYING","README")
|
||||
@@ -0,0 +1,35 @@
|
||||
--- lib/JAMA/tnt_math_utils.h 2006-05-10 20:58:50.000000000 +0300
|
||||
+++ lib/JAMA/tnt_math_utils.h 2007-07-27 16:20:01.000000000 +0300
|
||||
@@ -19,6 +19,16 @@
|
||||
|
||||
namespace TNT
|
||||
{
|
||||
+
|
||||
+/**
|
||||
+· @returns the absolute value of a real (no-complex) scalar.
|
||||
+*/
|
||||
+template <class Real>
|
||||
+Real abs(const Real &a)
|
||||
+{
|
||||
+ return (a > 0 ? a : -a);
|
||||
+}
|
||||
+
|
||||
/**
|
||||
@returns hypotenuse of real (non-complex) scalars a and b by
|
||||
avoiding underflow/overflow
|
||||
@@ -56,15 +66,6 @@
|
||||
}
|
||||
*/
|
||||
|
||||
-/**
|
||||
- @returns the absolute value of a real (no-complex) scalar.
|
||||
-*/
|
||||
-template <class Real>
|
||||
-Real abs(const Real &a)
|
||||
-{
|
||||
- return (a > 0 ? a : -a);
|
||||
-}
|
||||
-
|
||||
}
|
||||
#endif
|
||||
/* MATH_UTILS_H */
|
||||
@@ -0,0 +1,35 @@
|
||||
diff -up libofa-0.9.3/examples/example.cpp.gcc43 libofa-0.9.3/examples/example.cpp
|
||||
--- libofa-0.9.3/examples/example.cpp.gcc43 2009-02-25 11:10:51.000000000 -0600
|
||||
+++ libofa-0.9.3/examples/example.cpp 2009-02-25 11:12:00.000000000 -0600
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
-------------------------------------------------------------------*/
|
||||
|
||||
+#include <cstdio>
|
||||
+#include <cstring>
|
||||
#include "protocol.h"
|
||||
|
||||
AudioData* loadWaveFile(char *file);
|
||||
diff -up libofa-0.9.3/examples/protocol.cpp.gcc43 libofa-0.9.3/examples/protocol.cpp
|
||||
--- libofa-0.9.3/examples/protocol.cpp.gcc43 2009-02-25 11:10:51.000000000 -0600
|
||||
+++ libofa-0.9.3/examples/protocol.cpp 2009-02-25 11:10:51.000000000 -0600
|
||||
@@ -8,7 +8,7 @@
|
||||
-------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <string>
|
||||
+#include <cstring>
|
||||
#include <map>
|
||||
#include <expat.h>
|
||||
#include <curl/curl.h>
|
||||
diff -up libofa-0.9.3/lib/signal_op.cpp.gcc43 libofa-0.9.3/lib/signal_op.cpp
|
||||
--- libofa-0.9.3/lib/signal_op.cpp.gcc43 2009-02-25 11:10:51.000000000 -0600
|
||||
+++ libofa-0.9.3/lib/signal_op.cpp 2009-02-25 11:10:51.000000000 -0600
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
#include <math.h>
|
||||
+#include <cstdlib>
|
||||
#include "signal_op.h"
|
||||
#include "AFLIB/aflibConverter.h"
|
||||
#include "error_op.h"
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -ru libofa-0.9.3.orig//examples/protocol.cpp libofa-0.9.3//examples/protocol.cpp
|
||||
--- libofa-0.9.3.orig//examples/protocol.cpp 2006-05-10 20:05:42.000000000 +0200
|
||||
+++ libofa-0.9.3//examples/protocol.cpp 2011-07-22 19:02:30.687109297 +0200
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <map>
|
||||
#include <expat.h>
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
using namespace std;
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -up libofa-0.9.3/examples/uselame.cpp.gcc47 libofa-0.9.3/examples/uselame.cpp
|
||||
--- libofa-0.9.3/examples/uselame.cpp.gcc47 2012-01-14 09:35:24.343146853 -0600
|
||||
+++ libofa-0.9.3/examples/uselame.cpp 2012-01-14 09:35:49.956826634 -0600
|
||||
@@ -12,6 +12,7 @@
|
||||
#else
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
+#include <unistd.h>
|
||||
|
||||
AudioData *loadWaveFile(char *file);
|
||||
|
||||
diff -up libofa-0.9.3/examples/wavefile.cpp.gcc47 libofa-0.9.3/examples/wavefile.cpp
|
||||
--- libofa-0.9.3/examples/wavefile.cpp.gcc47 2012-01-14 09:35:24.344146841 -0600
|
||||
+++ libofa-0.9.3/examples/wavefile.cpp 2012-01-14 16:00:54.414981160 -0600
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "io.h"
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
static bool readBytes(int fd, unsigned char *buf, int size) {
|
||||
int ct = 0;
|
||||
@@ -0,0 +1,12 @@
|
||||
--- libofa-0.9.3/libofa.pc.in.pkgconfig 2006-05-10 12:58:51.000000000 -0500
|
||||
+++ libofa-0.9.3/libofa.pc.in 2006-09-14 08:36:12.000000000 -0500
|
||||
@@ -7,6 +7,6 @@
|
||||
Description: The Open Fingerprint Architecture Library
|
||||
URL: http://www.musicdns.org/
|
||||
Version: @VERSION@
|
||||
-Requires: fftw3
|
||||
-Libs: -L${libdir} -lofa -lexpat -lm
|
||||
+Libs: -L${libdir} -lofa
|
||||
+Libs.private: -lfftw -lm
|
||||
Cflags: -I${includedir}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libofa</Name>
|
||||
<Homepage>http://www.musicip.com</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>The Open Fingerprint Architecture library</Summary>
|
||||
<Description>libofa is a library for generating acoustic fingerprints that can be used to identify music files using the MusicDNS service.</Description>
|
||||
<Archive sha1sum="3dec8e1dcea937f74b4165e9ffd4d4f355e4594a" type="targz">https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/musicip-libofa/libofa-0.9.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>fftw3-devel</Dependency>
|
||||
<Dependency>expat-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>compile.patch</Patch>
|
||||
<Patch level="1">gcc44.patch</Patch>
|
||||
<Patch level="1">pkgconfig.patch</Patch>
|
||||
<Patch level="1">libofa-0.9.3-gcc47.patch</Patch>
|
||||
<Patch level="1">libofa-0.9.3-curl.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libofa</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>fftw3</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libofa-devel</Name>
|
||||
<Summary>Development files for libofa</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libofa</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-01-07</Date>
|
||||
<Version>0.9.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libofa</Name>
|
||||
<Summary xml:lang="tr">Müzik dosyaları için akustik parmak izi oluşturma kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libofa, MısicDNS servisini kullanarak müzik dosyalarının akustik parmak izini oluşturmak için kullanılan bir kitaplığıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libofa-devel</Name>
|
||||
<Summary xml:lang="tr">libofa için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user