summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxvmc/package.py
blob: 8f7a10701467576f8feb7b99a3855439d174c0a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Libxvmc(AutotoolsPackage, XorgPackage):
    """X.org libXvMC library."""

    homepage = "https://cgit.freedesktop.org/xorg/lib/libXvMC"
    xorg_mirror_path = "lib/libXvMC-1.0.9.tar.gz"

    license("MIT")

    version("1.0.9", sha256="090f087fe65b30b3edfb996c79ff6cf299e473fb25e955fff1c4e9cb624da2c2")

    depends_on("libx11@1.6:")
    depends_on("libxext")
    depends_on("libxv")

    depends_on("xextproto")
    depends_on("videoproto")
    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")