gstreamer-vaapi:moved into main for pisi 2.0

This commit is contained in:
2015-07-28 13:09:30 +03:00
parent f722e3b8d6
commit fe09c66b47
3 changed files with 197 additions and 0 deletions
@@ -0,0 +1,46 @@
#!/usr/bin/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
autotools.autoreconf("-fi")
shelltools.cd("../")
shelltools.makedirs("gst-next")
shelltools.copy("gstreamer-vaapi-0.6.0/*", "gst-next")
shelltools.cd("gst-next")
autotools.aclocal()
autotools.configure("--prefix=/usr --disable-static")
shelltools.cd("../")
shelltools.cd("gstreamer-vaapi-0.6.0")
autotools.aclocal()
autotools.configure("--with-gstreamer-api=0.10")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
shelltools.cd("../")
shelltools.cd("gst-next")
autotools.make()
shelltools.cd("../")
shelltools.cd("gstreamer-vaapi-0.6.0")
autotools.make()
def install():
shelltools.cd("../")
shelltools.cd("gst-next")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../")
shelltools.cd("gstreamer-vaapi-0.6.0")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING*", "NEWS", "README")