openh264 new package

This commit is contained in:
Rmys
2024-08-01 11:28:17 +03:00
parent c01153c326
commit 3e0fa3a353
9 changed files with 422629 additions and 420859 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
# def setup():
# autotools.configure()
def build():
autotools.make("PREFIX=/usr")
def install():
autotools.rawInstall("DESTDIR=%s PREFIX=/usr install-shared" % get.installDIR())
pisitools.dobin("h264dec")
pisitools.dobin("h264enc")
pisitools.remove("/usr/lib/libopenh264.a")
pisitools.dodoc("LICENSE", "README*")
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>openh264</Name>
<Homepage>https://github.com/cisco/openh264/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>H.264 encoder and decoder</Summary>
<Description>H.264 encoder and decoder</Description>
<Archive sha1sum="4c12ca6790c66900ecd24c12a624fa01490e823b" type="targz">https://github.com/cisco/openh264/archive/refs/tags/v2.4.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>nasm</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>openh264.patch</Patch>
<Patch level="1">openh264.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>openh264</Name>
<RuntimeDependencies>
<Dependency>nasm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>openh264-devel</Name>
<Summary>Development files for openh264</Summary>
<RuntimeDependencies>
<Dependency release="current">openh264</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-08-01</Date>
<Version>2.4.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>openh264</Name>
<Summary xml:lang="tr">H.264 encoder and decoder</Summary>
<Description xml:lang="tr">H.264 encoder and decoder</Description>
</Source>
</PISI>
+422526 -420848
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
d8cbb0c1f8c133151e86078f6b703de14b628d75
a9007090620b94f7797964ca25b506be19f6e4b1
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
e9e5e1647bfddd374adae204ca91078a09ddd315
31f8061bc41d47c3d47d609cbe440ced918ca876
+4 -4
View File
@@ -36,21 +36,21 @@ def build():
pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo")
pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc")
####################################################
shelltools.export("LC_ALL", "en_US.UTF-8")
shelltools.export("RUST_BACKTRACE", "1")
shelltools.system("python3 ./x.py build")
def install():
# shelltools.export("RUST_BACKTRACE", "1")
shelltools.system("DESTDIR=%s python3 ./x.py install" % get.installDIR())
# pisitools.remove("/usr/bin/*.old")
#pisitools.insinto("/", "build/x86_64-unknown-linux-gnu/stage0/etc")
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/bin")
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/lib")
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/share")
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/manifest.in")
#pisitools.dodoc("LICENSE","AUTHORS","README*")
+5 -5
View File
@@ -20,7 +20,7 @@
<AdditionalFile target="config.toml">bootstrap-config.toml</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<!-- <Dependency versionFrom="1.80.0">rust</Dependency> -->
<!-- <Dependency versionFrom="1.80.0">rust</Dependency> -->
<Dependency>perl</Dependency>
<Dependency versionFrom="15.0.7">llvm</Dependency>
<Dependency>cmake</Dependency>
@@ -39,7 +39,7 @@
</BuildDependencies>
<Patches>
<!--Patch level="1">70163.patch</Patch-->
<!-- <Patch level="1">0002-bootstrap-Change-bash-completion-dir.patch</Patch> -->
<!-- <Patch level="1">0002-bootstrap-Change-bash-completion-dir.patch</Patch> -->
</Patches>
</Source>
@@ -58,13 +58,13 @@
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="config">/etc</Path>
<Path fileType="library">/usr/lib</Path>
<!-- <Path fileType="data">/usr/share</Path> -->
<!-- <Path fileType="data">/usr/share</Path> -->
<Path fileType="man">/usr/share/man</Path>
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
<Path fileType="data">/usr/share/zsh</Path>
</Files>
</Package>
<Package>
<Name>rust-docs</Name>
<Summary>Development files for rust</Summary>