summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-05-29 09:55:31 +0000
committerPeter Volkov <pva@gentoo.org>2009-05-29 09:55:31 +0000
commit166f3ff476d6c37cd4b609bfec4ddfd326f15389 (patch)
tree2447ba6aada31b287b6e4e84b58a74be22a8f274 /net-im/psimedia
parentmask psimedia as it was tested with net-im/psi-0.13 only (diff)
downloadgentoo-2-166f3ff476d6c37cd4b609bfec4ddfd326f15389.tar.gz
gentoo-2-166f3ff476d6c37cd4b609bfec4ddfd326f15389.tar.bz2
gentoo-2-166f3ff476d6c37cd4b609bfec4ddfd326f15389.zip
Initial import. Thank Vadim Efimov for ebuild.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-im/psimedia')
-rw-r--r--net-im/psimedia/ChangeLog10
-rw-r--r--net-im/psimedia/metadata.xml12
-rw-r--r--net-im/psimedia/psimedia-1.0.2.ebuild67
3 files changed, 89 insertions, 0 deletions
diff --git a/net-im/psimedia/ChangeLog b/net-im/psimedia/ChangeLog
new file mode 100644
index 000000000000..44b5199188f2
--- /dev/null
+++ b/net-im/psimedia/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-im/psimedia
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/ChangeLog,v 1.1 2009/05/29 09:55:31 pva Exp $
+
+*psimedia-1.0.2 (29 May 2009)
+
+ 29 May 2009; Peter Volkov <pva@gentoo.org> +psimedia-1.0.2.ebuild,
+ +metadata.xml:
+ Initial import. Thank Vadim Efimov for ebuild.
+
diff --git a/net-im/psimedia/metadata.xml b/net-im/psimedia/metadata.xml
new file mode 100644
index 000000000000..0ccd38e962c1
--- /dev/null
+++ b/net-im/psimedia/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>pva@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='demo'>
+ build simple test application for the PsiMedia system.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/net-im/psimedia/psimedia-1.0.2.ebuild b/net-im/psimedia/psimedia-1.0.2.ebuild
new file mode 100644
index 000000000000..15b77a2c5f6b
--- /dev/null
+++ b/net-im/psimedia/psimedia-1.0.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/psimedia-1.0.2.ebuild,v 1.1 2009/05/29 09:55:31 pva Exp $
+
+EAPI="2"
+
+inherit eutils qt4 multilib
+
+DESCRIPTION="Psi plugin for voice/video calls"
+HOMEPAGE="http://delta.affinix.com/psimedia/"
+SRC_URI="http://delta.affinix.com/download/psimedia/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="demo"
+
+DEPEND=">=dev-libs/glib-2.20.0
+ >=media-libs/gstreamer-0.10.22
+ >=media-libs/gst-plugins-base-0.10.22
+ media-libs/gst-plugins-good
+ >=dev-libs/liboil-0.3
+ x11-libs/qt-core
+ x11-libs/qt-gui
+ >=media-libs/speex-1.2_rc1"
+
+RDEPEND="${DEPEND}
+ media-plugins/gst-plugins-speex
+ >=media-plugins/gst-plugins-vorbis-0.10.22
+ >=media-plugins/gst-plugins-theora-0.10.22
+ >=media-plugins/gst-plugins-alsa-0.10.22
+ >=media-plugins/gst-plugins-ogg-0.10.22
+ >=media-plugins/gst-plugins-v4l-0.10.22
+ media-plugins/gst-plugins-v4l2
+ media-plugins/gst-plugins-jpeg
+"
+
+src_prepare() {
+ sed -e '/^TEMPLATE/a CONFIG += ordered' -i psimedia.pro || die
+ # Don't build demo if we don't need that.
+ use demo || { sed -e '/^SUBDIRS[[:space:]]*+=[[:space:]]*demo[[:space:]]*$/d;' -i psimedia.pro || die; }
+}
+
+src_configure() {
+ # qconf generaged configure script...
+ ./configure || die
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/psi/plugins
+ doins gstprovider/libgstprovider.so || die
+
+ if use demo; then
+ exeinto /usr/$(get_libdir)/${PN}
+ newexe demo/demo ${PN} || die
+
+ # Create /usr/bin/psimedia
+ cat <<-EOF > "demo/${PN}"
+ #!/bin/bash
+
+ export PSI_MEDIA_PLUGIN=/usr/$(get_libdir)/psi/plugins/libgstprovider.so
+ /usr/$(get_libdir)/${PN}/${PN}
+ EOF
+
+ dobin demo/${PN} || die
+ fi
+}