mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
76 lines
1.9 KiB
Bash
76 lines
1.9 KiB
Bash
SUMMARY="Video editing library used by OpenShot"
|
|
DESCRIPTION="OpenShot Audio Library (libopenshot-audio) is a program that \
|
|
allows the high-quality editing and playback of audio, and is based on the \
|
|
amazing JUCE library."
|
|
HOMEPAGE="http://www.openshot.org"
|
|
COPYRIGHT="2008-2016 OpenShot Studios, LLC"
|
|
LICENSE="GNU LGPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/OpenShot/libopenshot-audio/archive/v$portVersion.tar.gz"
|
|
SOURCE_FILENAME="libopenshot-audio-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="366151ea971fa7d0734777068d40b333a3df83ca33233dc2cd630aeed40d2071"
|
|
SOURCE_DIR="libopenshot-audio-$portVersion"
|
|
PATCHES="libopenshot_audio-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libopenshot_audio$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libopenshot_audio$secondaryArchSuffix = 6 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libopenshot_audio${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libopenshot_audio$secondaryArchSuffix = 6 compat >= 6
|
|
cmd:openshot_audio_test_sound
|
|
"
|
|
REQUIRES_devel="
|
|
libopenshot_audio$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_INSTALL_PREFIX=$prefix
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libopenshot-audio
|
|
|
|
mkdir -p $includeDir $manDir
|
|
mv $prefix/include/libopenshot-audio $includeDir/
|
|
mv $prefix/share/man/man1 $manDir/
|
|
rmdir $prefix/include $prefix/share/man $prefix/share
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$binDir \
|
|
$developDir \
|
|
$manDir
|
|
}
|
|
|