# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/psimedia-1.0.3-r2.ebuild,v 1.3 2011/04/04 23:21:51 jer Exp $ EAPI="2" inherit eutils qt4-r2 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 ~arm hppa ~ppc ~ppc64 ~x86" IUSE="demo" COMMON_DEPEND=">=dev-libs/glib-2.18 >=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-gui-4.4:4 >=media-libs/speex-1.2_rc1 " RDEPEND="${COMMON_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-v4l2 media-plugins/gst-plugins-jpeg ! "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 }