summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Beddek <telans@posteo.de>2021-10-24 20:57:20 +1300
committerSam James <sam@gentoo.org>2021-10-24 08:21:45 +0000
commit27d8127dcb2ef57f8ee4de77c94a86e426085e1f (patch)
tree7309387f6ac37259b88d917f3486c30a9f388ee3 /media-video
parentmedia-video/handbrake: remove useless sed call (diff)
downloadgentoo-27d8127dcb2ef57f8ee4de77c94a86e426085e1f.tar.gz
gentoo-27d8127dcb2ef57f8ee4de77c94a86e426085e1f.tar.bz2
gentoo-27d8127dcb2ef57f8ee4de77c94a86e426085e1f.zip
media-video/handbrake: use myconfargs array for configure
Signed-off-by: James Beddek <telans@posteo.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/handbrake/handbrake-1.4.2.ebuild31
1 files changed, 17 insertions, 14 deletions
diff --git a/media-video/handbrake/handbrake-1.4.2.ebuild b/media-video/handbrake/handbrake-1.4.2.ebuild
index c8f9db9d002a..fee2f21aa6a1 100644
--- a/media-video/handbrake/handbrake-1.4.2.ebuild
+++ b/media-video/handbrake/handbrake-1.4.2.ebuild
@@ -113,20 +113,23 @@ src_configure() {
# Libav was replaced in 1.2 with ffmpeg by default
# but I've elected to not make people change their use flags for AAC
# as its the same code anyway
- ./configure \
- --force \
- --verbose \
- --prefix="${EPREFIX}/usr" \
- --disable-gtk-update-checks \
- --disable-flatpak \
- --disable-gtk4 \
- $(use_enable libav-aac ffmpeg-aac) \
- $(use_enable fdk fdk-aac) \
- $(usex !gtk --disable-gtk) \
- $(usex !gstreamer --disable-gst) \
- $(use_enable numa) \
- $(use_enable nvenc) \
- $(use_enable x265) || die "Configure failed."
+ local myconfargs=(
+ --force
+ --verbose
+ --prefix="${EPREFIX}/usr"
+ --disable-gtk-update-checks
+ --disable-flatpak
+ --disable-gtk4
+ $(use_enable libav-aac ffmpeg-aac)
+ $(use_enable fdk fdk-aac)
+ $(usex !gtk --disable-gtk)
+ $(usex !gstreamer --disable-gst)
+ $(use_enable numa)
+ $(use_enable nvenc)
+ $(use_enable x265)
+ )
+
+ ./configure "${myconfargs[@]}" || die "Configure failed."
}
src_compile() {