diff options
-rw-r--r-- | packages/net-im/psimedia/psimedia-scm.exheres-0 | 6 | ||||
-rw-r--r-- | packages/net-im/psimedia/psimedia.exlib | 28 |
2 files changed, 34 insertions, 0 deletions
diff --git a/packages/net-im/psimedia/psimedia-scm.exheres-0 b/packages/net-im/psimedia/psimedia-scm.exheres-0 new file mode 100644 index 0000000..c93505b --- /dev/null +++ b/packages/net-im/psimedia/psimedia-scm.exheres-0 @@ -0,0 +1,6 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require psimedia + +PLATFORMS="~amd64 ~x86" diff --git a/packages/net-im/psimedia/psimedia.exlib b/packages/net-im/psimedia/psimedia.exlib new file mode 100644 index 0000000..15c3c14 --- /dev/null +++ b/packages/net-im/psimedia/psimedia.exlib @@ -0,0 +1,28 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require github [ user=psi-im force_git_clone=true ] +require cmake [ api=2 ] + +export_exlib_phases src_install + +SUMMARY="PsiMedia is a thick abstraction layer for providing audio and video RTP services to Psi-like IM clients" + +LICENCES="GPL-2" + +SLOT="0" + +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + x11-libs/qtbase:= + dev-libs/glib:2 + media-libs/gstreamer:=[>=1.10.4] + media-plugins/gst-plugins-base:=[>=1.10.4] +" + +psimedia_src_install() { + cmake_src_install + nonfatal edo mv "${IMAGE}"/usr/$(exhost --target)/lib/psi "${IMAGE}"/usr/$(exhost --target)/lib/psi-plus +} |