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 #!/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")
+50 -43
View File
@@ -1,57 +1,64 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>libmfx</Name> <Name>libmfx</Name>
<Homepage>https://github.com/lu-zero/mfx_dispatch</Homepage> <Homepage>https://github.com/lu-zero/mfx_dispatch</Homepage>
<Packager> <Packager>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</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>
<BuildDependencies> <Archive sha1sum="2a33f6857a9c87f491a4efbe44afc4e127dcf8cb" type="targz">
<Dependency>libdrm-devel</Dependency> https://github.com/lu-zero/mfx_dispatch/archive/refs/tags/1.35.1.tar.gz
<Dependency>libva-devel</Dependency> </Archive>
</BuildDependencies> <BuildDependencies>
</Source> <Dependency>libdrm-devel</Dependency>
<Dependency>libva-devel</Dependency>
</BuildDependencies>
</Source>
<Package> <Package>
<Name>libmfx</Name> <Name>libmfx</Name>
<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> </Files>
<Path fileType="doc">/usr/share/doc</Path> </Package>
</Files>
</Package> <Package>
<Name>libmfx-devel</Name>
<Package>
<Name>libmfx-devel</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">libmfx</Dependency> <Dependency release="current">libmfx</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="1"> <Update release="2">
<Date>2020-01-14</Date> <Date>2023-01-01</Date>
<Version>1.25</Version> <Version>1.35.1</Version>
<Comment>First Release</Comment> <Comment>Version bump.</Comment>
<Name>Idris Kalp</Name> <Name>fury</Name>
<Email>idriskalp@gmail.com</Email> <Email>uglyside@yandex.ru</Email>
</Update> </Update>
</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>
</PISI> </PISI>