summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2018-10-22 15:44:30 +0000
committerLuca Barbato <lu_zero@gentoo.org>2018-10-22 22:54:35 +0000
commitbc30a9aef38e4aab2f90fb59a3a4ff470cbc1d39 (patch)
treec049533bcd63205a727d3bebd0fe81658a0d0e2c /media-libs/gmmlib
parentx11-libs/libva: Version bump (diff)
downloadgentoo-bc30a9aef38e4aab2f90fb59a3a4ff470cbc1d39.tar.gz
gentoo-bc30a9aef38e4aab2f90fb59a3a4ff470cbc1d39.tar.bz2
gentoo-bc30a9aef38e4aab2f90fb59a3a4ff470cbc1d39.zip
media-libs/gmmlib: New package
Needed by the intel mediasdk dependency. Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'media-libs/gmmlib')
-rw-r--r--media-libs/gmmlib/Manifest1
-rw-r--r--media-libs/gmmlib/gmmlib-18.3.0.ebuild41
-rw-r--r--media-libs/gmmlib/gmmlib-9999.ebuild41
-rw-r--r--media-libs/gmmlib/metadata.xml7
4 files changed, 90 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
new file mode 100644
index 000000000000..9f6502ccf5e2
--- /dev/null
+++ b/media-libs/gmmlib/Manifest
@@ -0,0 +1 @@
+DIST intel-gmmlib-18.3.0.tar.gz 620491 BLAKE2B 555a733b42b8e4c40170db9ecabc25bb04779c3aba38b9141f021df1dbe83d74e385a3437d4a87577d9e5ff4df21ce618393909cd98fce4a59ec19aeff4eb44d SHA512 358598873556822be6748a282cd1447ca3e0bcaeb11c2bb8862414bac2ab8e57deee9581fa14bfe22d33d712e567db936332b7fe715dae9816b31121af934dec
diff --git a/media-libs/gmmlib/gmmlib-18.3.0.ebuild b/media-libs/gmmlib/gmmlib-18.3.0.ebuild
new file mode 100644
index 000000000000..f0dd8d2cd690
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-18.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+fi
+
+DESCRIPTION="Intel Graphics Memory Management Library"
+HOMEPAGE="https://github.com/intel/gmmlib"
+if [[ ${PV} == *9999 ]] ; then
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
+ S="${WORKDIR}/${PN}-intel-${P}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+# once upstream makes this optional
+# local mycmakeargs=(
+# -DMEDIA_RUN_TEST_SUITE=OFF
+# )
+
+ cmake-utils_src_configure
+}
diff --git a/media-libs/gmmlib/gmmlib-9999.ebuild b/media-libs/gmmlib/gmmlib-9999.ebuild
new file mode 100644
index 000000000000..f0dd8d2cd690
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+fi
+
+DESCRIPTION="Intel Graphics Memory Management Library"
+HOMEPAGE="https://github.com/intel/gmmlib"
+if [[ ${PV} == *9999 ]] ; then
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
+ S="${WORKDIR}/${PN}-intel-${P}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+# once upstream makes this optional
+# local mycmakeargs=(
+# -DMEDIA_RUN_TEST_SUITE=OFF
+# )
+
+ cmake-utils_src_configure
+}
diff --git a/media-libs/gmmlib/metadata.xml b/media-libs/gmmlib/metadata.xml
new file mode 100644
index 000000000000..80088c21d0ab
--- /dev/null
+++ b/media-libs/gmmlib/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>