diff --git a/media-libs/libopenshot/libopenshot-0.3.0.recipe b/media-libs/libopenshot/libopenshot-0.3.0.recipe index 74357c8a9..672b5f62b 100644 --- a/media-libs/libopenshot/libopenshot-0.3.0.recipe +++ b/media-libs/libopenshot/libopenshot-0.3.0.recipe @@ -6,7 +6,7 @@ OpenShot Video Editor (version 2.0+). C++, Python are fully supported." HOMEPAGE="https://www.openshot.org/" COPYRIGHT="2008-2022 OpenShot Studios, LLC" LICENSE="GNU LGPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/OpenShot/libopenshot/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="5b289432b1209f11fe60c17c07e9365ab62e3074dcc7d50996fc816dfe54a282" SOURCE_FILENAME="libopenshot-$portVersion.tar.gz" @@ -15,7 +15,7 @@ PATCHES="libopenshot-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" -PYTHON_VERSION="3.8" +PYTHON_VERSION="3.9" libVersion="23" PROVIDES=" @@ -52,11 +52,11 @@ REQUIRES_devel=" libopenshot$secondaryArchSuffix == $portVersion base " -SUMMARY_python38="$SUMMARY (python3 bindings)" -PROVIDES_python38=" - libopenshot${secondaryArchSuffix}_python38 = $portVersion +SUMMARY_python39="$SUMMARY (python3 bindings)" +PROVIDES_python39=" + libopenshot${secondaryArchSuffix}_python39 = $portVersion " -REQUIRES_python38=" +REQUIRES_python39=" libopenshot$secondaryArchSuffix == $portVersion base lib:libavutil$secondaryArchSuffix lib:libopenshot_audio$secondaryArchSuffix @@ -64,18 +64,18 @@ REQUIRES_python38=" " if [ "$targetArchitecture" = "x86_gcc2" ]; then - PROVIDES_python38+=" - libopenshot_python38 = $portVersion + PROVIDES_python39+=" + libopenshot_python39 = $portVersion " fi -SUMMARY_python38_debuginfo="$SUMMARY (python3 bindings debug info)" -PROVIDES_python38_debuginfo=" - libopenshot${secondaryArchSuffix}_python38_debuginfo = $portVersion - debuginfo:_openshot.so(libopenshot_python38) = $portVersion +SUMMARY_python39_debuginfo="$SUMMARY (python3 bindings debug info)" +PROVIDES_python39_debuginfo=" + libopenshot${secondaryArchSuffix}_python39_debuginfo = $portVersion + debuginfo:_openshot.so(libopenshot_python39) = $portVersion " -REQUIRES_python38_debuginfo=" - libopenshot${secondaryArchSuffix}_python38 == $portVersion base +REQUIRES_python39_debuginfo=" + libopenshot${secondaryArchSuffix}_python39 == $portVersion base " BUILD_REQUIRES=" @@ -151,13 +151,13 @@ INSTALL() pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) pythonLocation=$prefix/lib/python$pythonVersion installLocation=$pythonLocation/vendor-packages - pythonDebugInfoDir=$(getPackagePrefix python38_debuginfo)/$relativeDebugInfoDir + pythonDebugInfoDir=$(getPackagePrefix python39_debuginfo)/$relativeDebugInfoDir mkdir -p $pythonLocation mv $prefix/lib/python/po/vendor-packages $pythonLocation extractDebugInfo $installLocation/_openshot.so \ - "$pythonDebugInfoDir/_openshot.so(libopenshot_python38-$portFullVersion).debuginfo" + "$pythonDebugInfoDir/_openshot.so(libopenshot_python39-$portFullVersion).debuginfo" # python package - packageEntries python38 \ + packageEntries python39 \ $pythonLocation }