annotate media-libs/mediastreamer/mediastreamer-2.8.2.ebuild @ 437:061dcecdcd1e

resolved merge conflict
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 20 Mar 2017 07:20:37 +0100
parents 79a0505c6421
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
433
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2013 Gentoo Foundation
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Id$
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI="4"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 inherit autotools eutils multilib
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="Mediastreaming library for telephony application"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://www.linphone.org/"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="mirror://nongnu/linphone/${PN}/${P}.tar.gz"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="GPL-2"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="amd64 ppc ppc64 x86"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 # Many cameras will not work or will crash an application if mediastreamer2 is
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 # not built with v4l2 support (taken from configure.ac)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 # TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 IUSE="+alsa amr bindist coreaudio debug doc examples g726 g729 gsm ilbc
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 ipv6 oss portaudio pulseaudio sdl silk +speex static-libs theora v4l
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 video x264 X"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 video? ( || ( sdl X ) )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 theora? ( video )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 X? ( video )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 v4l? ( video )"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 RDEPEND=">=net-libs/ortp-0.17[ipv6?]
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 alsa? ( media-libs/alsa-lib )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 g726? ( >=media-libs/spandsp-0.0.6_pre1 )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 gsm? ( media-sound/gsm )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 portaudio? ( media-libs/portaudio )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 speex? ( >=media-libs/speex-1.2_beta3 )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 video? (
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 virtual/ffmpeg
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 v4l? ( media-libs/libv4l
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 sys-kernel/linux-headers )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 theora? ( media-libs/libtheora )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 sdl? ( media-libs/libsdl[video,X] )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 X? ( x11-libs/libX11
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 x11-libs/libXv ) )"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 DEPEND="${RDEPEND}
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 dev-util/intltool
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 virtual/pkgconfig
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 x11-proto/videoproto
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 doc? ( app-doc/doxygen )"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 ilbc? ( media-plugins/mediastreamer-ilbc )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 video? ( x264? ( media-plugins/mediastreamer-x264 ) )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 src_prepare() {
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 # respect user's CFLAGS
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 sed -i -e "s:-O2::;s: -g::" configure.ac || die "patching configure.ac failed"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 # change default paths
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 sed -i -e "s:\(\${prefix}/\)lib:\1$(get_libdir):" \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 -e "s:\(prefix/share\):\1/${PN}:" configure.ac \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 || die "patching configure.ac failed"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 # fix html doc installation dir
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 sed -i -e "s:\$(pkgdocdir):\$(docdir):" help/Makefile.am \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 || die "patching help/Makefile.am failed"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 sed -i -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" help/Makefile.am \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 || die "patching help/Makefile.am failed"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 "${FILESDIR}/${P}-autopoint.patch" \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 "${FILESDIR}/${P}-ffmpeg-1.0.patch" \
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74 "${FILESDIR}/${P}-libav9.patch"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 # linux/videodev.h dropped in 2.6.38
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 sed -i -e 's:linux/videodev.h ::' configure.ac || die
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79 # don't build examples in tests/
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80 sed -i -e "/SUBDIRS/s/ tests//" Makefile.in || die
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 # patch from https://bugs.gentoo.org/show_bug.cgi?id=560334
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83 sed -i -e "s/CodecID/AVCodecID/g" src/videodec.c
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84 sed -i -e "s/CodecID/AVCodecID/g" src/videoenc.c
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86 eautoreconf
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87 }
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89 src_configure() {
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 local myeconfargs=(
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 --datadir="${EPREFIX}"/usr/share/${PN}
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93 # arts is deprecated
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94 --disable-artsc
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 # don't want -Werror
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96 --disable-strict
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97 --disable-libv4l1
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 # don't use bundled libs
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99 --enable-external-ortp
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 $(use_enable alsa)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101 $(use_enable pulseaudio)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102 $(use_enable coreaudio macsnd)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 $(use_enable debug)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104 $(use_enable g726 spandsp )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105 $(use_enable gsm)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 $(use_enable ipv6)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107 $(use_enable oss)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108 $(use_enable portaudio)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 $(use_enable speex)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 $(use_enable static-libs static)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111 $(use_enable theora)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112 $(use_enable video)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 $(use_enable v4l)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 $(use_enable v4l libv4l2)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115 $(use_enable sdl)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116 $(use_enable X x11)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 $(use_enable X xv)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119 $(use doc || echo ac_cv_path_DOXYGEN=false)
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 # Mac OS X Audio Queue is an audio recording facility, available on
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123 # 10.5 (Leopard, Darwin9) and onward
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 if use coreaudio && [[ ${CHOST} == *-darwin* && ${CHOST##*-darwin} -ge 9 ]]
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 then
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126 myeconfargs+=( --enable-macaqsnd )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127 else
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 myeconfargs+=( --disable-macaqsnd )
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129 fi
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131 econf "${myeconfargs[@]}"
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 }
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 src_install() {
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135 default
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 prune_libtool_files
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 if use examples; then
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
139 insinto /usr/share/doc/${PF}/examples
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
140 doins tests/*.c
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
141 fi
79a0505c6421 add a patched ebuild for mediastreamer
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
142 }