ffnvcodec add to repo
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def build():
|
||||
autotools.make("PREFIX='/usr'")
|
||||
shelltools.system("sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE")
|
||||
shelltools.system("sed -i '1,22s/^.\{,3\}//' LICENSE")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("PREFIX='/usr' DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("LICENSE")
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ffnvcodec</Name>
|
||||
<Homepage>https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>FFmpeg version of headers required to interface with Nvidias codec APIs</Summary>
|
||||
<Description>FFmpeg version of headers required to interface with Nvidias codec APIs</Description>
|
||||
<Archive sha1sum="f060706fabaf83e94bf9dfaa6848048f0753eaba" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/ffnvcodec-9.1.23.1.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ffnvcodec</Name>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-01-14</Date>
|
||||
<Version>9.1.23.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user