Files
haikuports/media-video/openshot/openshot-2.0.7.recipe

59 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="http://www.openshot.org"
COPYRIGHT="2008-2016 OpenShot Studios, LLC"
LICENSE="GNU GPL v3"
REVISION="5"
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
CHECKSUM_SHA256="4c231493f6ce52a64929c3253961f7769c90652cb5a3e4979158e5e032afe433"
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
setuptools_python3
cmd:python$PYTHON_VERSION
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libopenshot$secondaryArchSuffix
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
}