Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add intel-media-driver recipe #27596

Merged
merged 17 commits into from
Nov 3, 2024
10 changes: 10 additions & 0 deletions recipes/intel-media-driver/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -ex

mkdir build
pushd build

cmake ${CMAKE_ARGS} ..

make -j${CPU_COUNT}

make install
46 changes: 46 additions & 0 deletions recipes/intel-media-driver/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
context:
name: intel-media-driver
version: "24.2.5"

package:
name: ${{ name|lower }}
version: ${{ version }}

source:
url: https://github.com/intel/media-driver/archive/refs/tags/intel-media-${{ version }}.tar.gz
sha256: dec2210c1f824a721e4ea6f66f5899e300801b3e7fae232d3f8a94db38c2edd1

build:
skip:
- win
- osx
number: 0

requirements:
build:
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}
- ${{ stdlib('c') }}
- cmake
- make
host:
- libva
- intel-gmmlib

tests:
- script:
- test -f ${PREFIX}/lib/dri/iHD_drv_video.so

about:
homepage: https://github.com/intel/media-driver
summary: 'Intel(R) Media Driver for VAAPI'
description: |
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.
license: MIT
license_file: LICENSE.md

extra:
recipe-maintainers:
- hmaarrfk