mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
openshot: add recipe for version 2.0.7.
* probably broken on x86 secondary arch. * the UI comes up, and works somehow. Media capabilities untested.
This commit is contained in:
57
media-video/openshot/openshot-2.0.7.recipe
Normal file
57
media-video/openshot/openshot-2.0.7.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
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="1"
|
||||
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7b58e802a3de2260c00e4e4996ec899253ff1ff4035b2a2e535ac72ee4d63a97"
|
||||
SOURCE_DIR="openshot-qt-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
openshot$secondaryArchSuffix = $portVersion
|
||||
cmd:openshot_qt
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libopenshot$secondaryArchSuffix
|
||||
python3_httplib2
|
||||
python3_pyqt >= 5
|
||||
python3_setuptools
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libopenshot$secondaryArchSuffix
|
||||
python3_pyqt >= 5
|
||||
python3_setuptools
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python3/bin/python3 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python3/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
|
||||
}
|
||||
Reference in New Issue
Block a user