[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2020-10-09 Thread David Runge via arch-commits
Date: Friday, October 9, 2020 @ 20:47:36
  Author: dvzrv
Revision: 397828

upgpkg: chromaprint 1.5.0-3: Rebuild to add soprovides.

Shorten pkgdesc by reducing on overly specific info.
Switch to correct license (LGPL2.1 and MIT).
Add all available sodeps in package() and the respective package to 
makedepends().
Run tests by building test suite against gtest.
Add libchromaprint.so to provides.
Add license and docs.
Update maintainer info.

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |   58 ++
 1 file changed, 38 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-09 19:40:06 UTC (rev 397827)
+++ PKGBUILD2020-10-09 20:47:36 UTC (rev 397828)
@@ -1,32 +1,50 @@
+# Maintainer: David Runge 
+# Contributor: Gaetan Bisson 
 # Contributor: Wieland Hoffmann 
-# Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
 pkgver=1.5.0
-pkgrel=2
-pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
-url='https://acoustid.org/chromaprint'
+pkgrel=3
+pkgdesc="Library for extracting fingerprints from any audio source"
+url="https://acoustid.org/chromaprint;
 arch=('x86_64')
-license=('LGPL')
-depends=('ffmpeg')
-makedepends=('cmake' 'git')
-source=("https://github.com/acoustid/chromaprint/releases/download/v${pkgver}/chromaprint-${pkgver}.tar.gz;)
-sha256sums=('573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a')
+license=('LGPL2.1' 'MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('cmake' 'ffmpeg' 'gtest')
+provides=('libchromaprint.so')
+# upstream signs with DSA key: 
https://github.com/acoustid/chromaprint/issues/81
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/acoustid/${pkgname}/archive/v${pkgver}.tar.gz;)
+sha512sums=('333114949928abdf5d4b11aba1db6ec487eebe526324c68d903b3fa80a3af87a28d942af765a2f873e63a1bf222b658b6438cd10cde4446f61b26ea91f537469')
+b2sums=('930d1a7b8fa30dc726f78e3fc93c4e1aef5036b60ceee003c36ce7ea344523ce8b3abc294a4204e9acb6472600e7cfa5b15b1ca27c2917bd161b59cac1e7120c')
 
-#_commit=f2ce2e7ff05cf2b0b5e473fff55f31acf07c6a92 #tag=v1.4.2
-#source=("git+https://github.com/acoustid/chromaprint.git#commit=$_commit;)
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # the vendored cmake module does not find gtest
+  rm -v cmake/modules/FindGTest.cmake
+}
 
 build() {
-   cd "${srcdir}/${pkgname}-v${pkgver}"
-   cmake \
-   -DCMAKE_INSTALL_PREFIX=/usr \
-   -DCMAKE_BUILD_TYPE=Release \
-   -DBUILD_TOOLS=ON \
-   .
-   make
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='None' \
+-DBUILD_TESTS=ON \
+-DBUILD_TOOLS=ON \
+-DGTEST_SOURCE_DIR=/usr/src/googletest/ \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
 }
 
+check() {
+  cd "${pkgname}-${pkgver}"
+  make VERBOSE=1 -C build check
+}
+
 package() {
-   cd "${srcdir}/${pkgname}-v${pkgver}"
-   make DESTDIR="${pkgdir}" install
+  depends+=('libavcodec.so' 'libavformat.so' 'libavutil.so' 'libswresample.so')
+  cd "${pkgname}-${pkgver}"
+  make VERBOSE=1 DESTDIR="${pkgdir}" install -C build
+  install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {NEWS.txt,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2020-08-30 Thread Evangelos Foutras via arch-commits
Date: Sunday, August 30, 2020 @ 10:20:44
  Author: foutrelis
Revision: 394921

upgpkg: chromaprint 1.5.0-2: rebuild bisson's pkgs

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 10:20:42 UTC (rev 394920)
+++ PKGBUILD2020-08-30 10:20:44 UTC (rev 394921)
@@ -3,7 +3,7 @@
 
 pkgname=chromaprint
 pkgver=1.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('x86_64')


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2020-04-28 Thread Gaëtan Bisson via arch-commits
Date: Wednesday, April 29, 2020 @ 05:34:00
  Author: bisson
Revision: 381812

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-29 01:59:51 UTC (rev 381811)
+++ PKGBUILD2020-04-29 05:34:00 UTC (rev 381812)
@@ -2,8 +2,8 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.4.3
-pkgrel=2
+pkgver=1.5.0
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('ffmpeg')
 makedepends=('cmake' 'git')
 
source=("https://github.com/acoustid/chromaprint/releases/download/v${pkgver}/chromaprint-${pkgver}.tar.gz;)
-sha256sums=('ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82')
+sha256sums=('573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a')
 
 #_commit=f2ce2e7ff05cf2b0b5e473fff55f31acf07c6a92 #tag=v1.4.2
 #source=("git+https://github.com/acoustid/chromaprint.git#commit=$_commit;)


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2018-04-23 Thread Gaëtan Bisson via arch-commits
Date: Monday, April 23, 2018 @ 19:22:57
  Author: bisson
Revision: 322857

rebuild for ffmpeg-4.0

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-23 17:46:10 UTC (rev 322856)
+++ PKGBUILD2018-04-23 19:22:57 UTC (rev 322857)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.4.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('x86_64')


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2018-01-21 Thread Gaëtan Bisson via arch-commits
Date: Monday, January 22, 2018 @ 01:20:00
  Author: bisson
Revision: 315240

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-22 00:56:48 UTC (rev 315239)
+++ PKGBUILD2018-01-22 01:20:00 UTC (rev 315240)
@@ -3,7 +3,7 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.4.2
+pkgver=1.4.3
 pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
@@ -11,12 +11,14 @@
 license=('LGPL')
 depends=('ffmpeg')
 makedepends=('cmake' 'git')
-_commit=f2ce2e7ff05cf2b0b5e473fff55f31acf07c6a92 #tag=v1.4.2
-source=("git+https://github.com/acoustid/chromaprint.git#commit=$_commit;)
-sha256sums=('SKIP')
+source=("https://github.com/acoustid/chromaprint/releases/download/v${pkgver}/chromaprint-${pkgver}.tar.gz;)
+sha256sums=('ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82')
 
+#_commit=f2ce2e7ff05cf2b0b5e473fff55f31acf07c6a92 #tag=v1.4.2
+#source=("git+https://github.com/acoustid/chromaprint.git#commit=$_commit;)
+
 build() {
-   cd "${srcdir}/${pkgname}"
+   cd "${srcdir}/${pkgname}-v${pkgver}"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -26,6 +28,6 @@
 }
 
 package() {
-   cd "${srcdir}/${pkgname}"
+   cd "${srcdir}/${pkgname}-v${pkgver}"
make DESTDIR="${pkgdir}" install
 }


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2017-04-04 Thread Gaëtan Bisson
Date: Tuesday, April 4, 2017 @ 20:40:49
  Author: bisson
Revision: 292081

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-04 18:00:02 UTC (rev 292080)
+++ PKGBUILD2017-04-04 20:40:49 UTC (rev 292081)
@@ -3,7 +3,7 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.4.1
+pkgver=1.4.2
 pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
@@ -10,12 +10,13 @@
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ffmpeg')
-makedepends=('cmake')
-source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha256sums=('d94e171e0b3d60a8fefe6846a3c0ed3a9a939cb44a7d7113331fdbc140de6d34')
+makedepends=('cmake' 'git')
+_commit=f2ce2e7ff05cf2b0b5e473fff55f31acf07c6a92 #tag=v1.4.2
+source=("git+https://github.com/acoustid/chromaprint.git#commit=$_commit;)
+sha256sums=('SKIP')
 
 build() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -25,6 +26,6 @@
 }
 
 package() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
+   cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
 }


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2017-03-01 Thread Gaëtan Bisson
Date: Thursday, March 2, 2017 @ 01:30:47
  Author: bisson
Revision: 289782

switch to sha256sum

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-02 01:30:36 UTC (rev 289781)
+++ PKGBUILD2017-03-02 01:30:47 UTC (rev 289782)
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('1357b8946f2c423ab69d7186ed14b6d592184dd8')
+sha256sums=('d94e171e0b3d60a8fefe6846a3c0ed3a9a939cb44a7d7113331fdbc140de6d34')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-12-13 Thread Gaëtan Bisson
Date: Wednesday, December 14, 2016 @ 05:00:54
  Author: bisson
Revision: 283133

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-14 04:01:39 UTC (rev 283132)
+++ PKGBUILD2016-12-14 05:00:54 UTC (rev 283133)
@@ -3,8 +3,8 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.4
-pkgrel=2
+pkgver=1.4.1
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('1f512fdd01a6e0f9e534ad65493c75c4a1432813')
+sha1sums=('1357b8946f2c423ab69d7186ed14b6d592184dd8')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-12-06 Thread Gaëtan Bisson
Date: Tuesday, December 6, 2016 @ 19:37:59
  Author: bisson
Revision: 282888

fix fpcalc build

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-06 19:30:43 UTC (rev 282887)
+++ PKGBUILD2016-12-06 19:37:59 UTC (rev 282888)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-   -DBUILD_EXAMPLES=ON \
+   -DBUILD_TOOLS=ON \
.
make
 }


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-12-06 Thread Gaëtan Bisson
Date: Tuesday, December 6, 2016 @ 19:29:55
  Author: bisson
Revision: 282886

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-06 17:11:21 UTC (rev 282885)
+++ PKGBUILD2016-12-06 19:29:55 UTC (rev 282886)
@@ -3,7 +3,7 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.3.2
+pkgver=1.4
 pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('29e86490f14c5d50f8720974b814340f9846f71f')
+sha1sums=('1f512fdd01a6e0f9e534ad65493c75c4a1432813')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-09-24 Thread Jan Steffens
Date: Sunday, September 25, 2016 @ 03:44:03
  Author: heftig
Revision: 276927

1.3.2-1

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-25 03:43:40 UTC (rev 276926)
+++ PKGBUILD2016-09-25 03:44:03 UTC (rev 276927)
@@ -3,8 +3,8 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.3.2
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('439c5d34a3ff46bcdb54cbcb613da175eb4d83c5')
+sha1sums=('29e86490f14c5d50f8720974b814340f9846f71f')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-07-03 Thread Gaëtan Bisson
Date: Sunday, July 3, 2016 @ 22:48:19
  Author: bisson
Revision: 270917

rebuild for ffmpeg-3.1

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-03 22:47:05 UTC (rev 270916)
+++ PKGBUILD2016-07-03 22:48:19 UTC (rev 270917)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-02-20 Thread Gaetan Bisson
Date: Sunday, February 21, 2016 @ 04:41:58
  Author: bisson
Revision: 260105

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-21 03:28:24 UTC (rev 260104)
+++ PKGBUILD2016-02-21 03:41:58 UTC (rev 260105)
@@ -3,8 +3,8 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.3
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('39f36dc4b8b9aee0bc2488ca5cf457bceb4c1483')
+sha1sums=('439c5d34a3ff46bcdb54cbcb613da175eb4d83c5')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-02-15 Thread Gaetan Bisson
Date: Tuesday, February 16, 2016 @ 05:32:59
  Author: bisson
Revision: 259371

rebuild for ffmpeg-3.0

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-16 04:32:18 UTC (rev 259370)
+++ PKGBUILD2016-02-16 04:32:59 UTC (rev 259371)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2016-02-05 Thread Gaetan Bisson
Date: Friday, February 5, 2016 @ 18:06:24
  Author: bisson
Revision: 258906

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-05 15:31:20 UTC (rev 258905)
+++ PKGBUILD2016-02-05 17:06:24 UTC (rev 258906)
@@ -3,8 +3,8 @@
 # Maintainer: Gaetan Bisson 
 
 pkgname=chromaprint
-pkgver=1.2
-pkgrel=2
+pkgver=1.3
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('113415ca22298c201721b43e006824c7865afc17')
+sha1sums=('39f36dc4b8b9aee0bc2488ca5cf457bceb4c1483')
 
 build() {
cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2015-12-06 Thread Evangelos Foutras
Date: Sunday, December 6, 2015 @ 19:34:34
  Author: foutrelis
Revision: 252934

C++11 ABI rebuild

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-06 18:33:53 UTC (rev 252933)
+++ PKGBUILD2015-12-06 18:34:34 UTC (rev 252934)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2015-08-06 Thread Gaetan Bisson
Date: Thursday, August 6, 2015 @ 21:07:37
  Author: bisson
Revision: 243098

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-06 18:54:38 UTC (rev 243097)
+++ PKGBUILD2015-08-06 19:07:37 UTC (rev 243098)
@@ -3,16 +3,16 @@
 # Maintainer: Gaetan Bisson bis...@archlinux.org
 
 pkgname=chromaprint
-pkgver=1.1
-pkgrel=2
+pkgver=1.2
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
-url='http://acoustid.org/chromaprint/'
+url='https://acoustid.org/chromaprint'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=(https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('5a250f761761d2ce08e2591b9daa909393552939')
+sha1sums=('113415ca22298c201721b43e006824c7865afc17')
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}


[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2014-09-15 Thread Gaetan Bisson
Date: Monday, September 15, 2014 @ 19:23:31
  Author: bisson
Revision: 221761

rebuild for ffmpeg-2.4

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-15 16:03:49 UTC (rev 221760)
+++ PKGBUILD2014-09-15 17:23:31 UTC (rev 221761)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')



[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2013-11-24 Thread Gaetan Bisson
Date: Sunday, November 24, 2013 @ 18:50:44
  Author: bisson
Revision: 200280

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-24 17:07:28 UTC (rev 200279)
+++ PKGBUILD2013-11-24 17:50:44 UTC (rev 200280)
@@ -3,7 +3,7 @@
 # Maintainer: Gaetan Bisson bis...@archlinux.org
 
 pkgname=chromaprint
-pkgver=1.0
+pkgver=1.1
 pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
@@ -12,7 +12,7 @@
 depends=('ffmpeg')
 makedepends=('cmake')
 
source=(https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('919e012af588a7e6fea862b29a30e3a5da67526a')
+sha1sums=('5a250f761761d2ce08e2591b9daa909393552939')
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2013-09-09 Thread Gaetan Bisson
Date: Monday, September 9, 2013 @ 11:32:40
  Author: bisson
Revision: 193965

upstream update

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |   15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-09 06:33:25 UTC (rev 193964)
+++ PKGBUILD2013-09-09 09:32:40 UTC (rev 193965)
@@ -3,20 +3,19 @@
 # Maintainer: Gaetan Bisson bis...@archlinux.org
 
 pkgname=chromaprint
-pkgver=0.7
-pkgrel=6
+pkgver=1.0
+pkgrel=1
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ffmpeg')
-makedepends=('cmake' 'git')
-source=('git+https://bitbucket.org/acoustid/chromaprint.git#commit=dd51f8e')
-sha1sums=('SKIP')
+makedepends=('cmake')
+source=(https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz;)
+sha1sums=('919e012af588a7e6fea862b29a30e3a5da67526a')
 
 build() {
-   cd ${srcdir}/${pkgname}
-
+   cd ${srcdir}/${pkgname}-${pkgver}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -26,6 +25,6 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}
+   cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
 }



[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2013-07-12 Thread Gaetan Bisson
Date: Friday, July 12, 2013 @ 16:02:47
  Author: bisson
Revision: 189988

rebuild for ffmpeg-2.0

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-12 14:00:58 UTC (rev 189987)
+++ PKGBUILD2013-07-12 14:02:47 UTC (rev 189988)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=0.7
-pkgrel=5
+pkgrel=6
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')



[arch-commits] Commit in chromaprint/trunk (PKGBUILD ffmpeg.patch)

2013-05-14 Thread Jan Steffens
Date: Tuesday, May 14, 2013 @ 21:16:09
  Author: heftig
Revision: 185531

Fix issues with recent FFMPEG

Modified:
  chromaprint/trunk/PKGBUILD
Deleted:
  chromaprint/trunk/ffmpeg.patch

--+
 PKGBUILD |   16 ++--
 ffmpeg.patch |   21 -
 2 files changed, 6 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-14 19:12:24 UTC (rev 185530)
+++ PKGBUILD2013-05-14 19:16:09 UTC (rev 185531)
@@ -4,23 +4,19 @@
 
 pkgname=chromaprint
 pkgver=0.7
-pkgrel=4
+pkgrel=5
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ffmpeg')
-makedepends=('cmake')
-source=(https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz;
-'ffmpeg.patch')
-sha1sums=('6a961585e82d26d357eb792216becc0864ddcdb2'
-  '4c99e8be678ccd0373ab1c0b52c068d6fabe21a2')
+makedepends=('cmake' 'git')
+source=('git+https://bitbucket.org/acoustid/chromaprint.git#commit=dd51f8e')
+sha1sums=('SKIP')
 
 build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}
 
-   patch -p1 -i ../ffmpeg.patch
-
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -30,6 +26,6 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
 }

Deleted: ffmpeg.patch
===
--- ffmpeg.patch2013-05-14 19:12:24 UTC (rev 185530)
+++ ffmpeg.patch2013-05-14 19:16:09 UTC (rev 185531)
@@ -1,21 +0,0 @@
-diff -Naur old/examples/fpcalc.c new/examples/fpcalc.c
 old/examples/fpcalc.c  2012-09-06 04:05:36.0 +1000
-+++ new/examples/fpcalc.c  2013-03-07 00:43:11.950928188 +1100
-@@ -65,6 +65,9 @@
-   goto done;
-   }
- 
-+  /* request regular signed 16-bit packed format */
-+  codec_ctx-request_sample_fmt = AV_SAMPLE_FMT_S16;
-+
-   if (avcodec_open(codec_ctx, codec)  0) {
-   fprintf(stderr, ERROR: couldn't open the codec\n);
-   goto done;
-@@ -146,6 +149,7 @@
-   int ostride[6] = { 2 };
-   int len = buffer_size / istride[0];
-   if (av_audio_convert(convert_ctx, obuf, 
ostride, ibuf, istride, len)  0) {
-+  fprintf(stderr, WARNING: unable to 
convert %d samples\n, buffer_size);
-   break;
-   }
-   buffer = buffer2;



[arch-commits] Commit in chromaprint/trunk (PKGBUILD ffmpeg.patch)

2013-03-06 Thread Gaetan Bisson
Date: Wednesday, March 6, 2013 @ 14:50:25
  Author: bisson
Revision: 179541

fix FS#34172

Added:
  chromaprint/trunk/ffmpeg.patch
Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 ffmpeg.patch |   21 +
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-06 10:50:29 UTC (rev 179540)
+++ PKGBUILD2013-03-06 13:50:25 UTC (rev 179541)
@@ -4,18 +4,23 @@
 
 pkgname=chromaprint
 pkgver=0.7
-pkgrel=3
+pkgrel=4
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ffmpeg')
 makedepends=('cmake')
-source=(https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('6a961585e82d26d357eb792216becc0864ddcdb2')
+source=(https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz;
+'ffmpeg.patch')
+sha1sums=('6a961585e82d26d357eb792216becc0864ddcdb2'
+  '4c99e8be678ccd0373ab1c0b52c068d6fabe21a2')
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+   patch -p1 -i ../ffmpeg.patch
+
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \

Added: ffmpeg.patch
===
--- ffmpeg.patch(rev 0)
+++ ffmpeg.patch2013-03-06 13:50:25 UTC (rev 179541)
@@ -0,0 +1,21 @@
+diff -Naur old/examples/fpcalc.c new/examples/fpcalc.c
+--- old/examples/fpcalc.c  2012-09-06 04:05:36.0 +1000
 new/examples/fpcalc.c  2013-03-07 00:43:11.950928188 +1100
+@@ -65,6 +65,9 @@
+   goto done;
+   }
+ 
++  /* request regular signed 16-bit packed format */
++  codec_ctx-request_sample_fmt = AV_SAMPLE_FMT_S16;
++
+   if (avcodec_open(codec_ctx, codec)  0) {
+   fprintf(stderr, ERROR: couldn't open the codec\n);
+   goto done;
+@@ -146,6 +149,7 @@
+   int ostride[6] = { 2 };
+   int len = buffer_size / istride[0];
+   if (av_audio_convert(convert_ctx, obuf, 
ostride, ibuf, istride, len)  0) {
++  fprintf(stderr, WARNING: unable to 
convert %d samples\n, buffer_size);
+   break;
+   }
+   buffer = buffer2;



[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2013-02-07 Thread Gaetan Bisson
Date: Thursday, February 7, 2013 @ 12:47:17
  Author: bisson
Revision: 177566

rebuild for ffmpeg-1:1.1-1

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-07 11:45:01 UTC (rev 177565)
+++ PKGBUILD2013-02-07 11:47:17 UTC (rev 177566)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=0.7
-pkgrel=2
+pkgrel=3
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')



[arch-commits] Commit in chromaprint/trunk (PKGBUILD)

2013-02-05 Thread Gaetan Bisson
Date: Tuesday, February 5, 2013 @ 23:12:32
  Author: bisson
Revision: 177076

fix FS#33726

Modified:
  chromaprint/trunk/PKGBUILD

--+
 PKGBUILD |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-05 19:47:31 UTC (rev 177075)
+++ PKGBUILD2013-02-05 22:12:32 UTC (rev 177076)
@@ -4,7 +4,7 @@
 
 pkgname=chromaprint
 pkgver=0.7
-pkgrel=1
+pkgrel=2
 pkgdesc='Library that implements a custom algorithm for extracting 
fingerprints from any audio source'
 url='http://acoustid.org/chromaprint/'
 arch=('i686' 'x86_64')
@@ -16,7 +16,11 @@
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}
-   cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
+   cmake \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DBUILD_EXAMPLES=ON \
+   .
make
 }