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 B046E1396DA for ; Wed, 15 Nov 2017 23:45:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB1A4E0EEE; Wed, 15 Nov 2017 23:45:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9405FE0EEE for ; Wed, 15 Nov 2017 23:45:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1212434165D for ; Wed, 15 Nov 2017 23:45:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8A059C0A for ; Wed, 15 Nov 2017 23:45:36 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1510789010.686a963478c33ea1b28acd15d026062eed154128.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/mlt-6.4.1-r5.ebuild X-VCS-Directories: media-libs/mlt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 686a963478c33ea1b28acd15d026062eed154128 X-VCS-Branch: master Date: Wed, 15 Nov 2017 23:45:36 +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-Archives-Salt: 37f56d1a-a2e2-4842-802c-c5723d7c13f9 X-Archives-Hash: 6104eb86ef681ce551d11f81737498dc commit: 686a963478c33ea1b28acd15d026062eed154128 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Oct 31 19:06:48 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Nov 15 23:36:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686a9634 media-libs/mlt: string to array Package-Manager: Portage-2.3.13, Repoman-2.3.4 media-libs/mlt/mlt-6.4.1-r5.ebuild | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/media-libs/mlt/mlt-6.4.1-r5.ebuild b/media-libs/mlt/mlt-6.4.1-r5.ebuild index 05105d0264d..f03b1702362 100644 --- a/media-libs/mlt/mlt-6.4.1-r5.ebuild +++ b/media-libs/mlt/mlt-6.4.1-r5.ebuild @@ -118,7 +118,8 @@ src_configure() { # bug 589848 append-cxxflags -std=c++11 - local myconf="--enable-gpl + local myconf=( + --enable-gpl --enable-gpl3 --enable-motion-est --target-arch=$(tc-arch) @@ -144,21 +145,24 @@ src_configure() { $(use_enable xml) $(use_enable xine) $(use_enable kdenlive) - --disable-sox" + --disable-sox + ) #$(use_enable sox) FIXME if use qt5 ; then - myconf+=" --enable-qt + myconf+=( + --enable-qt --qt-includedir=$(pkg-config Qt5Core --variable=includedir) - --qt-libdir=$(pkg-config Qt5Core --variable=libdir)" + --qt-libdir=$(pkg-config Qt5Core --variable=libdir) + ) else - myconf+=" --disable-qt" + myconf+=( --disable-qt ) fi if use x86 || use amd64 ; then - myconf+=" $(use_enable cpu_flags_x86_mmx mmx)" + myconf+=( $(use_enable cpu_flags_x86_mmx mmx) ) else - myconf+=" --disable-mmx" + myconf+=( --disable-mmx ) fi if ! use melt; then @@ -168,14 +172,14 @@ src_configure() { # TODO: add swig language bindings # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover - local swig_lang + local swig_lang=() # TODO: java perl php tcl for i in lua python ruby ; do - use $i && swig_lang="${swig_lang} $i" + use $i && swig_lang+=( $i ) done - [ -z "${swig_lang}" ] && swig_lang="none" + [[ -z ${swig_lang} ]] && swig_lang=( none ) - econf ${myconf} --swig-languages="${swig_lang}" + econf ${myconf[@]} --swig-languages="${swig_lang[@]}" sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die }