summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-06-01 22:45:59 -0400
committerAlexis Ballier <aballier@gentoo.org>2017-06-23 07:35:35 +0200
commit22d22cfbd076474406f5068ac6c79da78336395a (patch)
treeb6a6139ed928ffd9d3ae60922e935179a3bd5adb /media-libs/avidemux-core
parentmedia-libs/avidemux-core: Update EGIT_REPO_URI to GitHub (diff)
downloadgentoo-22d22cfbd076474406f5068ac6c79da78336395a.tar.gz
gentoo-22d22cfbd076474406f5068ac6c79da78336395a.tar.bz2
gentoo-22d22cfbd076474406f5068ac6c79da78336395a.zip
media-libs/avidemux-core: Declare 'mycmakeargs' as an array
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-libs/avidemux-core')
-rw-r--r--media-libs/avidemux-core/avidemux-core-2.6.8.ebuild6
-rw-r--r--media-libs/avidemux-core/avidemux-core-9999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/media-libs/avidemux-core/avidemux-core-2.6.8.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.8.ebuild
index 7f039651d769..c47717b8c3d8 100644
--- a/media-libs/avidemux-core/avidemux-core-2.6.8.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-2.6.8.ebuild
@@ -85,7 +85,7 @@ src_prepare() {
}
src_configure() {
- local mycmakeargs="
+ local mycmakeargs=(
-DAVIDEMUX_SOURCE_DIR='${S}'
$(cmake-utils_use nls GETTEXT)
$(cmake-utils_use sdl SDL)
@@ -93,10 +93,10 @@ src_configure() {
$(cmake-utils_use vdpau VDPAU)
$(cmake-utils_use video_cards_fglrx XVBA)
$(cmake-utils_use xv XVIDEO)
- "
+ )
if use debug ; then
- mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ mycmakeargs+=( -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1 )
fi
CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure
diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild b/media-libs/avidemux-core/avidemux-core-9999.ebuild
index ce548ea31bad..420ac6ab9db7 100644
--- a/media-libs/avidemux-core/avidemux-core-9999.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-9999.ebuild
@@ -85,7 +85,7 @@ src_prepare() {
}
src_configure() {
- local mycmakeargs="
+ local mycmakeargs=(
-DAVIDEMUX_SOURCE_DIR='${S}'
$(cmake-utils_use nls GETTEXT)
$(cmake-utils_use sdl SDL)
@@ -93,10 +93,10 @@ src_configure() {
$(cmake-utils_use vdpau VDPAU)
$(cmake-utils_use video_cards_fglrx XVBA)
$(cmake-utils_use xv XVIDEO)
- "
+ )
if use debug ; then
- mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ mycmakeargs+=( -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1 )
fi
CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure