diff --git a/multimedia/misc/ffnvcodec/actions.py b/multimedia/misc/ffnvcodec/actions.py new file mode 100644 index 0000000000..91aad84e7a --- /dev/null +++ b/multimedia/misc/ffnvcodec/actions.py @@ -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") + + diff --git a/multimedia/misc/ffnvcodec/pspec.xml b/multimedia/misc/ffnvcodec/pspec.xml new file mode 100644 index 0000000000..70631f0752 --- /dev/null +++ b/multimedia/misc/ffnvcodec/pspec.xml @@ -0,0 +1,36 @@ + + + + + ffnvcodec + https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git + + PisiLinux Community + admins@pisilinux.org + + MIT + library + FFmpeg version of headers required to interface with Nvidias codec APIs + FFmpeg version of headers required to interface with Nvidias codec APIs + https://sourceforge.net/projects/pisilinux/files/source/ffnvcodec-9.1.23.1.tar.xz + + + + ffnvcodec + + /usr/include + /usr/lib/pkgconfig + /usr/share + + + + + + 2020-01-14 + 9.1.23.1 + First release + Idris Kalp + idriskalp@gmail.com + + +