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
+10 -16
View File
@@ -1,30 +1,24 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright 2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 3.
# Licensed under the GNU General Public License, version 2. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools, get
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
i = ''.join([
' --with-libva_drm=yes',
' --with-libva_x11=yes',
' --enable-shared',
' --disable-static '
])
def setup(): def setup():
autotools.autoreconf("-vfi") autotools.autoreconf("-vfi")
autotools.configure("--disable-static \ autotools.configure(i)
--enable-shared \
--with-libva_drm=yes \
--with-libva_x11=yes \
")
def build(): def build():
autotools.make() autotools.make()
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.dodoc("AUTHORS","LICENSE", "README.md")
+14 -7
View File
@@ -10,9 +10,12 @@
</Packager> </Packager>
<License>BSD</License> <License>BSD</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary> Intel media sdk dispatcher </Summary> <PartOf>hardware.graphics</PartOf>
<Description> Intel media sdk dispatcher </Description> <Summary>Intel media sdk dispatcher.</Summary>
<Archive sha1sum="6ee528460d6b6d31c02c2b9528e6f91326345143" type="targz">https://github.com/lu-zero/mfx_dispatch/archive/1.25.tar.gz</Archive> <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> <BuildDependencies>
<Dependency>libdrm-devel</Dependency> <Dependency>libdrm-devel</Dependency>
<Dependency>libva-devel</Dependency> <Dependency>libva-devel</Dependency>
@@ -24,11 +27,10 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libdrm</Dependency> <Dependency>libdrm</Dependency>
<Dependency>libva</Dependency> <Dependency>libva</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
@@ -44,6 +46,13 @@
</Package> </Package>
<History> <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"> <Update release="1">
<Date>2020-01-14</Date> <Date>2020-01-14</Date>
<Version>1.25</Version> <Version>1.25</Version>
@@ -53,5 +62,3 @@
</Update> </Update>
</History> </History>
</PISI> </PISI>