libtg_owt ver. bump

This commit is contained in:
Rmys
2021-12-05 20:14:39 +03:00
committed by GitHub
parent b3a6ff2c4d
commit acdc54e573
2 changed files with 26 additions and 14 deletions
+14 -10
View File
@@ -10,19 +10,22 @@ 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.system("git clone https://chromium.googlesource.com/webm/libvpx")
#shelltools.system("git clone https://chromium.googlesource.com/libyuv/libyuv")
shelltools.cd("tg-owt-%s" % get.srcVERSION())
shelltools.system("git clone https://chromium.googlesource.com/webm/libvpx")
shelltools.system("git clone https://chromium.googlesource.com/libyuv/libyuv")
shelltools.system("git clone https://github.com/PipeWire/pipewire")
shelltools.move("../libvpx-20210924/*", "src/third_party/libvpx/source/libvpx")
shelltools.move("../libyuv-20210924/*", "src/third_party/libyuv")
shelltools.move("../pipewire-0.3.37/*", "src/third_party/pipewire")
shelltools.move("libvpx/*", "src/third_party/libvpx/source/libvpx")
shelltools.move("libyuv/*", "src/third_party/libyuv")
shelltools.move("pipewire/*", "src/third_party/pipewire")
pisitools.flags.add("-fPIC")
cmaketools.configure("-G Ninja -DCMAKE_BUILD_TYPE=Release \
cmaketools.configure("-B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DTG_OWT_SPECIAL_TARGET=linux \
-DBUILD_SHARED_LIBS=ON \
@@ -32,13 +35,14 @@ def setup():
-DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include")
def build():
#shelltools.cd("%s" % get.workDIR())
#shelltools.cd("tg-owt-%s/build" % get.srcVERSION())
shelltools.cd("%s" % get.workDIR())
shelltools.cd("tg-owt-%s/build" % get.srcVERSION())
shelltools.system("ninja")
def install():
#shelltools.cd("%s" % get.workDIR())
#shelltools.cd("tg-owt-%s/build" % get.srcVERSION())
shelltools.cd("%s" % get.workDIR())
shelltools.cd("tg-owt-%s/build" % get.srcVERSION())
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("LICENSE")
+12 -4
View File
@@ -12,11 +12,12 @@
<IsA>library</IsA>
<Summary>WebRTC library - static linked</Summary>
<Description>WebRTC library - static linked</Description>
<Archive sha1sum="488e341380606508f04068498a186834c74ab926" type="targz">https://github.com/desktop-app/tg_owt/archive/575fb17d2853c43329e45f6693370f5e41668055.tar.gz</Archive>
<Archive sha1sum="6ecf6452664b7705e88f01f204c3c2ed37171ebb" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libvpx-20210924.tar.xz</Archive>
<Archive sha1sum="543167fe5316ed941ec8da652956988a1d513a13" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libyuv-20210924.tar.xz</Archive>
<Archive sha1sum="8945a28c3b3657f1ca26473c4f15b23f87eada15" type="targz">https://github.com/PipeWire/pipewire/archive/0.3.37.tar.gz</Archive>
<Archive sha1sum="f5225f7749b0e8a1534c366b4f060d9fb561816a" type="targz">https://github.com/desktop-app/tg_owt/archive/b02478677baac6d563589f216800ff9cea0fd65c.tar.gz</Archive>
<!-- <Archive sha1sum="6ecf6452664b7705e88f01f204c3c2ed37171ebb" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libvpx-20210924.tar.xz</Archive> -->
<!-- <Archive sha1sum="543167fe5316ed941ec8da652956988a1d513a13" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libyuv-20210924.tar.xz</Archive> -->
<!-- <Archive sha1sum="8945a28c3b3657f1ca26473c4f15b23f87eada15" type="targz">https://github.com/PipeWire/pipewire/archive/0.3.37.tar.gz</Archive> -->
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>ninja</Dependency>
<Dependency>cmake</Dependency>
<Dependency>pulseaudio</Dependency>
@@ -89,6 +90,13 @@
</Package>
<History>
<Update release="4">
<Date>2021-12-05</Date>
<Version>20211112</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2021-10-20</Date>
<Version>20210915</Version>