From 0953f27dc9733d8e764d7bbdab2d2f3003c79075 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 29 Sep 2019 13:16:12 +1000 Subject: [PATCH] libopenshot: use python 3.6 --- .../libopenshot/libopenshot-0.2.3.recipe | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/media-libs/libopenshot/libopenshot-0.2.3.recipe b/media-libs/libopenshot/libopenshot-0.2.3.recipe index a9441392b..4dfd381ee 100644 --- a/media-libs/libopenshot/libopenshot-0.2.3.recipe +++ b/media-libs/libopenshot/libopenshot-0.2.3.recipe @@ -6,7 +6,7 @@ OpenShot Video Editor (version 2.0+). C++, Python are fully supported." HOMEPAGE="https://www.openshot.org/" COPYRIGHT="2008-2019 OpenShot Studios, LLC" LICENSE="GNU LGPL v3" -REVISION="3" +REVISION="4" SOURCE_URI="https://github.com/OpenShot/libopenshot/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="8536b0a790b0d98ed4c3b10e11d1b34ae68ccbc710887e3703a5143d95598746" SOURCE_FILENAME="libopenshot-$portVersion.tar.gz" @@ -47,11 +47,11 @@ REQUIRES_devel=" libopenshot$secondaryArchSuffix == $portVersion base " -SUMMARY_python3="$SUMMARY (python3 bindings)" -PROVIDES_python3=" - libopenshot${secondaryArchSuffix}_python3 = $portVersion +SUMMARY_python36="$SUMMARY (python36 bindings)" +PROVIDES_python36=" + libopenshot${secondaryArchSuffix}_python36 = $portVersion " -REQUIRES_python3=" +REQUIRES_python36=" libopenshot$secondaryArchSuffix == $portVersion base lib:libavutil$secondaryArchSuffix lib:libopenshot_audio$secondaryArchSuffix @@ -59,18 +59,18 @@ REQUIRES_python3=" " if [ "$targetArchitecture" = "x86_gcc2" ]; then - PROVIDES_python3+=" - libopenshot_python3 = $portVersion + PROVIDES_python36+=" + libopenshot_python36 = $portVersion " fi -SUMMARY_python3_debuginfo="$SUMMARY (python3 bindings debug info)" -PROVIDES_python3_debuginfo=" - libopenshot${secondaryArchSuffix}_python3_debuginfo = $portVersion - debuginfo:_openshot.so(libopenshot_python3) = $portVersion +SUMMARY_python36_debuginfo="$SUMMARY (python36 bindings debug info)" +PROVIDES_python36_debuginfo=" + libopenshot${secondaryArchSuffix}_python36_debuginfo = $portVersion + debuginfo:_openshot.so(libopenshot_python36) = $portVersion " -REQUIRES_python3_debuginfo=" - libopenshot${secondaryArchSuffix}_python3 == $portVersion base +REQUIRES_python36_debuginfo=" + libopenshot${secondaryArchSuffix}_python36 == $portVersion base " BUILD_REQUIRES=" @@ -98,7 +98,7 @@ BUILD_PREREQUIRES=" cmd:ld$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix - cmd:python3 + cmd:python3.6m cmd:swig$secondaryArchSuffix " @@ -120,7 +120,7 @@ defineDebugInfoPackage libopenshot$secondaryArchSuffix \ BUILD() { - python=$portPackageLinksDir/cmd~python3/bin/python3 + python=$portPackageLinksDir/cmd~python3.6m/bin/python3.6m pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ @@ -155,15 +155,15 @@ INSTALL() $developDir fi - python=$portPackageLinksDir/cmd~python3/bin/python3 + python=$portPackageLinksDir/cmd~python3.6m/bin/python3.6m pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) pythonLocation=$prefix/lib/python$pythonVersion installLocation=$pythonLocation/vendor-packages - pythonDebugInfoDir=$(getPackagePrefix python3_debuginfo)/$relativeDebugInfoDir + pythonDebugInfoDir=$(getPackagePrefix python36_debuginfo)/$relativeDebugInfoDir extractDebugInfo $installLocation/_openshot.so \ "$pythonDebugInfoDir/_openshot.so(libopenshot_python3-$portFullVersion).debuginfo" # python package - packageEntries python3 \ + packageEntries python36 \ $pythonLocation }