Skip to content

Commit

Permalink
[libdrm] Adds libdrm
Browse files Browse the repository at this point in the history
Signed-off-by: Romain Sertelon <romain@sertelon.fr>
  • Loading branch information
rsertelon committed Dec 2, 2017
1 parent 16fb04a commit 7b9b45f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libdrm/README.md
@@ -0,0 +1,10 @@
# libdrm

This package provides the X DRM libraries

## Usage

Typically this is a runtime dependency that can be added to your
plan.sh:

pkg_deps=(core/libdrm)
29 changes: 29 additions & 0 deletions libdrm/plan.sh
@@ -0,0 +1,29 @@
pkg_name=libdrm
pkg_origin=core
pkg_version=2.4.88
pkg_description="Direct Rendering Manager"
pkg_upstream_url="https://dri.freedesktop.org/wiki/"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('MIT')
pkg_source="https://dri.freedesktop.org/${pkg_name}/${pkg_name}-${pkg_version}.tar.gz"
pkg_shasum=a8b458db6a73c717baee2e249d39511fb6f5c0f5f24dee2770935eddeda1a017
pkg_deps=(
core/libpciaccess
core/glibc
)
# Configure script will not find CAIRO. This is a choice we made, see:
# https://github.com/habitat-sh/core-plans/pull/994#discussion_r154243539
pkg_build_deps=(
core/diffutils
core/gcc
core/libxslt
core/make
core/pkg-config
)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)
pkg_pconfig_dirs=(lib/pkgconfig)

do_check() {
make check
}

0 comments on commit 7b9b45f

Please sign in to comment.