libtg_owt First release
This commit is contained in:
@@ -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")
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libtg_owt</Name>
|
||||||
|
<Homepage>https://github.com/desktop-app/tg_owt</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Pisi Linux Admins</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>WebRTC library - static linked</Summary>
|
||||||
|
<Description>WebRTC library - static linked</Description>
|
||||||
|
<Archive sha1sum="4ff99214f349d6215e96c6b350d69133ac51368a" type="targz">https://github.com/desktop-app/tg_owt/archive/be23804afce3bb2e80a1d57a7c1318c71b82b7de.tar.gz</Archive>
|
||||||
|
<Archive sha1sum="c737657d7701a43ce0cd21cf1ad9cc7d6b478807" type="targz">https://sourceforge.net/projects/pisilinux/files/source/libvpx.tar.gz</Archive>
|
||||||
|
<Archive sha1sum="5a0168aab75bc0b1dbaa425f6b2b3eaf6e427b72" type="targz">https://sourceforge.net/projects/pisilinux/files/source/libyuv.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>yasm-devel</Dependency>
|
||||||
|
<Dependency>unzip</Dependency>
|
||||||
|
<Dependency>libopus-devel</Dependency>
|
||||||
|
<Dependency>openssl-devel</Dependency>
|
||||||
|
<Dependency>libXrandr-devel</Dependency>
|
||||||
|
<Dependency>libXcomposite-devel</Dependency>
|
||||||
|
<Dependency>libva-devel</Dependency>
|
||||||
|
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||||
|
<Dependency>ffmpeg-devel</Dependency>
|
||||||
|
<Dependency>protobuf-devel</Dependency>
|
||||||
|
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||||
|
<Dependency>alsa-lib-devel</Dependency>
|
||||||
|
<Dependency>libvpx-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<!--
|
||||||
|
<Patches>
|
||||||
|
<Patch>libtg_owt.patch</Patch>
|
||||||
|
<Patch level="1">libtg_owt.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
-->
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libtg_owt</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>ffmpeg</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libopus</Dependency>
|
||||||
|
<Dependency>openssl</Dependency>
|
||||||
|
<Dependency>protobuf</Dependency>
|
||||||
|
<Dependency>libjpeg-turbo</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libtg_owt-devel</Name>
|
||||||
|
<Summary>Development files for libtg_owt</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libtg_owt</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2021-01-26</Date>
|
||||||
|
<Version>20210124</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Pisi Linux Admins</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libtg_owt</Name>
|
||||||
|
<Summary xml:lang="tr">WebRTC library - static linked</Summary>
|
||||||
|
<Description xml:lang="tr">WebRTC library - static linked</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user