Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xf86-video-hwcomposer: init at unstable-2019-02-07
- Loading branch information
1 parent
5ef229f
commit 12b6495
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ stdenv | ||
, fetchFromGitHub | ||
, autoreconfHook | ||
, pkgconfig | ||
, utilmacros | ||
, xorgserver | ||
, android-headers | ||
, libhybris | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
pname = "xf86-video-hwcomposer"; | ||
version = "unstable-2019-02-07"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "gemian"; | ||
repo = "xf86-video-hwcomposer"; | ||
rev = "0440e52d31ebe4565d0f92dfb45a8c52aab18b03"; | ||
sha256 = "0yz02jgr12g8gln01qh1rpbixkc6bdcg6rf6h6g04na3gw4f3xr7"; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
autoreconfHook | ||
pkgconfig | ||
]; | ||
|
||
buildInputs = [ | ||
android-headers | ||
libhybris | ||
utilmacros | ||
xorgserver | ||
]; | ||
|
||
NIX_CFLAGS_COMPILE = "-I${android-headers}/include/android"; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/gemian/xf86-video-hwcomposer; | ||
description = "Xorg DDX driver to renderer through HWComposer API on Android devices via libhybris"; | ||
maintainers = with maintainers; [ adisbladis ]; | ||
platforms = stdenv.lib.platforms.linux; | ||
}; | ||
} |