mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
OpenShot: use python 3.7
This commit is contained in:
@@ -6,37 +6,38 @@ you create the film you always dreamed of. Easily add sub-titles, transitions,\
|
||||
HOMEPAGE="https://www.openshot.org"
|
||||
COPYRIGHT="2008-2019 OpenShot Studios, LLC"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8197923b3fff2010ee69c75469818543674a12fcb8fcb08944471e4ead3426be"
|
||||
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
|
||||
SOURCE_DIR="openshot-qt-$portVersion"
|
||||
PATCHES="openshot-$portVersion.patchset"
|
||||
PYTHON_VERSION="3.6m"
|
||||
ADDITIONAL_FILES="openshot.rdef.in"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PYTHON_VERSION="3.7"
|
||||
|
||||
PROVIDES="
|
||||
openshot$secondaryArchSuffix = $portVersion
|
||||
app:OpenShot$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
httplib2_python36
|
||||
libopenshot_python36
|
||||
httplib2_python3
|
||||
libopenshot_python3
|
||||
pyqt_python3 >= 5
|
||||
pyzmq_python36
|
||||
requests_python36
|
||||
setuptools_python36
|
||||
pyzmq_python3
|
||||
requests_python3
|
||||
setuptools_python3
|
||||
cmd:python$PYTHON_VERSION
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libopenshot_python36
|
||||
libopenshot_python3
|
||||
pyqt_python3 >= 5
|
||||
setuptools_python36
|
||||
setuptools_python3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python$PYTHON_VERSION
|
||||
@@ -64,7 +65,7 @@ INSTALL()
|
||||
$portDir/additional-files/openshot.rdef.in \
|
||||
> openshot.rdef
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION
|
||||
python=$portPackageLinksDir/cmd~python${PYTHON_VERSION}/bin/python${PYTHON_VERSION}
|
||||
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
|
||||
Reference in New Issue
Block a user