Version bump, linphone libs are moved to /usr/lib/linphone and ortp includes + docs...
authorStefan Knoblich <stkn@gentoo.org>
Mon, 29 Aug 2005 02:46:33 +0000 (02:46 +0000)
committerStefan Knoblich <stkn@gentoo.org>
Mon, 29 Aug 2005 02:46:33 +0000 (02:46 +0000)
Package-Manager: portage-2.0.51.22-r2

net-misc/linphone/ChangeLog
net-misc/linphone/Manifest
net-misc/linphone/files/digest-linphone-1.1.0 [new file with mode: 0644]
net-misc/linphone/linphone-1.1.0.ebuild [new file with mode: 0644]

index e8db05f708b8b443f255866c0960c9c7de9f3538..c784812e897ac930fdab698c4437d75d1236622f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/linphone
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linphone/ChangeLog,v 1.4 2005/07/15 16:09:23 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linphone/ChangeLog,v 1.5 2005/08/29 02:46:33 stkn Exp $
+
+*linphone-1.1.0 (29 Aug 2005)
+
+  29 Aug 2005; Stefan Knoblich <stkn@gentoo.org> +linphone-1.1.0.ebuild:
+  Version bump, linphone libs are now put into /usr/lib/linphone and ortp
+  headers are removed to avoid conflicts with net-libs/ortp.
 
   15 Jul 2005; Stefan Knoblich <stkn@gentoo.org> linphone-1.0.1.ebuild,
   +linphone-1.0.1-ipv6-include.diff:
index 22aa16bb0532b799fb080eb32fc2a48c2bf0879a..6aa6639cc1a29621ee4f4c9b586f6c36bef1fa3e 100644 (file)
@@ -1,7 +1,9 @@
-MD5 408df05a0ca926b1458fbe767194a204 linphone-1.0.1.ebuild 1423
-MD5 de0086c1f53a825df1cfa28b327a527a linphone-0.10.2.ebuild 1288
+MD5 d2c097993b37ba7d6c182f6f556b755e linphone-1.1.0.ebuild 1692
 MD5 bf329e2b298c08082a3ff4dfe6c236b3 metadata.xml 315
-MD5 aa129dabef0116e2d0fc602b6ef9233b ChangeLog 3598
+MD5 96e24f32906aedab1752bf318c473f76 ChangeLog 3838
+MD5 de0086c1f53a825df1cfa28b327a527a linphone-0.10.2.ebuild 1288
+MD5 408df05a0ca926b1458fbe767194a204 linphone-1.0.1.ebuild 1423
+MD5 339685aec8a9df716c358f64f877a2f6 files/digest-linphone-1.0.1 67
+MD5 43613eb580df59c222f3572287b2adf2 files/digest-linphone-1.1.0 67
 MD5 29e56d450d4aa47d230872e2b18eae40 files/digest-linphone-0.10.2 68
 MD5 09a1ce01898450b93c37d1021c5b4c7e files/linphone-1.0.1-ipv6-include.diff 340
-MD5 339685aec8a9df716c358f64f877a2f6 files/digest-linphone-1.0.1 67
diff --git a/net-misc/linphone/files/digest-linphone-1.1.0 b/net-misc/linphone/files/digest-linphone-1.1.0
new file mode 100644 (file)
index 0000000..d5bee96
--- /dev/null
@@ -0,0 +1 @@
+MD5 9f164b41c76ef1caca164909dea199a1 linphone-1.1.0.tar.gz 7334577
diff --git a/net-misc/linphone/linphone-1.1.0.ebuild b/net-misc/linphone/linphone-1.1.0.ebuild
new file mode 100644 (file)
index 0000000..9de72d5
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linphone/linphone-1.1.0.ebuild,v 1.1 2005/08/29 02:46:33 stkn Exp $
+
+inherit eutils
+
+MY_DPV="${PV%.*}.x"
+
+DESCRIPTION="Linphone is a SIP phone with a GNOME interface."
+HOMEPAGE="http://www.linphone.org/?lang=us"
+SRC_URI="http://simon.morlat.free.fr/download/${MY_DPV}/source/${P}.tar.gz"
+SLOT=1
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+IUSE="xv ipv6 gnome alsa"
+
+DEPEND="dev-libs/glib
+       dev-perl/XML-Parser
+       >=net-libs/libosip-2.2.0
+       || ( >=media-libs/speex-1.1.6
+            <media-libs/speex-1.1.0 )
+       x86?    ( xv? ( dev-lang/nasm ) )
+       gnome?  ( >=gnome-base/gnome-panel-2
+                 >=gnome-base/libgnome-2
+                 >=gnome-base/libgnomeui-2
+                 >=x11-libs/gtk+-2 )
+       alsa?   ( media-libs/alsa-lib )"
+
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+       # fix #99083
+       epatch ${FILESDIR}/${PN}-1.0.1-ipv6-include.diff
+}
+
+src_compile() {
+       local withgnome
+
+       if use gnome; then
+               einfo "Building with GNOME interface."
+               withgnome="yes"
+       else
+               withgnome="no"
+       fi
+
+       econf --enable-glib \
+               --with-speex=/usr \
+               --libdir=/usr/$(get_libdir)/linphone \
+               --enable-gnome_ui=${withgnome} \
+               `use_enable ipv6` \
+               `use_enable alsa` \
+               || die "Unable to configure"
+
+       emake || die "Unable to make"
+}
+
+src_install () {
+       make DESTDIR=${D} install || die "Failed to install"
+
+       dodoc ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README
+       dodoc README.arm TODO
+
+       # don't install ortp includes, docs and pkgconfig files
+       # to avoid conflicts with net-libs/ortp
+       rm -rf ${D}/usr/include/ortp
+       rm -rf ${D}/usr/share/gtk-doc/html/ortp
+       rm -rf ${D}/usr/$(get_libdir)/linphone/pkgconfig
+}