annotate media-libs/mediastreamer/mediastreamer-2.15.1.ebuild @ 545:7e1370868071

visualvm update
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 21 Jan 2021 08:35:03 +0100
parents 7e560a7c788b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
445
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2017 Gentoo Foundation
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 EAPI=6
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 inherit autotools eutils
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 DESCRIPTION="Mediastreaming library for telephony application"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 HOMEPAGE="http://www.linphone.org/"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-2"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0/3"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 # Many cameras will not work or will crash an application if mediastreamer2 is
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 # not built with v4l2 support (taken from configure.ac)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 # TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 IUSE="+alsa amr bindist coreaudio debug doc examples +filters g726 g729 gsm ilbc
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 ipv6 libav ntp-timestamp opengl opus +ortp oss pcap portaudio pulseaudio sdl
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 silk +speex static-libs test theora upnp v4l video vpx x264 X"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 video? ( || ( opengl sdl X ) )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 theora? ( video )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 X? ( video )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 v4l? ( video )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 opengl? ( video )"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 RDEPEND="net-libs/libsrtp:0
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 alsa? ( media-libs/alsa-lib )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 g726? ( >=media-libs/spandsp-0.0.6_pre1 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 gsm? ( media-sound/gsm )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 opus? ( media-libs/opus )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 ortp? ( >=net-libs/ortp-1 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 pcap? ( sys-libs/libcap )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 portaudio? ( media-libs/portaudio )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 pulseaudio? ( media-sound/pulseaudio )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 speex? ( media-libs/speex media-libs/speexdsp )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 upnp? ( net-libs/libupnp:* )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 video? (
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 libav? ( media-video/libav:0/11 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 opengl? ( media-libs/glew:0
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 virtual/opengl
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 x11-libs/libX11 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 v4l? ( media-libs/libv4l
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 sys-kernel/linux-headers )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 theora? ( media-libs/libtheora )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 sdl? ( media-libs/libsdl[video,X] )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 X? ( x11-libs/libX11
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 x11-libs/libXv ) )"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 DEPEND="${RDEPEND}
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 dev-util/intltool
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 virtual/pkgconfig
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 doc? ( app-doc/doxygen )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 opengl? ( dev-util/xxdi )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 test? ( >=dev-util/cunit-2.1_p3[ncurses] )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 X? ( x11-proto/videoproto )"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 ilbc? ( media-plugins/mediastreamer-ilbc )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 video? ( x264? ( media-plugins/mediastreamer-x264 ) )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64 silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 src_prepare() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 eapply_user
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 # variable causes "command not found" warning and is not
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 # needed anyway
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 -e 's/$(ACLOCAL_MACOS_FLAGS)//' \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 Makefile.am || die
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75 # respect user's CFLAGS
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 -e "s:-O2::;s: -g::" \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78 configure.ac || die "patching configure.ac failed"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80 # change default paths
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 -e "s:\(prefix/share\):\1/${PN}:" \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83 configure.ac || die "patching configure.ac failed"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85 # fix doc installation dir
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87 -e "s:\$(pkgdocdir):\$(docdir):" \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88 help/Makefile.am || die "patching help/Makefile.am failed"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 # fix html installation dir
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93 help/Makefile.am || die "patching help/Makefile.am failed"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 # linux/videodev.h dropped in 2.6.38
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97 -e 's:linux/videodev.h ::' \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 configure.ac || die
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 # break check for conflicts with polarssl (emdedtls is used instead anyway)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101 sed -i \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102 -e 's:sha1_update:sha1_update_XXX:' \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 configure.ac || die
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105 epatch \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 "${FILESDIR}/${PN}-underlinking.patch" \
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107 "${FILESDIR}/${PN}-xxd.patch"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 eautoreconf
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112 src_configure() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 local myeconfargs=(
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115 --datadir="${EPREFIX}"/usr/share/${PN}
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116 # arts is deprecated
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 --disable-artsc
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118 # don't want -Werror
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119 --disable-strict
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 --disable-libv4l1
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121 # don't use bundled libs
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 --enable-external-ortp
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123 $(use_enable alsa)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 $(use_enable pulseaudio)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 $(use_enable coreaudio macsnd)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126 $(use_enable debug)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127 $(use_enable filters)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 $(use_enable g726 spandsp)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129 $(use_enable gsm)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130 $(use_enable ntp-timestamp)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131 $(use_enable opengl glx)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 $(use_enable opus)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133 $(use_enable ortp)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 $(use_enable oss)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135 $(use_enable pcap)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 $(use_enable portaudio)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137 $(use_enable speex)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 $(use_enable static-libs static)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
139 $(use_enable theora)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
140 $(use_enable upnp)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
141 $(use_enable video)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
142 $(use_enable vpx vp8)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
143 $(use_enable v4l)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
144 $(use_enable v4l libv4l2)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
145 $(use_enable sdl)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
146 $(use_enable X x11)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
147 $(use_enable X xv)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
148
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
149 $(use doc || echo ac_cv_path_DOXYGEN=false)
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
150 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
151
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
152 # Mac OS X Audio Queue is an audio recording facility, available on
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
153 # 10.5 (Leopard, Darwin9) and onward
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
154 if use coreaudio && [[ ${CHOST} == *-darwin* && ${CHOST##*-darwin} -ge 9 ]]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
155 then
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
156 myeconfargs+=( --enable-macaqsnd )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
157 else
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
158 myeconfargs+=( --disable-macaqsnd )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
159 fi
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
160
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
161 econf "${myeconfargs[@]}"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
162 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
163
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
164 src_test() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
165 default
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
166 cd tester || die
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
167 ./mediastreamer2_tester || die
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
168 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
169
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
170 src_install() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
171 default
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
172 prune_libtool_files
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
173
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
174 if use examples; then
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
175 insinto /usr/share/doc/${PF}/examples
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
176 doins tester/*.c
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
177 fi
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
178 }