Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libopenshot: fix python3 detection #18536

Merged
merged 1 commit into from
Jan 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions srcpkgs/libopenshot/template
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Template file for 'libopenshot'
pkgname=libopenshot
version=0.2.3
revision=2
revision=3
archs="i686 x86_64 ppc64le"
build_style=cmake
pycompile_module="openshot.py"
configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON" # Builds fail with Ruby-2.4.1
hostmakedepends="swig doxygen ruby python3"
hostmakedepends="swig doxygen ruby python3 pkg-config"
makedepends="python3-devel ffmpeg-devel libmagick-devel qt5-devel libgomp-devel
libopenshot-audio-devel qt5-multimedia-devel unittest-cpp zeromq-devel cppzmq
jsoncpp-devel"
Expand All @@ -19,6 +18,11 @@ distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
checksum=8536b0a790b0d98ed4c3b10e11d1b34ae68ccbc710887e3703a5143d95598746
patch_args="-Np1"

pre_configure() {
# vendored python cmake module does not find python 3.8
rm cmake/Modules/FindPythonLibs.cmake
}

libopenshot-devel_package() {
short_desc+=" - development files"
pkg_install() {
Expand Down