summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Ilinykh <rion4ik@gmail.com>2020-03-14 11:34:37 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-16 22:28:31 +0100
commit91f22183f4335e664be4f2d1f439a30e4f39ad06 (patch)
tree481d59b4b1de123e5d568f8148c93a5f531bbbff /net-im/psimedia
parentsys-devel/qconf: bumped to 2.5 (diff)
downloadgentoo-91f22183f4335e664be4f2d1f439a30e4f39ad06.tar.gz
gentoo-91f22183f4335e664be4f2d1f439a30e4f39ad06.tar.bz2
gentoo-91f22183f4335e664be4f2d1f439a30e4f39ad06.zip
net-im/psimedia: readded/ported to gstreamer 1.x
Signed-off-by: Sergey Ilinykh <rion4ik@gmail.com> Closes: https://bugs.gentoo.org/650706 Closes: https://github.com/gentoo/gentoo/pull/14950 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-im/psimedia')
-rw-r--r--net-im/psimedia/metadata.xml18
-rw-r--r--net-im/psimedia/psimedia-9999.ebuild41
2 files changed, 59 insertions, 0 deletions
diff --git a/net-im/psimedia/metadata.xml b/net-im/psimedia/metadata.xml
new file mode 100644
index 000000000000..1cbe5d29cb70
--- /dev/null
+++ b/net-im/psimedia/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>rion4ik@gmail.com</email>
+ <name>Sergey Ilinykh</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="extras">Enable Psi+ mode (required when built for Psi+)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">psi-im/psimedia</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-im/psimedia/psimedia-9999.ebuild b/net-im/psimedia/psimedia-9999.ebuild
new file mode 100644
index 000000000000..1dc21a73f501
--- /dev/null
+++ b/net-im/psimedia/psimedia-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake git-r3
+
+DESCRIPTION="Psi/Psi+ plugin for voice/video calls"
+HOMEPAGE="https://psi-im.org/"
+
+EGIT_REPO_URI="https://github.com/psi-im/psimedia.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="extras"
+
+BDEPEND="sys-devel/qconf"
+DEPEND="
+ dev-libs/glib
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ media-libs/gst-plugins-good:1.0
+"
+RDEPEND="${DEPEND}
+ media-plugins/gst-plugins-jpeg:1.0
+ media-plugins/gst-plugins-opus:1.0
+ media-plugins/gst-plugins-v4l2:1.0
+ ~net-im/psi-${PV}[extras?]
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_PSI=$(usex extras 0 1)
+ -DBUILD_DEMO=0
+ )
+ cmake_src_configure
+}