aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2017-04-13 19:54:02 -0700
committerSteve Arnold <nerdboy@gentoo.org>2017-04-13 19:54:02 -0700
commitf5d28a280a8c7071830d7c259417c22d4c215d0a (patch)
tree82818f433964f5e2b1ea8b64944c299063d09f0b
parentx11-libs/libdrm-armada: add static-libs use flag and patch (diff)
downloadarm-f5d28a280a8c7071830d7c259417c22d4c215d0a.tar.gz
arm-f5d28a280a8c7071830d7c259417c22d4c215d0a.tar.bz2
arm-f5d28a280a8c7071830d7c259417c22d4c215d0a.zip
media-libs/galcore-headers: add legacy header files required for etnaviv
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
-rw-r--r--media-libs/galcore-headers/Manifest2
-rw-r--r--media-libs/galcore-headers/galcore-headers-4.6.6.ebuild38
-rw-r--r--media-libs/galcore-headers/galcore-headers-4.6.9.ebuild43
-rw-r--r--media-libs/galcore-headers/galcore-headers-9999.ebuild42
4 files changed, 125 insertions, 0 deletions
diff --git a/media-libs/galcore-headers/Manifest b/media-libs/galcore-headers/Manifest
new file mode 100644
index 0000000..2a61767
--- /dev/null
+++ b/media-libs/galcore-headers/Manifest
@@ -0,0 +1,2 @@
+DIST galcore-headers-4.6.6.tar.gz 95069 SHA256 140fb80c05e9e5c587878c3af0119ec7a0f286132bf09ff61798bb836eebb9ea SHA512 d776f0ac2bcdfad8e10d769a9a65c30ec6269738efd752a6178bbb8f01eebcd301881c669957d4570c8baac81e5b901ec9a2b81fd1b4ac103939fd8e553a8b3d WHIRLPOOL dc359c17be9ebfc7c2358828b7af24d6a321a97fdc38f2c5944e39af35af15213c85c170937bb32e3d8bfd906fe069ec7b0490cc101cb9dc329d814c9420cacb
+DIST galcore-headers-4.6.9.zip 1267498 SHA256 b0fd484741d2083c209569c958f19b1986bb397f3d94ff62b888b41f17808844 SHA512 4868c824a7b74ec5a445b98385c898b88ace32552c0e555dd2fb6959ef201453ecb3d7613b69dedc36f59221736a42ad8b944294a29d3d5e0eab7588a44cee6e WHIRLPOOL 87c3739611009f47e578f053c8525df707a90f4a97821a7bc7d8449c87ececb9bf15ed599e498a38fcf8919f51da71633fbed157a2b8bf5ce9094f5dbd2bc056
diff --git a/media-libs/galcore-headers/galcore-headers-4.6.6.ebuild b/media-libs/galcore-headers/galcore-headers-4.6.6.ebuild
new file mode 100644
index 0000000..e12d8a9
--- /dev/null
+++ b/media-libs/galcore-headers/galcore-headers-4.6.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit versionator
+
+MY_PN="${PN/_/-}"
+P="${MY_PN}-${PV}"
+
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/etnaviv/galcore_headers.git"
+ KEYWORDS=""
+else
+ SRC_URI="mirror://gentoo/${P}.tar.gz"
+ KEYWORDS="~arm"
+fi
+
+DESCRIPTION="GAL headers for the Vivante and other embedded GPUs"
+HOMEPAGE="https://github.com/etnaviv/etna_viv"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND=""
+
+MERGE_TYPE="binary"
+
+src_install() {
+ insinto /usr/include/HAL
+ if [ "${PV}" = "9999" ]; then
+ doins -r include_imx6*
+ else
+ doins include/*.h
+ fi
+}
+
diff --git a/media-libs/galcore-headers/galcore-headers-4.6.9.ebuild b/media-libs/galcore-headers/galcore-headers-4.6.9.ebuild
new file mode 100644
index 0000000..eef084f
--- /dev/null
+++ b/media-libs/galcore-headers/galcore-headers-4.6.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit versionator
+
+MY_PN="${PN/_/-}"
+P="${MY_PN}-${PV}"
+
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/etnaviv/galcore_headers.git"
+ KEYWORDS=""
+else
+ MY_PV=$(replace_all_version_separators '_' )
+ SRC_URI="https://github.com/etnaviv/galcore_headers/archive/master.zip -> ${P}.zip"
+ KEYWORDS="~arm"
+ IUSE="imx"
+ S="${WORKDIR}/galcore_headers-master"
+fi
+
+DESCRIPTION="GAL headers for the Vivante and other embedded GPUs"
+HOMEPAGE="https://github.com/etnaviv/etna_viv"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND=""
+
+MERGE_TYPE="binary"
+
+src_install() {
+ if use imx; then
+ insinto /usr/include/HAL
+ if [ "${PV}" = "9999" ]; then
+ doins -r include_imx6*
+ else
+ doins include_imx6_v"${MY_PV}"/*.h
+ fi
+ fi
+}
+
diff --git a/media-libs/galcore-headers/galcore-headers-9999.ebuild b/media-libs/galcore-headers/galcore-headers-9999.ebuild
new file mode 100644
index 0000000..f5a8798
--- /dev/null
+++ b/media-libs/galcore-headers/galcore-headers-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit versionator
+
+MY_PN="${PN/_/-}"
+P="${MY_PN}-${PV}"
+
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/etnaviv/galcore_headers.git"
+ KEYWORDS=""
+else
+ MY_PV=$(replace_all_version_separators '_' )
+ SRC_URI="https://github.com/etnaviv/galcore_headers/archive/master.zip -> ${P}.zip"
+ KEYWORDS="~arm"
+ IUSE="imx"
+fi
+
+DESCRIPTION="GAL headers for the Vivante and other embedded GPUs"
+HOMEPAGE="https://github.com/etnaviv/etna_viv"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND=""
+
+MERGE_TYPE="binary"
+
+src_install() {
+ if use imx; then
+ insinto /usr/include/HAL
+ if [ "${PV}" = "9999" ]; then
+ doins -r include_imx6*
+ else
+ doins include_imx6_v"${MY_PV}"
+ fi
+ fi
+}
+