mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
libopenshot-audio: add recipe for version 0.1.1
* haiku support is only stubbed.
This commit is contained in:
73
media-libs/libopenshot-audio/libopenshot_audio-0.1.1.recipe
Normal file
73
media-libs/libopenshot-audio/libopenshot_audio-0.1.1.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
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"
|
||||
SOURCE_URI="https://github.com/OpenShot/libopenshot-audio/archive/v$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="libopenshot-audio-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="64295d61e985e045dbb4cb525cde9afe6fba9f053302c4154a1ab1b7f6de9820"
|
||||
SOURCE_DIR="libopenshot-audio-$portVersion"
|
||||
REVISION="1"
|
||||
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 = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libopenshot_audio${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libopenshot_audio$secondaryArchSuffix = $portVersion compat >= 0
|
||||
cmd:openshot_audio_test_sound
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libopenshot_audio$secondaryArchSuffix == $portVersion base
|
||||
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
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user