mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
63 lines
1.6 KiB
Bash
63 lines
1.6 KiB
Bash
SUMMARY="Lookup capabilities for music files"
|
|
DESCRIPTION="The MusicBrainz Client Library (libmusicbrainz), also known as \
|
|
mb_client, is a development library geared towards developers who wish to \
|
|
add MusicBrainz lookup capabilities to their applications."
|
|
HOMEPAGE="http://musicbrainz.org/doc/libmusicbrainz"
|
|
COPYRIGHT="2012 Andrew Hawkins"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-5.1.0.tar.gz"
|
|
CHECKSUM_SHA256="6749259e89bbb273f3f5ad7acdffb7c47a2cf8fcaeab4c4695484cef5f4c6b46"
|
|
SOURCE_DIR="libmusicbrainz-$portVersion"
|
|
PATCHES="musicbrainz-5.1.0.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
musicbrainz$secondaryArchSuffix = $portVersion
|
|
lib:libmusicbrainz5$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libneon$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
musicbrainz${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmusicbrainz5$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
musicbrainz$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libneon$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_INSTALL_PREFIX=$prefix
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libmusicbrainz5
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|