This commit is contained in:
4fury-c3440d8
2023-01-02 13:25:05 +03:00
parent 56f3b1c928
commit 8cb0bd82bd
2 changed files with 63 additions and 62 deletions
+13 -19
View File
@@ -1,30 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2009 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
# 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 autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import autotools, get
i = ''.join([
' --with-libva_drm=yes',
' --with-libva_x11=yes',
' --enable-shared',
' --disable-static '
])
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--enable-shared \
--with-libva_drm=yes \
--with-libva_x11=yes \
")
autotools.autoreconf("-vfi")
autotools.configure(i)
def build():
autotools.make()
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.dodoc("AUTHORS","LICENSE", "README.md")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+50 -43
View File
@@ -1,57 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmfx</Name>
<Homepage>https://github.com/lu-zero/mfx_dispatch</Homepage>
<Packager>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary> Intel media sdk dispatcher </Summary>
<Description> Intel media sdk dispatcher </Description>
<Archive sha1sum="6ee528460d6b6d31c02c2b9528e6f91326345143" type="targz">https://github.com/lu-zero/mfx_dispatch/archive/1.25.tar.gz</Archive>
<BuildDependencies>
<Dependency>libdrm-devel</Dependency>
<Dependency>libva-devel</Dependency>
</BuildDependencies>
</Source>
<Source>
<Name>libmfx</Name>
<Homepage>https://github.com/lu-zero/mfx_dispatch</Homepage>
<Packager>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<PartOf>hardware.graphics</PartOf>
<Summary>Intel media sdk dispatcher.</Summary>
<Description>Intel media sdk dispatcher.</Description>
<Archive sha1sum="2a33f6857a9c87f491a4efbe44afc4e127dcf8cb" type="targz">
https://github.com/lu-zero/mfx_dispatch/archive/refs/tags/1.35.1.tar.gz
</Archive>
<BuildDependencies>
<Dependency>libdrm-devel</Dependency>
<Dependency>libva-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmfx</Name>
<Package>
<Name>libmfx</Name>
<RuntimeDependencies>
<Dependency>libdrm</Dependency>
<Dependency>libva</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libmfx-devel</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libmfx-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libmfx</Dependency>
</RuntimeDependencies>
<Files>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-14</Date>
<Version>1.25</Version>
<Comment>First Release</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</Files>
</Package>
<History>
<Update release="2">
<Date>2023-01-01</Date>
<Version>1.35.1</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2020-01-14</Date>
<Version>1.25</Version>
<Comment>First Release</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>