From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3FB6139368 for ; Fri, 13 Aug 2021 00:33:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E314DE077C; Fri, 13 Aug 2021 00:33:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA778E077C for ; Fri, 13 Aug 2021 00:33:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89749335D63 for ; Fri, 13 Aug 2021 00:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE48C89F for ; Fri, 13 Aug 2021 00:33:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1628814767.22ba11e2a08b894015ac82b88a9efdbeb6c693ac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/mlt-7.0.1.ebuild X-VCS-Directories: media-libs/mlt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 22ba11e2a08b894015ac82b88a9efdbeb6c693ac X-VCS-Branch: master Date: Fri, 13 Aug 2021 00:33:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e21c8180-847e-497d-8924-28e3203d5bc2 X-Archives-Hash: b8d7aff934e06fe4f98d0dbcfbbb2345 commit: 22ba11e2a08b894015ac82b88a9efdbeb6c693ac Author: Sam James gentoo org> AuthorDate: Fri Aug 13 00:31:51 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 13 00:32:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ba11e2 media-libs/mlt: drop obsolete SWIG comments/references We're only building the Python bindings now, so no need to be so general. Bug: https://bugs.gentoo.org/807903 Signed-off-by: Sam James gentoo.org> media-libs/mlt/mlt-7.0.1.ebuild | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/media-libs/mlt/mlt-7.0.1.ebuild b/media-libs/mlt/mlt-7.0.1.ebuild index 81c8e9271bc..f03e43ba004 100644 --- a/media-libs/mlt/mlt-7.0.1.ebuild +++ b/media-libs/mlt/mlt-7.0.1.ebuild @@ -14,7 +14,6 @@ LICENSE="GPL-3" SLOT="0/7" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="debug ffmpeg frei0r gtk jack kernel_linux libsamplerate opencv opengl python qt5 rtaudio rubberband sdl test vdpau vidstab xine xml" -# TODO: swig bindings for java perl php tcl (and restore lua?) # Needs unpackaged 'kwalify' RESTRICT="test" @@ -22,11 +21,6 @@ RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" SWIG_DEPEND=">=dev-lang/swig-2.0" -# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 ) -# perl? ( ${SWIG_DEPEND} ) -# php? ( ${SWIG_DEPEND} ) -# tcl? ( ${SWIG_DEPEND} ) -# ruby? ( ${SWIG_DEPEND} ) BDEPEND=" virtual/pkgconfig python? ( ${SWIG_DEPEND} ) @@ -93,12 +87,10 @@ pkg_setup() { src_prepare() { # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873 - local x - for x in python; do - sed -i "/mlt.so/s/ -lmlt++ /& ${CFLAGS} ${LDFLAGS} /" src/swig/${x}/build || die - done - - use python && python_fix_shebang src/swig/python + if use python; then + sed -i "/mlt.so/s/ -lmlt++ /& ${CFLAGS} ${LDFLAGS} /" src/swig/python/build || die + python_fix_shebang src/swig/python + fi cmake_src_prepare } @@ -133,16 +125,12 @@ src_configure() { # TODO: We currently have USE=fftw but both Qt and plus require it, removing flag for now. # TODO: rework upstream CMake to allow controlling MMX/SSE/SSE2 - # TODO: add swig language bindings + # TODO: add swig language bindings? # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover - local swig_lang=() - # Not done: java perl php ruby tcl - # Handled separately: lua (in the past) - for i in python; do - # bug #806484 wrt capitalisation - use ${i} && mycmakeargs+=( -DSWIG_${i^^}=ON ) - done + if use python; then + mycmakeargs+=( -DSWIG_PYTHON=ON ) + fi cmake_src_configure } @@ -163,6 +151,4 @@ src_install() { dodoc "${S}"/src/swig/python/play.py python_optimize fi - - # Not done: java perl php ruby tcl (lua anymore) }