diff options
author | Fabián Heredia Montiel <303897+fabianhjr@users.noreply.github.com> | 2024-01-09 15:23:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 15:23:44 -0600 |
commit | d00c65029c491e666be96119feac97c5e632767b (patch) | |
tree | d885407e904c63273b677876b9f8555bf6a4b105 /pkgs/by-name/li | |
parent | 145933739ea8568b313b6587a61c5cf9708ff0bd (diff) | |
parent | 1e9223a2d8ab42b34004ec3e0a1332e034a0af09 (diff) | |
download | nixlib-d00c65029c491e666be96119feac97c5e632767b.tar nixlib-d00c65029c491e666be96119feac97c5e632767b.tar.gz nixlib-d00c65029c491e666be96119feac97c5e632767b.tar.bz2 nixlib-d00c65029c491e666be96119feac97c5e632767b.tar.lz nixlib-d00c65029c491e666be96119feac97c5e632767b.tar.xz nixlib-d00c65029c491e666be96119feac97c5e632767b.tar.zst nixlib-d00c65029c491e666be96119feac97c5e632767b.zip |
Merge pull request #275544 from CobaltCause/update-obs
obs-studio: 29.1.3 -> 30.0.2
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r-- | pkgs/by-name/li/libvpl/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libvpl/package.nix b/pkgs/by-name/li/libvpl/package.nix new file mode 100644 index 000000000000..8a647916ca63 --- /dev/null +++ b/pkgs/by-name/li/libvpl/package.nix @@ -0,0 +1,41 @@ +{ stdenv +, lib +, fetchFromGitHub +, cmake +, pkg-config +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libvpl"; + version = "2.10.1"; + + src = fetchFromGitHub { + owner = "intel"; + repo = finalAttrs.pname; + rev = "v${finalAttrs.version}"; + hash = "sha256-2yfJo4iwI/h0CJ+mJJ3cAyG5S7KksUibwJHebF3MR+E="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + cmakeFlags = [ + "-DCMAKE_BUILD_TYPE=Release" + "-DENABLE_DRI3=ON" + "-DENABLE_DRM=ON" + "-DENABLE_VA=ON" + "-DENABLE_WAYLAND=ON" + "-DENABLE_X11=ON" + "-DINSTALL_EXAMPLE_CODE=OFF" + "-DBUILD_TOOLS=OFF" + ]; + + meta = with lib; { + description = "Intel Video Processing Library"; + homepage = "https://intel.github.io/libvpl/"; + license = licenses.mit; + platforms = platforms.linux; + }; +}) |