mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
chromaprint: bump version.
This commit is contained in:
@@ -4,9 +4,9 @@ algorithm for extracting fingerprints from any audio source."
|
||||
HOMEPAGE="http://acoustid.org/"
|
||||
COPYRIGHT="2010-2012, 2015 Lukas Lalinsky"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c3af900d8e7a42afd74315b51b79ebd2e43bc66630b4ba585a54bf3160439652"
|
||||
CHECKSUM_SHA256="d94e171e0b3d60a8fefe6846a3c0ed3a9a939cb44a7d7113331fdbc140de6d34"
|
||||
PATCHES="chromaprint-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
@@ -14,7 +14,7 @@ SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
chromaprint$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libchromaprint$secondaryArchSuffix = 1.3.0 compat >= 1
|
||||
lib:libchromaprint$secondaryArchSuffix = 1.4.1 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -23,7 +23,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
chromaprint${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:libchromaprint$secondaryArchSuffix = 1.3.0 compat >= 1
|
||||
devel:libchromaprint$secondaryArchSuffix = 1.4.1 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
chromaprint$secondaryArchSuffix == $portVersion base
|
||||
@@ -1,24 +1,24 @@
|
||||
From da19f6b315b11e393848809ab8f9fe78fb2265d8 Mon Sep 17 00:00:00 2001
|
||||
From ffc9161c9731fe8b9b0696cf0caa724a198aa57d Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 13 Apr 2016 23:38:21 +0000
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c9f39f5..a9eb837 100644
|
||||
index 7f097cd..bff6414 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -19,7 +19,9 @@ set(chromaprint_VERSION ${chromaprint_SOVERSION_MAJOR}.${chromaprint_SOVERSION_M
|
||||
set(chromaprint_SOVERSION ${chromaprint_SOVERSION_MAJOR})
|
||||
@@ -42,7 +42,9 @@ if(CMAKE_COMPILER_IS_GNUCXX AND BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
|
||||
include(CheckFunctionExists)
|
||||
cmake_push_check_state(RESET)
|
||||
-set(CMAKE_REQUIRED_LIBRARIES -lm)
|
||||
+if(NOT HAIKU)
|
||||
+ set(CMAKE_REQUIRED_LIBRARIES -lm)
|
||||
+ set(CMAKE_REQUIRED_LIBRARIES -lm)
|
||||
+endif()
|
||||
check_function_exists(lrintf HAVE_LRINTF)
|
||||
check_function_exists(round HAVE_ROUND)
|
||||
|
||||
cmake_pop_check_state()
|
||||
--
|
||||
2.2.2
|
||||
2.10.2
|
||||
|
||||
Reference in New Issue
Block a user