mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
wavpack: bump to 5.1.0 which now comes with wvtag(1), add _bin.
* Create a wavpack_bin sub-package to make the base package depend on no other package. * Move wavpack(1), wvgain(1), wvunpack(1) and wvtag(1) (as well as the dependency on lib:libiconv) to the wavpack_bin sub-package. * While at it, define commandSuffix to be more consistent with other packages which already define it.
This commit is contained in:
@@ -2,30 +2,41 @@ SUMMARY="Hybrid lossless audio compression format & tools"
|
||||
DESCRIPTION="WavPack is a completely open audio compression format, providing \
|
||||
lossless, high-quality lossy, and a unique hybrid compression mode."
|
||||
HOMEPAGE="http://wavpack.com/"
|
||||
COPYRIGHT="1998-2016 David Bryant"
|
||||
COPYRIGHT="1998-2017 David Bryant"
|
||||
LICENSE="WavPack"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://wavpack.com/wavpack-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="918d7e32a19598df543b17fff840b10a0880f87296f9e32af454d256b6a64049"
|
||||
CHECKSUM_SHA256="1939627d5358d1da62bc6158d63f7ed12905552f3a799c799ee90296a7612944"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
if [ "$targetArchitecture" != x86_gcc2 ]; then
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
else
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
wavpack$secondaryArchSuffix = $portVersion
|
||||
lib:libwavpack$secondaryArchSuffix = 1.2.0 compat >= 1
|
||||
cmd:wavpack = $portVersion
|
||||
cmd:wvgain = $portVersion
|
||||
cmd:wvunpack = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_bin="
|
||||
wavpack${secondaryArchSuffix}_bin = $portVersion
|
||||
cmd:wavpack$commandSuffix = $portVersion
|
||||
cmd:wvgain$commandSuffix = $portVersion
|
||||
cmd:wvtag$commandSuffix = $portVersion
|
||||
cmd:wvunpack$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_bin="
|
||||
haiku$secondaryArchSuffix
|
||||
wavpack$secondaryArchSuffix == $portVersion base
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -78,7 +89,12 @@ INSTALL()
|
||||
prepareInstalledDevelLib libwavpack
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
packageEntries bin \
|
||||
$commandBinDir \
|
||||
$manDir
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user