summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-29 23:52:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-30 00:01:34 +0100
commit3a9e8623050edfae327102a382be3173fcfafbef (patch)
tree7f2631449e19180441554540378086667879b38e /media-video
parentmedia-video/gpac: Drop bogus media-tv/linuxtv-dvb-apps from USE dvb (diff)
downloadgentoo-3a9e8623050edfae327102a382be3173fcfafbef.tar.gz
gentoo-3a9e8623050edfae327102a382be3173fcfafbef.tar.bz2
gentoo-3a9e8623050edfae327102a382be3173fcfafbef.zip
media-video/gpac: Sort build flags, use myeconfargs array
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/gpac/gpac-0.7.1-r1.ebuild72
1 files changed, 38 insertions, 34 deletions
diff --git a/media-video/gpac/gpac-0.7.1-r1.ebuild b/media-video/gpac/gpac-0.7.1-r1.ebuild
index 021a7cebfdaa..4067f4f19a29 100644
--- a/media-video/gpac/gpac-0.7.1-r1.ebuild
+++ b/media-video/gpac/gpac-0.7.1-r1.ebuild
@@ -105,41 +105,45 @@ src_prepare() {
src_configure() {
tc-export CC CXX AR RANLIB
- econf \
- --enable-svg \
- --enable-pic \
- --disable-amr \
- --use-js=no \
- --use-ogg=system \
- $(use_enable alsa) \
- $(use_enable debug) \
- $(use_enable dvb dvb4linux) \
- $(use_enable ipv6) \
- $(use_enable jack jack yes) \
- $(use_enable opengl 3d) \
- $(use_enable oss oss-audio) \
- $(use_enable pulseaudio pulseaudio yes) \
- $(use_enable sdl) \
- $(use_enable ssl) \
- $(use_enable static-libs static-lib) \
- $(use_enable X x11) $(use_enable X x11-shm) $(use_enable X x11-xv) \
- --disable-wx \
- $(my_use a52) \
- $(my_use aac faad) \
- $(my_use dvb dvbx) \
- $(my_use ffmpeg) \
- $(my_use jpeg) \
- $(my_use jpeg2k openjpeg) \
- $(my_use mad) \
- $(my_use png) \
- $(my_use theora) \
- $(my_use truetype ft) \
- $(my_use vorbis) \
- $(my_use xvid) \
- --extra-cflags="${CFLAGS}" \
- --cc="$(tc-getCC)" \
- --libdir="/$(get_libdir)" \
+ local myeconfargs=(
+ --extra-cflags="${CFLAGS}"
+ --cc="$(tc-getCC)"
+ --libdir="/$(get_libdir)"
--verbose
+ --enable-pic
+ --enable-svg
+ --disable-amr
+ --disable-wx
+ --use-js=no
+ --use-ogg=system
+ $(use_enable alsa)
+ $(use_enable debug)
+ $(use_enable dvb dvb4linux)
+ $(use_enable ipv6)
+ $(use_enable jack jack yes)
+ $(use_enable opengl 3d)
+ $(use_enable oss oss-audio)
+ $(use_enable pulseaudio pulseaudio yes)
+ $(use_enable sdl)
+ $(use_enable ssl)
+ $(use_enable static-libs static-lib)
+ $(use_enable X x11)
+ $(use_enable X x11-shm)
+ $(use_enable X x11-xv)
+ $(my_use a52)
+ $(my_use aac faad)
+ $(my_use dvb dvbx)
+ $(my_use ffmpeg)
+ $(my_use jpeg)
+ $(my_use jpeg2k openjpeg)
+ $(my_use mad)
+ $(my_use png)
+ $(my_use theora)
+ $(my_use truetype ft)
+ $(my_use vorbis)
+ $(my_use xvid)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {