Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libopenshot: fix python3 detection
Date: Fri, 24 Jan 2020 22:57:52 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18536@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

There is a new pull request by jnbr against master on the void-packages repository

https://github.com/jnbr/void-packages libopenshot
https://github.com/void-linux/void-packages/pull/18536

libopenshot: fix python3 detection


A patch file from https://github.com/void-linux/void-packages/pull/18536.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libopenshot-18536.patch --]
[-- Type: text/x-diff, Size: 1454 bytes --]

From c2b657fe1bc3c8be0aa38e8f384c2f102925a398 Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
Date: Fri, 24 Jan 2020 22:45:51 +0100
Subject: [PATCH] libopenshot: fix python3 detection

---
 srcpkgs/libopenshot/template | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 129aa3aa9ab..4de43c687c5 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,12 +1,12 @@
 # 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"
@@ -19,6 +19,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() {

             reply	other threads:[~2020-01-24 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 21:57 voidlinux-github [this message]
2020-01-24 22:06 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-24 22:13 ` voidlinux-github
2020-01-24 22:22 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18536@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).