Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 397645 | Differences between
and this patch

Collapse All | Expand All

(-)linphone-3.4.3-r1.ebuild (-7 / +13 lines)
Lines 14-30 Link Here
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="amd64 ~ppc x86 ~x86-macos"
15
KEYWORDS="amd64 ~ppc x86 ~x86-macos"
16
# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]?
16
# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]?
17
IUSE="doc gtk ipv6 ncurses nls video"
17
IUSE="doc gsm-nonstandard gtk ipv6 ncurses nls ssl video"
18
18
19
RDEPEND=">=media-libs/mediastreamer-2.7.3[video?,ipv6?]
19
RDEPEND=">=media-libs/mediastreamer-2.8.2[video?,ipv6?]
20
	>=net-libs/libeXosip-3.0.2
20
	>=net-libs/libeXosip-3.0.2
21
	>=net-libs/libosip-3.0.0
21
	>=net-libs/libosip-3.0.0
22
	>=net-libs/ortp-0.16.3
22
	>=net-libs/libsoup-2.26
23
	>=net-libs/ortp-0.20.0
23
	gtk? ( dev-libs/glib:2
24
	gtk? ( dev-libs/glib:2
24
		>=gnome-base/libglade-2.4.0:2.0
25
		>=gnome-base/libglade-2.4.0:2.0
25
		>=x11-libs/gtk+-2.4.0:2 )
26
		>=x11-libs/gtk+-2.4.0:2
27
		x11-libs/libnotify )
28
	gsm-nonstandard? ( >=media-libs/mediastreamer-2.8.2[gsm] )
26
	ncurses? ( sys-libs/readline
29
	ncurses? ( sys-libs/readline
27
		sys-libs/ncurses )"
30
		sys-libs/ncurses )
31
	ssl? ( dev-libs/openssl )"
28
DEPEND="${RDEPEND}
32
DEPEND="${RDEPEND}
29
	virtual/pkgconfig
33
	virtual/pkgconfig
30
	doc? ( app-text/sgmltools-lite )
34
	doc? ( app-text/sgmltools-lite )
Lines 45-51 Link Here
45
}
49
}
46
50
47
src_prepare() {
51
src_prepare() {
48
	epatch "${FILESDIR}"/${PN}-3.4.3-nls.patch
52
	epatch "${FILESDIR}"/${P}-nls.patch
49
	# remove speex check, avoid bug when mediastreamer[-speex]
53
	# remove speex check, avoid bug when mediastreamer[-speex]
50
	sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed"
54
	sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed"
51
55
Lines 71-81 Link Here
71
	# alsa, artsc and portaudio are used for bundled mediastreamer
75
	# alsa, artsc and portaudio are used for bundled mediastreamer
72
	econf \
76
	econf \
73
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
77
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
78
		--disable-static \
74
		--disable-strict \
79
		--disable-strict \
75
		--enable-external-ortp \
80
		--enable-external-ortp \
76
		--enable-external-mediastreamer \
81
		--enable-external-mediastreamer \
77
		--disable-truespeech \
82
		--disable-truespeech \
78
		$(use_enable doc manual) \
83
		$(use_enable doc manual) \
84
		$(use_enable gsm-nonstandard nonstandard-gsm) \
79
		$(use_enable gtk gtk_ui) \
85
		$(use_enable gtk gtk_ui) \
80
		$(use_enable ipv6) \
86
		$(use_enable ipv6) \
81
		$(use_enable ncurses console_ui) \
87
		$(use_enable ncurses console_ui) \
Lines 84-90 Link Here
84
}
90
}
85
91
86
src_install() {
92
src_install() {
87
	emake DESTDIR="${D}" install
93
	emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161
88
	dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
94
	dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
89
	pax-mark m "${ED}usr/bin/linphone"
95
	pax-mark m "${ED}usr/bin/linphone"
90
}
96
}

Return to bug 397645