summaryrefslogtreecommitdiff
path: root/extra/libofa
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-19 23:15:25 +0000
committerroot <root@rshg054.dnsready.net>2012-02-19 23:15:25 +0000
commit81ee1980feda43043eaebae2c596ae116a21f6e5 (patch)
tree5a48e15abb2f2d299a6c08bf44e1b136ae6a7fb8 /extra/libofa
parent1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (diff)
Sun Feb 19 23:15:25 UTC 2012
Diffstat (limited to 'extra/libofa')
-rw-r--r--extra/libofa/PKGBUILD23
-rw-r--r--extra/libofa/libofa-0.9.3-curl-7.21.patch11
2 files changed, 24 insertions, 10 deletions
diff --git a/extra/libofa/PKGBUILD b/extra/libofa/PKGBUILD
index 97905a1ea..4604e91a0 100644
--- a/extra/libofa/PKGBUILD
+++ b/extra/libofa/PKGBUILD
@@ -1,31 +1,34 @@
-# $Id: PKGBUILD 122092 2011-05-02 06:40:37Z andrea $
+# $Id: PKGBUILD 150605 2012-02-18 22:48:27Z pierre $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libofa
pkgver=0.9.3
-pkgrel=3
+pkgrel=4
pkgdesc="An open-source audio fingerprint by MusicIP"
arch=('i686' 'x86_64')
url="http://code.google.com/p/musicip-libofa/"
license=('GPL2' 'custom')
-depends=('expat' 'curl' 'fftw' 'gcc-libs')
+depends=('expat' 'curl' 'fftw')
makedepends=('pkgconfig')
options=('!libtool')
source=("http://musicip-libofa.googlecode.com/files/$pkgname-$pkgver.tar.gz"
- 'gcc-4.patch'
- 'gcc4.3.patch'
- 'gcc4.5.patch')
-sha1sums=('3dec8e1dcea937f74b4165e9ffd4d4f355e4594a'
- 'cb19377d0634c03d2a49cfc61915cec918c341f7'
- 'cae08bdc12de923d5e032696702a0530ae6eafc1'
- '754d69d66ab46219035ccafeeb3ff62433cca4f2')
+ 'gcc-4.patch'
+ 'gcc4.3.patch'
+ 'gcc4.5.patch'
+ 'libofa-0.9.3-curl-7.21.patch')
+md5sums=('51507d2c4b432bd2755f48d58471696e'
+ 'a6f78b90bd0f4354d022a71c3e58ef6c'
+ 'dd57db13770b8f8d196e8a3d3a50e713'
+ 'c245363368d0e6fa2b4676364b81b74f'
+ '2e1579d74613cfbb1799d0ab5f1a4cba')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 -i ${srcdir}/gcc-4.patch
patch -p1 -i ${srcdir}/gcc4.3.patch
patch -p1 -i ${srcdir}/gcc4.5.patch
+ patch -p1 -i ${srcdir}/libofa-0.9.3-curl-7.21.patch
./configure --prefix=/usr
make
}
diff --git a/extra/libofa/libofa-0.9.3-curl-7.21.patch b/extra/libofa/libofa-0.9.3-curl-7.21.patch
new file mode 100644
index 000000000..d23351860
--- /dev/null
+++ b/extra/libofa/libofa-0.9.3-curl-7.21.patch
@@ -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;