2022-10-08 15:14:54 +02:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }:
|
2010-12-27 19:30:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-15 18:14:56 +01:00
|
|
|
pname = "vdpauinfo";
|
2022-10-08 15:14:54 +02:00
|
|
|
version = "1.5";
|
2013-11-19 10:12:45 +01:00
|
|
|
|
2010-12-27 19:30:52 +01:00
|
|
|
src = fetchurl {
|
2022-10-08 15:14:54 +02:00
|
|
|
url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2";
|
|
|
|
hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw=";
|
2010-12-27 19:30:52 +01:00
|
|
|
};
|
|
|
|
|
2022-10-08 15:14:54 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ libvdpau ];
|
2010-12-27 19:30:52 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://people.freedesktop.org/~aplattner/vdpau/";
|
2010-12-27 19:30:52 +01:00
|
|
|
description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system";
|
2014-12-25 09:42:31 +01:00
|
|
|
license = licenses.mit; # expat version
|
|
|
|
platforms = platforms.unix;
|
2022-10-08 15:14:54 +02:00
|
|
|
maintainers = with maintainers; [ vcunat ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "vdpauinfo";
|
2010-12-27 19:30:52 +01:00
|
|
|
};
|
|
|
|
}
|