summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD14
-rw-r--r--fix_build_32bit.patch22
3 files changed, 19 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d5d3ecb3c5..3647469c62e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-chromaprint
pkgdesc = Library for extracting fingerprints from any audio source (32-bit)
- pkgver = 1.5.0
- pkgrel = 5
+ pkgver = 1.5.1
+ pkgrel = 1
url = https://acoustid.org/chromaprint
arch = x86_64
license = LGPL2.1
@@ -10,12 +10,11 @@ pkgbase = lib32-chromaprint
makedepends = gtest
depends = lib32-ffmpeg
depends = chromaprint
- source = chromaprint-1.5.0.tar.gz::https://github.com/acoustid/chromaprint/archive/v1.5.0.tar.gz
+ source = chromaprint-1.5.1.tar.gz::https://github.com/acoustid/chromaprint/archive/v1.5.1.tar.gz
source = fix_build_32bit.patch
- sha512sums = 333114949928abdf5d4b11aba1db6ec487eebe526324c68d903b3fa80a3af87a28d942af765a2f873e63a1bf222b658b6438cd10cde4446f61b26ea91f537469
- sha512sums = d67e955398cf50e96e3ff5c16544c11745dad84c19d2ea965759f71c05c84cd1b0299becb287575135f8d921c906b2dbfa87ab3da659af3bcc203205e96af5b1
- b2sums = 930d1a7b8fa30dc726f78e3fc93c4e1aef5036b60ceee003c36ce7ea344523ce8b3abc294a4204e9acb6472600e7cfa5b15b1ca27c2917bd161b59cac1e7120c
- b2sums = 8a0e13c019df0d745ecd7eb4b2a49f1e8a2918c86d751ffadcc033899c091e37434a2e319f820a7f63da841984cf4a36e1849782dabc9a2503ab10ba546efb45
+ sha512sums = ea16e4d2b879c15b1d9b9ec93878da8b893f1834c70942663e1d2d106c2e0a661094fe2dd3bae7a6c2a1f9d5d8fab5e0b0ba493561090cf57b2228606fad1e66
+ sha512sums = da03de548b7f144bf7874af1a630be49ee90c1946063f8ef2d0e9203bc7f0eb7ea6aa328a6eb656942cc57528a34a45c5a2d2a2c09e980f3bf849b098f03567c
+ b2sums = 9f7f030e97d3114cf679df298d313ea826c0fb05e7e7d8a10090d0a27ed0811b380b81b29fce973e0493826c478964367396311fd0484619cb2fc4c2d8e0d4c0
+ b2sums = 1720bf9dba67947fed2b35c8648a7936acb6998136d106aa23fbad4d718093060c791a7abe7e88436b091ac1f5b0cfdd3414ed5d0788162d01ddaa9d537f9fdb
pkgname = lib32-chromaprint
-
diff --git a/PKGBUILD b/PKGBUILD
index e2db6f78c4c..a61f4540d43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_basename=chromaprint
pkgname=lib32-chromaprint
-pkgver=1.5.0
-pkgrel=5
+pkgver=1.5.1
+pkgrel=1
pkgdesc="Library for extracting fingerprints from any audio source (32-bit)"
url="https://acoustid.org/chromaprint"
arch=('x86_64')
@@ -14,17 +14,15 @@ makedepends=('cmake' 'gtest')
# upstream signs with DSA key: https://github.com/acoustid/chromaprint/issues/81
source=("${_basename}-${pkgver}.tar.gz::https://github.com/acoustid/${_basename}/archive/v${pkgver}.tar.gz"
"fix_build_32bit.patch")
-sha512sums=('333114949928abdf5d4b11aba1db6ec487eebe526324c68d903b3fa80a3af87a28d942af765a2f873e63a1bf222b658b6438cd10cde4446f61b26ea91f537469'
- 'd67e955398cf50e96e3ff5c16544c11745dad84c19d2ea965759f71c05c84cd1b0299becb287575135f8d921c906b2dbfa87ab3da659af3bcc203205e96af5b1')
-b2sums=('930d1a7b8fa30dc726f78e3fc93c4e1aef5036b60ceee003c36ce7ea344523ce8b3abc294a4204e9acb6472600e7cfa5b15b1ca27c2917bd161b59cac1e7120c'
- '8a0e13c019df0d745ecd7eb4b2a49f1e8a2918c86d751ffadcc033899c091e37434a2e319f820a7f63da841984cf4a36e1849782dabc9a2503ab10ba546efb45')
+sha512sums=('ea16e4d2b879c15b1d9b9ec93878da8b893f1834c70942663e1d2d106c2e0a661094fe2dd3bae7a6c2a1f9d5d8fab5e0b0ba493561090cf57b2228606fad1e66'
+ 'da03de548b7f144bf7874af1a630be49ee90c1946063f8ef2d0e9203bc7f0eb7ea6aa328a6eb656942cc57528a34a45c5a2d2a2c09e980f3bf849b098f03567c')
+b2sums=('9f7f030e97d3114cf679df298d313ea826c0fb05e7e7d8a10090d0a27ed0811b380b81b29fce973e0493826c478964367396311fd0484619cb2fc4c2d8e0d4c0'
+ '1720bf9dba67947fed2b35c8648a7936acb6998136d106aa23fbad4d718093060c791a7abe7e88436b091ac1f5b0cfdd3414ed5d0788162d01ddaa9d537f9fdb')
prepare() {
cd "${_basename}-${pkgver}"
patch -Np1 -i ../fix_build_32bit.patch
-
- rm -v cmake/modules/FindGTest.cmake
}
build() {
diff --git a/fix_build_32bit.patch b/fix_build_32bit.patch
index ab1c7dfd08b..77d7ed992cc 100644
--- a/fix_build_32bit.patch
+++ b/fix_build_32bit.patch
@@ -1,6 +1,6 @@
-diff '--color=auto' --unified --recursive --text chromaprint-v1.5.0.orig/CMakeLists.txt chromaprint-v1.5.0.new/CMakeLists.txt
---- chromaprint-v1.5.0.orig/CMakeLists.txt 2020-04-15 01:08:10.000000000 -0300
-+++ chromaprint-v1.5.0.new/CMakeLists.txt 2020-06-10 01:42:01.000000000 -0300
+diff '--color=auto' --unified --recursive --text chromaprint-1.5.1.orig/CMakeLists.txt chromaprint-1.5.1.new/CMakeLists.txt
+--- chromaprint-1.5.1.orig/CMakeLists.txt 2021-12-23 02:57:54.000000000 -0300
++++ chromaprint-1.5.1.new/CMakeLists.txt 2021-12-28 18:06:18.377350124 -0300
@@ -1,11 +1,21 @@
-cmake_minimum_required(VERSION 3.3)
+cmake_minimum_required(VERSION 2.8.12)
@@ -17,7 +17,7 @@ diff '--color=auto' --unified --recursive --text chromaprint-v1.5.0.orig/CMakeLi
set(chromaprint_VERSION_MAJOR 1)
set(chromaprint_VERSION_MINOR 5)
- set(chromaprint_VERSION_PATCH 0)
+ set(chromaprint_VERSION_PATCH 1)
set(chromaprint_VERSION "${chromaprint_VERSION_MAJOR}.${chromaprint_VERSION_MINOR}.${chromaprint_VERSION_PATCH}")
-project(chromaprint LANGUAGES C CXX VERSION "${chromaprint_VERSION}")
@@ -25,12 +25,10 @@ diff '--color=auto' --unified --recursive --text chromaprint-v1.5.0.orig/CMakeLi
set(chromaprint_SOVERSION 1)
-@@ -21,14 +31,14 @@
+@@ -24,12 +34,14 @@
- find_package(Threads)
+ option(BUILD_SHARED_LIBS "Build shared libraries" ON)
--option(BUILD_SHARED_LIBS "Build shared libraries" ON)
--
-set(CMAKE_CXX_STANDARD 11)
+check_cxx_compiler_flag("-std=c++11" COMPILER_SUPPORTS_CXX11)
+if(COMPILER_SUPPORTS_CXX11)
@@ -47,11 +45,3 @@ diff '--color=auto' --unified --recursive --text chromaprint-v1.5.0.orig/CMakeLi
endif()
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_BUILD_TYPE STREQUAL "Debug")
-@@ -60,6 +70,7 @@
- set(FRAMEWORK_INSTALL_DIR "/Library/Frameworks" CACHE STRING "Directory to install frameworks to")
- endif()
-
-+option(BUILD_SHARED_LIBS "Build shared libraries" ON)
- option(BUILD_TOOLS "Build command line tools" OFF)
- option(BUILD_TESTS "Build test suite" OFF)
-