mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
68 lines
1.4 KiB
Bash
68 lines
1.4 KiB
Bash
SUMMARY="Library for handling cover art for audio files"
|
|
DESCRIPTION="
|
|
Development library geared towards developers who wish to add cover art \
|
|
capabilites to their applications."
|
|
HOMEPAGE="http://musicbrainz.org/doc/libcoverart"
|
|
COPYRIGHT="2012 Andrew Hawkins"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/downloads/metabrainz/libcoverart/libcoverart-1.0.0.tar.gz"
|
|
CHECKSUM_SHA256="e4cb78939003a4b5e5c4db68e42e86fbbbea5e69d3166b43ca01a7065916a121"
|
|
SOURCE_DIR="libcoverart-{PROJECT_VERSION}"
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
libcoverart = $portVersion
|
|
lib:libcoverart$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjansson$secondaryArchSuffix
|
|
lib:libneon$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libcoverart${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libcoverart$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libcoverart$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libjansson$secondaryArchSuffix
|
|
devel:libneon$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake .
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libcoverart
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
cd tests
|
|
./test
|
|
}
|