From 33b4b58c22d6f31b7e3d42f300c26bb4e8541303 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 27 Jan 2021 16:22:57 +0300 Subject: [PATCH] libtg_owt First release --- multimedia/misc/libtg_owt/actions.py | 37 ++++++++++ multimedia/misc/libtg_owt/pspec.xml | 80 ++++++++++++++++++++++ multimedia/misc/libtg_owt/translations.xml | 8 +++ 3 files changed, 125 insertions(+) create mode 100644 multimedia/misc/libtg_owt/actions.py create mode 100644 multimedia/misc/libtg_owt/pspec.xml create mode 100644 multimedia/misc/libtg_owt/translations.xml diff --git a/multimedia/misc/libtg_owt/actions.py b/multimedia/misc/libtg_owt/actions.py new file mode 100644 index 0000000000..c8af8421b9 --- /dev/null +++ b/multimedia/misc/libtg_owt/actions.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import get + +def setup(): + shelltools.cd("%s" % get.workDIR()) + shelltools.move("tg_owt-*", "tg-owt-%s" % get.srcVERSION()) + shelltools.cd("tg-owt-%s" % get.srcVERSION()) + + shelltools.move("../libvpx/*", "src/third_party/libvpx/source/libvpx") + shelltools.move("../libyuv/*", "src/third_party/libyuv") + + shelltools.system("mkdir build") + shelltools.cd("build") + cmaketools.configure("-DBUILD_SHARED_LIBS=TRUE \ + -DTG_OWT_PACKAGED_BUILD=TRUE \ + -DTG_OWT_USE_PROTOBUF=TRUE", sourceDir="..") + +def build(): + shelltools.cd("%s" % get.workDIR()) + shelltools.cd("tg-owt-%s/build" % get.srcVERSION()) + cmaketools.make() + +def install(): + shelltools.cd("%s" % get.workDIR()) + shelltools.cd("tg-owt-%s/build" % get.srcVERSION()) + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("../LICENSE") diff --git a/multimedia/misc/libtg_owt/pspec.xml b/multimedia/misc/libtg_owt/pspec.xml new file mode 100644 index 0000000000..e7c57f4572 --- /dev/null +++ b/multimedia/misc/libtg_owt/pspec.xml @@ -0,0 +1,80 @@ + + + + + libtg_owt + https://github.com/desktop-app/tg_owt + + Pisi Linux Admins + admin@pisilinux.org + + BSD + library + WebRTC library - static linked + WebRTC library - static linked + https://github.com/desktop-app/tg_owt/archive/be23804afce3bb2e80a1d57a7c1318c71b82b7de.tar.gz + https://sourceforge.net/projects/pisilinux/files/source/libvpx.tar.gz + https://sourceforge.net/projects/pisilinux/files/source/libyuv.tar.gz + + cmake + yasm-devel + unzip + libopus-devel + openssl-devel + libXrandr-devel + libXcomposite-devel + libva-devel + libjpeg-turbo-devel + ffmpeg-devel + protobuf-devel + pulseaudio-libs-devel + alsa-lib-devel + libvpx-devel + + + + + + libtg_owt + + ffmpeg + libgcc + libopus + openssl + protobuf + libjpeg-turbo + + + /usr/lib + /usr/share + /usr/share/doc + + + + + libtg_owt-devel + Development files for libtg_owt + + libtg_owt + + + /usr/include + /usr/lib/cmake + + + + + + 2021-01-26 + 20210124 + First release + Pisi Linux Admins + admin@pisilinux.org + + + diff --git a/multimedia/misc/libtg_owt/translations.xml b/multimedia/misc/libtg_owt/translations.xml new file mode 100644 index 0000000000..79b42e015d --- /dev/null +++ b/multimedia/misc/libtg_owt/translations.xml @@ -0,0 +1,8 @@ + + + + libtg_owt + WebRTC library - static linked + WebRTC library - static linked + +