openh264 new package
This commit is contained in:
@@ -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*")
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user