summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororumin2016-06-06 16:35:42 +0900
committerorumin2016-06-06 16:35:42 +0900
commite71f802785238a21fa74646ce5c41192afe95f95 (patch)
tree742c8bd9014f18746ce0e29dc8c3a7d9e9aa9a1c
downloadaur-e71f802785238a21fa74646ce5c41192afe95f95.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD41
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ef05e6d155
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Mon Jun 6 07:35:34 UTC 2016
+pkgbase = lib32-chromaprint
+ pkgdesc = Library that implements a custom algorithm for extracting fingerprints from any audio source (32-bit)
+ pkgver = 1.3.1
+ pkgrel = 1
+ url = https://acoustid.org/chromaprint
+ arch = x86_64
+ license = LGPL
+ makedepends = cmake
+ depends = lib32-ffmpeg
+ source = https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.3.1.tar.gz
+ sha1sums = 439c5d34a3ff46bcdb54cbcb613da175eb4d83c5
+
+pkgname = lib32-chromaprint
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d146a19f8f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: orumin <dev@orum.in>
+
+_basename=chromaprint
+pkgname="lib32-$_basename"
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source (32-bit)'
+url='https://acoustid.org/chromaprint'
+arch=('x86_64')
+license=('LGPL')
+depends=('lib32-ffmpeg')
+makedepends=('cmake')
+source=("https://bitbucket.org/acoustid/${_basename}/downloads/${_basename}-${pkgver}.tar.gz")
+sha1sums=('439c5d34a3ff46bcdb54cbcb613da175eb4d83c5')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ cmake ../$_basename-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_EXAMPLES=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ cd "$pkgdir"/usr
+ rm -r bin include
+ mv lib lib32
+}