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
commit32a4d51d75f24dc73c9f9dade7cb2a2cc1e19da3 (patch)
tree18659f448f081e88d4b3de2ff4b4860e72ccd4de
parentmask psimedia as it was tested with net-im/psi-0.13 only (diff)
downloadhistorical-32a4d51d75f24dc73c9f9dade7cb2a2cc1e19da3.tar.gz
historical-32a4d51d75f24dc73c9f9dade7cb2a2cc1e19da3.tar.bz2
historical-32a4d51d75f24dc73c9f9dade7cb2a2cc1e19da3.zip
Initial import. Thank Vadim Efimov for ebuild.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
-rw-r--r--net-im/psimedia/ChangeLog10
-rw-r--r--net-im/psimedia/Manifest4
-rw-r--r--net-im/psimedia/metadata.xml12
-rw-r--r--net-im/psimedia/psimedia-1.0.2.ebuild67
4 files changed, 93 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/Manifest b/net-im/psimedia/Manifest
new file mode 100644
index 000000000000..fab8e2c7c5a2
--- /dev/null
+++ b/net-im/psimedia/Manifest
@@ -0,0 +1,4 @@
+DIST psimedia-1.0.2.tar.bz2 232779 RMD160 d1bb783b11913964ce2d9fd3997c79222a8caf08 SHA1 efb9840c30ea623b321dc3797eab95a22ecb3542 SHA256 6f2dc0e26e2896a362dcb8fbb372e3dc1c8a500fdec4cb7df19667ff2ba3cbbd
+EBUILD psimedia-1.0.2.ebuild 1746 RMD160 244b3a12786309f5fdf67ba7163900386b46c3e6 SHA1 6cd271900ecfeb86e65f9e1e99f2ea0db92d9b85 SHA256 a7afff28ea4e8b8987dc9403984b1b0dda14bdd2769e2b01f2f1d4008f7bfcfc
+MISC ChangeLog 367 RMD160 e313781438b24c70956b6171274a188801629be4 SHA1 70480aa47815e621ddc2350941b8cabe732d2338 SHA256 c958186ffb4a0bad67db6627852f2c2a626f35cf79abc5d49a0ca0ee8073c6f2
+MISC metadata.xml 307 RMD160 e7f5752ad0c0709821be712f0b21591e818988c4 SHA1 73a47010989b8484041e3dee6cae919a9842e7c3 SHA256 56c28e7c14331d3aed6dac022a112a6133df208f5f51ad5dbde9f3e65c937d0a
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
+}