Files
haikuports/media-video/openshot/openshot-2.4.1.recipe
2018-05-30 08:00:57 +02:00

61 lines
1.6 KiB
Bash

SUMMARY="Free open-source video editor"
DESCRIPTION="Openshot can take your videos, photos, and music files and help \
you create the film you always dreamed of. Easily add sub-titles, transitions,\
and effects, then export your film to DVD, YouTube, Vimeo, Xbox 360, and many\
other common formats."
HOMEPAGE="https://www.openshot.org"
COPYRIGHT="2008-2017 OpenShot Studios, LLC"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
CHECKSUM_SHA256="da388c08cd94ec503a57756871244d9bb8746973807e2f95618a0d9d5e11fae9"
SOURCE_DIR="openshot-qt-$portVersion"
PYTHON_VERSION="3.6"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 ?x86"
PROVIDES="
openshot$secondaryArchSuffix = $portVersion
cmd:openshot_qt
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libopenshot$secondaryArchSuffix
httplib2_python3
pyqt_python3 >= 5
pyzmq_python3
requests_python3
setuptools_python3
cmd:python$PYTHON_VERSION
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libopenshot$secondaryArchSuffix >= 14
pyqt_python3 >= 5
setuptools_python3
"
BUILD_PREREQUIRES="
cmd:python$PYTHON_VERSION
"
BUILD()
{
true
}
INSTALL()
{
# GENERIC: all python_setuptools-based installs need this
python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
mkdir -p $installLocation
$python setup.py install \
--prefix=$prefix
}