From 8cb0bd82bdba96080001bd238f9948c02b787815 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:25:05 +0300 Subject: [PATCH 01/10] libmfx. --- hardware/graphics/libmfx/actions.py | 32 ++++------ hardware/graphics/libmfx/pspec.xml | 93 ++++++++++++++++------------- 2 files changed, 63 insertions(+), 62 deletions(-) mode change 100755 => 100644 hardware/graphics/libmfx/actions.py mode change 100755 => 100644 hardware/graphics/libmfx/pspec.xml diff --git a/hardware/graphics/libmfx/actions.py b/hardware/graphics/libmfx/actions.py old mode 100755 new mode 100644 index 40a1dad5ed..80b9b2c6f1 --- a/hardware/graphics/libmfx/actions.py +++ b/hardware/graphics/libmfx/actions.py @@ -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") \ No newline at end of file + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/hardware/graphics/libmfx/pspec.xml b/hardware/graphics/libmfx/pspec.xml old mode 100755 new mode 100644 index e267d9af7b..aa7445da77 --- a/hardware/graphics/libmfx/pspec.xml +++ b/hardware/graphics/libmfx/pspec.xml @@ -1,57 +1,64 @@ - - libmfx - https://github.com/lu-zero/mfx_dispatch - - Idris Kalp - idriskalp@gmail.com - - BSD - library - Intel media sdk dispatcher - Intel media sdk dispatcher - https://github.com/lu-zero/mfx_dispatch/archive/1.25.tar.gz - - libdrm-devel - libva-devel - - + + libmfx + https://github.com/lu-zero/mfx_dispatch + + Idris Kalp + idriskalp@gmail.com + + BSD + library + hardware.graphics + Intel media sdk dispatcher. + Intel media sdk dispatcher. + + https://github.com/lu-zero/mfx_dispatch/archive/refs/tags/1.35.1.tar.gz + + + libdrm-devel + libva-devel + + - - libmfx + + libmfx libdrm libva + libgcc - - /usr/lib - /usr/share - /usr/share/doc - - - - - libmfx-devel + + /usr/lib + + + + + libmfx-devel libmfx - + /usr/include /usr/lib/pkgconfig - - - - - - 2020-01-14 - 1.25 - First Release - Idris Kalp - idriskalp@gmail.com - - + + + + + + 2023-01-01 + 1.35.1 + Version bump. + fury + uglyside@yandex.ru + + + 2020-01-14 + 1.25 + First Release + Idris Kalp + idriskalp@gmail.com + + - - From d77d395187d69b3319fb8cd2420b69653d35766c Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:25:40 +0300 Subject: [PATCH 02/10] add gmmlib. --- hardware/graphics/gmmlib/actions.py | 21 ++++++++++ hardware/graphics/gmmlib/pspec.xml | 65 +++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 hardware/graphics/gmmlib/actions.py create mode 100644 hardware/graphics/gmmlib/pspec.xml diff --git a/hardware/graphics/gmmlib/actions.py b/hardware/graphics/gmmlib/actions.py new file mode 100644 index 0000000000..f455782eb6 --- /dev/null +++ b/hardware/graphics/gmmlib/actions.py @@ -0,0 +1,21 @@ +#!/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 cmaketools, mesontools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(j) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") diff --git a/hardware/graphics/gmmlib/pspec.xml b/hardware/graphics/gmmlib/pspec.xml new file mode 100644 index 0000000000..5e005b370a --- /dev/null +++ b/hardware/graphics/gmmlib/pspec.xml @@ -0,0 +1,65 @@ + + + + + gmmlib + https://github.com/intel/gmmlib + + fury + uglyside@yandex.ru + + MIT + library + hardware.graphics + Graphics Memory Management Library. + + The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI. + + + https://github.com/intel/gmmlib/archive/refs/tags/intel-gmmlib-22.2.0.tar.gz + + + cmake + ninja + + + + + + + + gmmlib + + libgcc + + + /usr/lib/libigdgmm.so + /usr/lib/libigdgmm.so.12 + /usr/lib/libigdgmm.so.12.2.0 + + + + + gmmlib-devel + + gmmlib + + + /usr/include/igdgmm/GmmLib + /usr/include/igdgmm/inc + /usr/include/igdgmm/util + /usr/include/igdgmm/igdgmm.h + /usr/lib/pkgconfig/igdgmm.pc + + + + + + 2023-01-01 + 22.2.0 + First build. + fury + uglyside@yandex.ru + + + From 3c7e4aa8955da268d9c79ed01b402f567b9d8430 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:26:16 +0300 Subject: [PATCH 03/10] add intel vpl1. --- hardware/graphics/onevpl/actions.py | 29 ++++++++++ hardware/graphics/onevpl/pspec.xml | 83 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 hardware/graphics/onevpl/actions.py create mode 100644 hardware/graphics/onevpl/pspec.xml diff --git a/hardware/graphics/onevpl/actions.py b/hardware/graphics/onevpl/actions.py new file mode 100644 index 0000000000..a9c653f0bb --- /dev/null +++ b/hardware/graphics/onevpl/actions.py @@ -0,0 +1,29 @@ +#!/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 cmaketools, mesontools, pisitools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DONEAPI_INSTALL_ENVDIR=/usr/share//vpl', + ' -DONEAPI_INSTALL_MODFILEDIR=/usr/share/vpl/modulefiles', + ' -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL=OFF', + ' -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL=OFF', + ' -DBUILD_TESTS=ON', + ' -DBUILD_TOOLS=OFF', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(j) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") + + pisitools.dodoc("CHANGELOG.md", "CONTRIBUTING.md") diff --git a/hardware/graphics/onevpl/pspec.xml b/hardware/graphics/onevpl/pspec.xml new file mode 100644 index 0000000000..7594f5eba9 --- /dev/null +++ b/hardware/graphics/onevpl/pspec.xml @@ -0,0 +1,83 @@ + + + + + onevpl + https://github.com/oneapi-src/oneVPL + + fury + uglyside@yandex.ru + + MIT + library + hardware.graphics + Video Processing Library. + + The oneAPI Video Processing Library (oneVPL) is a programming interface for video decoding, encoding, and processing to build portable media pipelines on CPUs, GPUs, and other accelerators. + + + https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2023.1.1.tar.gz + + + cmake + ninja + libva-devel + libxcb-devel + libdrm-devel + libX11-devel + wayland-devel + wayland-client + + libpciaccess-devel + wayland-protocols-devel + + + + + + + + onevpl + + libva + libxcb + libX11 + libgcc + libdrm + libdrm-intel + wayland-client + + + /usr/bin + /usr/lib + /usr/lib/vpl + /usr/share/doc/onevpl + /usr/share/vpl/licensing + /usr/share/vpl/vars.sh + /usr/share/vpl/modulefiles/vpl + + + + + onevpl-devel + + onevpl + + + /usr/lib/cmake/vpl + /usr/lib/pkgconfig/vpl.pc + /usr/include/vpl + /usr/share/vpl/examples + + + + + + 2023-01-02 + 2023.1.1 + First build. + fury + uglyside@yandex.ru + + + From 2b85b8242284f4227f747534752ca247c532d561 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:26:49 +0300 Subject: [PATCH 04/10] add intel-media-driver. --- .../graphics/intel-media-driver/actions.py | 22 +++++++ .../graphics/intel-media-driver/pspec.xml | 63 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 hardware/graphics/intel-media-driver/actions.py create mode 100644 hardware/graphics/intel-media-driver/pspec.xml diff --git a/hardware/graphics/intel-media-driver/actions.py b/hardware/graphics/intel-media-driver/actions.py new file mode 100644 index 0000000000..4561940c01 --- /dev/null +++ b/hardware/graphics/intel-media-driver/actions.py @@ -0,0 +1,22 @@ +#!/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 cmaketools, mesontools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DMEDIA_BUILD_FATAL_WARNINGS=OFF', + ' -B_build -G Ninja -Wno-dev -L ' + ]) + +def setup(): + cmaketools.configure(j) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") diff --git a/hardware/graphics/intel-media-driver/pspec.xml b/hardware/graphics/intel-media-driver/pspec.xml new file mode 100644 index 0000000000..ce73403fe1 --- /dev/null +++ b/hardware/graphics/intel-media-driver/pspec.xml @@ -0,0 +1,63 @@ + + + + + intel-media-driver + https://github.com/intel/media-driver/ + + fury + uglyside@yandex.ru + + MIT + BSD-3-Clause + library + hardware.graphics + Media Driver for VAAPI. + + The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware. + + + https://github.com/intel/media-driver/archive/refs/tags/intel-media-22.5.4.tar.gz + + + cmake + ninja + mesa-devel + libva-devel + libdrm-devel + libX11-devel + gmmlib-devel + libpciaccess-devel + + + + + + + + intel-media-driver + + libgcc + libva + gmmlib + + + /usr/include/igfxcmrt + /usr/lib/pkgconfig/igfxcmrt.pc + /usr/lib/dri/iHD_drv_video.so + /usr/lib/libigfxcmrt.so + /usr/lib/libigfxcmrt.so.7 + /usr/lib/libigfxcmrt.so.7.2.0 + + + + + + 2023-01-01 + 22.5.4 + First build. + fury + uglyside@yandex.ru + + + From 955f21a7614a4e109767e83aae79184205079158 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:27:39 +0300 Subject: [PATCH 05/10] handbrake-1.6.0 --- multimedia/converter/handbrake/actions.py | 20 ++++++++-------- multimedia/converter/handbrake/pspec.xml | 28 +++++++++++++++-------- 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/multimedia/converter/handbrake/actions.py b/multimedia/converter/handbrake/actions.py index cc2738f379..cae7c09043 100644 --- a/multimedia/converter/handbrake/actions.py +++ b/multimedia/converter/handbrake/actions.py @@ -10,14 +10,15 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get J = ''.join([ - ' --disable-static', + ' --prefix=/usr', ' --disable-rpath', + ' --disable-gtk4', ' --disable-silent-rules', - ' --enable-qsv', + ' --disable-update-checks', ' --enable-x265', + ' --enable-qsv', ' --enable-numa', - ' --enable-fdk-aac', - ' --enable-libav-aac ' + ' --enable-fdk-aac ' ]) def setup(): @@ -26,15 +27,12 @@ def setup(): shelltools.cd("gtk") autotools.autoreconf("-fiv") shelltools.cd("..") - autotools.rawConfigure("--prefix=/usr --force %s" % J) + autotools.rawConfigure("--force %s" % J) def build(): - shelltools.cd("build") - autotools.make() + autotools.make("-C build") def install(): - shelltools.cd("build") - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("../*.markdown", "../COPYING", "../LICENSE") + autotools.rawInstall("-C build DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("*.markdown", "COPYING", "LICENSE") diff --git a/multimedia/converter/handbrake/pspec.xml b/multimedia/converter/handbrake/pspec.xml index cc20fc8779..999a3376fe 100644 --- a/multimedia/converter/handbrake/pspec.xml +++ b/multimedia/converter/handbrake/pspec.xml @@ -14,7 +14,9 @@ app:gui The open source video transcoder. HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. The program is also used to convert DVDs so they can be viewed on iPods, iPhones and most media players. - https://github.com/HandBrake/HandBrake/releases/download/1.5.1/HandBrake-1.5.1-source.tar.bz2 + + https://github.com/HandBrake/HandBrake/releases/download/1.6.0/HandBrake-1.6.0-source.tar.bz2 + nasm meson @@ -32,6 +34,7 @@ libva-devel libvpx-devel libogg-devel + libass-devel fribidi-devel libxml2-devel @@ -101,14 +104,21 @@ - - - 2022-04-24 - 1.5.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - + + + 2022-12-31 + 1.6.0 + Version bump. + fury + uglyside@yandex.ru + + + 2022-04-24 + 1.5.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-10-19 1.4.2 From 50724c331e174c8d4823db8400d0fe8ead129667 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 3 Jan 2023 10:46:08 +0300 Subject: [PATCH 06/10] opencl-icd update and rebuild with hpp headers. --- x11/misc/opencl-icd/actions.py | 38 +++++---- x11/misc/opencl-icd/pspec.xml | 138 +++++++++++++++++++-------------- 2 files changed, 102 insertions(+), 74 deletions(-) mode change 100755 => 100644 x11/misc/opencl-icd/actions.py mode change 100755 => 100644 x11/misc/opencl-icd/pspec.xml diff --git a/x11/misc/opencl-icd/actions.py b/x11/misc/opencl-icd/actions.py old mode 100755 new mode 100644 index 8b5e07e816..5a91e483ed --- a/x11/misc/opencl-icd/actions.py +++ b/x11/misc/opencl-icd/actions.py @@ -1,31 +1,41 @@ #!/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 cmaketools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - pisitools.insinto("/usr/include/CL", "OpenCL-Headers-2020.12.18/CL/*") - shelltools.export("CFLAGS", "-I%s/usr/include -O2") - shelltools.export("CXXFLAGS", "-I%s/usr/include -O2") - pisitools.cflags.add("-fcommon") - autotools.autoreconf("-vfi") + shelltools.export("CFLAGS", "-I%s/usr/include -O2") + shelltools.export("CXXFLAGS", "-I%s/usr/include -O2") + pisitools.cflags.add("-fcommon") + shelltools.system("./bootstrap") - autotools.configure() + autotools.configure() + + shelltools.cd("OpenCL-Headers-2021.06.30") + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release") + + shelltools.cd("../OpenCL-CLHPP-2.0.15") + cmaketools.configure("-DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF") def build(): - autotools.make() - + autotools.make() + def check(): - autotools.make("check") + autotools.make("check") def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("NEWS") - pisitools.dodoc("COPYING","NEWS", "README") + shelltools.cd("OpenCL-Headers-2021.06.30") + cmaketools.install() + + shelltools.cd("../OpenCL-CLHPP-2.0.15") + cmaketools.install() diff --git a/x11/misc/opencl-icd/pspec.xml b/x11/misc/opencl-icd/pspec.xml old mode 100755 new mode 100644 index dc0f3b56bb..c40d2f299a --- a/x11/misc/opencl-icd/pspec.xml +++ b/x11/misc/opencl-icd/pspec.xml @@ -1,68 +1,86 @@ - - opencl-icd - https://github.com/OCL-dev/ocl-icd - - Mathias Freire - mathiasfreire45@gmail.com - - BSD-2-Clause - library - OpenCL ICD loader library - OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. - https://github.com/OCL-dev/ocl-icd/archive/v2.2.14.tar.gz - - https://github.com/KhronosGroup/OpenCL-Headers/archive/v2020.12.18.tar.gz - - ruby - - + + opencl-icd + https://github.com/OCL-dev/ocl-icd + + Mathias Freire + mathiasfreire45@gmail.com + + Apach-2 + BSD-2-Clause + library + OpenCL ICD loader library + OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. + + https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v2.3.1.tar.gz + + + https://github.com/KhronosGroup/OpenCL-CLHPP/archive/refs/tags/v2.0.15.tar.gz + + + https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v2021.06.30.tar.gz + + + cmake + ruby + + python3 + + - - opencl-icd - - /usr/lib - /usr/share/man - /usr/share/doc - - + + opencl-icd + + /usr/lib + /usr/share/man + /usr/share/doc + + - - opencl-icd-32bit - emul32 - emul32 - - /usr/lib32 - - + + opencl-icd-32bit + emul32 + emul32 + + /usr/lib32 + + - - opencl-icd-devel - - opencl-icd - - - /usr/include - /usr/lib/pkgconfig - - + + opencl-icd-devel + + opencl-icd + + + /usr/include + /usr/lib/pkgconfig + /usr/share/cmake + + - - - 2021-01-28 - 2.2.14 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-11-15 - 2.2.12 - First Release - Idris Kalp - idriskalp@gmail.com - - + + + 2023-01-02 + 2.3.1 + Version bump. + fury + uglyside@yandex.ru + + + 2021-01-28 + 2.2.14 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-11-15 + 2.2.12 + First Release + Idris Kalp + idriskalp@gmail.com + + From 1e520b94732e921e7ac70db10f70acf0e9a303fc Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 3 Jan 2023 10:46:52 +0300 Subject: [PATCH 07/10] remove libmfx. --- hardware/graphics/libmfx/actions.py | 24 ----------- hardware/graphics/libmfx/pspec.xml | 64 ----------------------------- 2 files changed, 88 deletions(-) delete mode 100644 hardware/graphics/libmfx/actions.py delete mode 100644 hardware/graphics/libmfx/pspec.xml diff --git a/hardware/graphics/libmfx/actions.py b/hardware/graphics/libmfx/actions.py deleted file mode 100644 index 80b9b2c6f1..0000000000 --- a/hardware/graphics/libmfx/actions.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/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 autotools, get - -i = ''.join([ - ' --with-libva_drm=yes', - ' --with-libva_x11=yes', - ' --enable-shared', - ' --disable-static ' - ]) - -def setup(): - autotools.autoreconf("-vfi") - autotools.configure(i) - -def build(): - autotools.make() - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/hardware/graphics/libmfx/pspec.xml b/hardware/graphics/libmfx/pspec.xml deleted file mode 100644 index aa7445da77..0000000000 --- a/hardware/graphics/libmfx/pspec.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - libmfx - https://github.com/lu-zero/mfx_dispatch - - Idris Kalp - idriskalp@gmail.com - - BSD - library - hardware.graphics - Intel media sdk dispatcher. - Intel media sdk dispatcher. - - https://github.com/lu-zero/mfx_dispatch/archive/refs/tags/1.35.1.tar.gz - - - libdrm-devel - libva-devel - - - - - libmfx - - libdrm - libva - libgcc - - - /usr/lib - - - - - libmfx-devel - - libmfx - - - /usr/include - /usr/lib/pkgconfig - - - - - - 2023-01-01 - 1.35.1 - Version bump. - fury - uglyside@yandex.ru - - - 2020-01-14 - 1.25 - First Release - Idris Kalp - idriskalp@gmail.com - - - From a3f6de6b971be9b667e2930e0e97eb7acac529d1 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 3 Jan 2023 10:48:25 +0300 Subject: [PATCH 08/10] add intel-media-sdk and rebuild libmfx. --- hardware/graphics/intel-media-sdk/actions.py | 25 ++++++ hardware/graphics/intel-media-sdk/pspec.xml | 87 ++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 hardware/graphics/intel-media-sdk/actions.py create mode 100644 hardware/graphics/intel-media-sdk/pspec.xml diff --git a/hardware/graphics/intel-media-sdk/actions.py b/hardware/graphics/intel-media-sdk/actions.py new file mode 100644 index 0000000000..db40590dc3 --- /dev/null +++ b/hardware/graphics/intel-media-sdk/actions.py @@ -0,0 +1,25 @@ +#!/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 cmaketools, mesontools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DBUILD_TOOLS=ON', + ' -DENABLE_X11_DRI3=ON', + ' -DENABLE_OPENCL=ON', + ' -DENABLE_WAYLAND=ON', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(j) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") diff --git a/hardware/graphics/intel-media-sdk/pspec.xml b/hardware/graphics/intel-media-sdk/pspec.xml new file mode 100644 index 0000000000..39b4b568fc --- /dev/null +++ b/hardware/graphics/intel-media-sdk/pspec.xml @@ -0,0 +1,87 @@ + + + + + intel-media-sdk + + + fury + uglyside@yandex.ru + + MIT + library + programming.tools + The Intel Media SDK. + Media SDK provides a plain C API to access hardware-accelerated video decode, encode and filtering on IntelĀ® Gen graphics hardware platforms. + + https://github.com/Intel-Media-SDK/MediaSDK/archive/refs/tags/intel-mediasdk-22.5.4.tar.gz + + + cmake + ninja + libva-devel + libdrm-devel + libxcb-devel + libX11-devel + opencl-icd-devel + libpciaccess-devel + wayland-protocols-devel + + + + + + + + intel-media-sdk + + libgcc + libva + libdrm + libdrm-intel + opencl-icd + wayland-client + + + /usr/bin + /usr/lib + /usr/lib/mfx + /usr/lib/pkgconfig/limfxhw64.pc + /usr/share/mfx + + + + + libmfx + + libgcc + + + /usr/lib/libmfx.so + /usr/lib/libmfx.so.1 + /usr/lib/libmfx.so.1.35 + + + + + libmfx-devel + + libnfx + + + /usr/lib/pkgconfig/mfx.pc + /usr/lib/pkgconfig/libmfx.pc + /usr/include/mfx + + + + + + 2023-01-03 + 22.5.4 + First build. + fury + uglyside@yandex.ru + + + From 117e6ea1035594c8b8c7bbc02472f179ba8c153d Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 4 Jan 2023 09:01:30 +0300 Subject: [PATCH 09/10] fix typo. --- hardware/graphics/intel-media-sdk/pspec.xml | 2 +- hardware/graphics/onevpl/actions.py | 5 +++-- x11/misc/opencl-icd/pspec.xml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hardware/graphics/intel-media-sdk/pspec.xml b/hardware/graphics/intel-media-sdk/pspec.xml index 39b4b568fc..3b012c6943 100644 --- a/hardware/graphics/intel-media-sdk/pspec.xml +++ b/hardware/graphics/intel-media-sdk/pspec.xml @@ -66,7 +66,7 @@ libmfx-devel - libnfx + libmfx /usr/lib/pkgconfig/mfx.pc diff --git a/hardware/graphics/onevpl/actions.py b/hardware/graphics/onevpl/actions.py index a9c653f0bb..543fd1f0d7 100644 --- a/hardware/graphics/onevpl/actions.py +++ b/hardware/graphics/onevpl/actions.py @@ -8,12 +8,13 @@ from pisi.actionsapi import cmaketools, mesontools, pisitools j = ''.join([ ' -DCMAKE_BUILD_TYPE=Release', - ' -DONEAPI_INSTALL_ENVDIR=/usr/share//vpl', + ' -DONEAPI_INSTALL_ENVDIR=/usr/share/vpl', ' -DONEAPI_INSTALL_MODFILEDIR=/usr/share/vpl/modulefiles', ' -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL=OFF', ' -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL=OFF', ' -DBUILD_TESTS=ON', - ' -DBUILD_TOOLS=OFF', + ' -DBUILD_TOOLS=ON', + ' -DBUILD_DEV=ON', ' -B_build -G Ninja -L ' ]) diff --git a/x11/misc/opencl-icd/pspec.xml b/x11/misc/opencl-icd/pspec.xml index c40d2f299a..04470d882b 100644 --- a/x11/misc/opencl-icd/pspec.xml +++ b/x11/misc/opencl-icd/pspec.xml @@ -8,7 +8,7 @@ Mathias Freire mathiasfreire45@gmail.com - Apach-2 + Apache-2 BSD-2-Clause library OpenCL ICD loader library From cff0ac6168b6707ba153dfe3f2f008ed9dd36eb7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 4 Jan 2023 14:27:33 +0300 Subject: [PATCH 10/10] sdk homepage. --- hardware/graphics/intel-media-sdk/pspec.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/graphics/intel-media-sdk/pspec.xml b/hardware/graphics/intel-media-sdk/pspec.xml index 3b012c6943..08c8132332 100644 --- a/hardware/graphics/intel-media-sdk/pspec.xml +++ b/hardware/graphics/intel-media-sdk/pspec.xml @@ -3,7 +3,7 @@ intel-media-sdk - + https://github.com/Intel-Media-SDK/MediaSDK/ fury uglyside@yandex.ru