mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Cmake 4.0.1 => 4.0.2 * Adjust cmake build options to properly set LIBRARY_PATH. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build options. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove 'mold -run' usage as that confuses LIBRARY_PATH overrides. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake * Confirm autotools change works with nano update. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Chromaprint < Package
|
|
description 'Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source.'
|
|
homepage 'https://acoustid.org/chromaprint'
|
|
version '1.5.1-aa67c95-1'
|
|
license 'LGPL-2.1'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/acoustid/chromaprint.git'
|
|
git_hashtag 'aa67c95b9e486884a6d3ee8b0c91207d8c2b0551'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '50ac01fa69b92c8a140a3ab02c26cfcb9974a2e4917d626ca523a2b22edb775f',
|
|
armv7l: '50ac01fa69b92c8a140a3ab02c26cfcb9974a2e4917d626ca523a2b22edb775f',
|
|
x86_64: '05f5a2e30fcbd6ccc344388701b9b2e27a867d2d7e0fe39f71a9a989cee7aa23'
|
|
})
|
|
|
|
depends_on 'ffmpeg' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
|
|
def self.build
|
|
system "cmake -B builddir -G Ninja #{CREW_CMAKE_LIBSUFFIX_OPTIONS} \
|
|
-DBUILD_TOOLS=ON \
|
|
-DBUILD_TESTS=ON"
|
|
system "#{CREW_NINJA} -C builddir"
|
|
end
|
|
|
|
def self.check
|
|
system "#{CREW_NINJA} -C builddir check"
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} #{CREW_NINJA} -C builddir install"
|
|
end
|
|
end
|