handbrake video transcoder.

This commit is contained in:
4fury-c3440d8
2021-10-13 18:02:47 +03:00
parent 4dd9da6256
commit b12fbcd412
3 changed files with 164 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
J = ''.join([
' --disable-static',
' --disable-rpath',
' --disable-silent-rules',
' --enable-qsv',
' --enable-x265',
' --enable-numa',
' --enable-fdk-aac',
' --enable-libav-aac '
])
def setup():
shelltools.export("CXXFLAGS", get.CXXFLAGS())
shelltools.export("CFLAGS", get.CFLAGS())
shelltools.cd("gtk")
autotools.autoreconf("-fiv")
shelltools.cd("..")
autotools.rawConfigure("--prefix=/usr --force %s" % i)
def build():
shelltools.cd("build")
autotools.make()
def install():
shelltools.cd("build")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../*.markdown", "../COPYING", "../LICENSE")