diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2018-10-22 22:44:43 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2018-10-22 22:55:00 +0000 |
commit | abd3665a279117f2039cf0e7aeea4d474dd8f3ff (patch) | |
tree | 317094240f3b33d4dadbe3ffa594fd1142ae5b0b /media-libs/intel-mediasdk | |
parent | x11-libs/libva-intel-media-driver: New package (diff) | |
download | gentoo-abd3665a279117f2039cf0e7aeea4d474dd8f3ff.tar.gz gentoo-abd3665a279117f2039cf0e7aeea4d474dd8f3ff.tar.bz2 gentoo-abd3665a279117f2039cf0e7aeea4d474dd8f3ff.zip |
media-libs/intel-mediasdk: New package
A portable (windows/linux) mean to access the intel hardware
for encoding and decoding.
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'media-libs/intel-mediasdk')
-rw-r--r-- | media-libs/intel-mediasdk/Manifest | 1 | ||||
-rw-r--r-- | media-libs/intel-mediasdk/intel-mediasdk-18.3.0.ebuild | 42 | ||||
-rw-r--r-- | media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild | 42 | ||||
-rw-r--r-- | media-libs/intel-mediasdk/metadata.xml | 7 |
4 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/intel-mediasdk/Manifest b/media-libs/intel-mediasdk/Manifest new file mode 100644 index 000000000000..1438ecacd346 --- /dev/null +++ b/media-libs/intel-mediasdk/Manifest @@ -0,0 +1 @@ +DIST intel-mediasdk-18.3.0.tar.gz 6313246 BLAKE2B cd8658252594aa8cec08839783c41e2f6e0a9c56366a35d7f900a7a625df77bdef8dd9d69feea1a1ed93c60699fdae5d90ea131ace39641cbb396c9ea9ea07f6 SHA512 7a5f91b2ecdca375dd5dd4c1678d61b34d96b0f4dfa1b64efe61962f66eab9bfdfac6cecb9610180c8cdcb624c467716fe5f34027950bfaed1dabd6add7585ee diff --git a/media-libs/intel-mediasdk/intel-mediasdk-18.3.0.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-18.3.0.ebuild new file mode 100644 index 000000000000..a900ffb25996 --- /dev/null +++ b/media-libs/intel-mediasdk/intel-mediasdk-18.3.0.ebuild @@ -0,0 +1,42 @@ +# 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-Media-SDK/MediaSDK"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +fi + +DESCRIPTION="Intel Media SDK" +HOMEPAGE="http://mediasdk.intel.com" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND=" + >=x11-libs/libva-intel-media-driver-${PV} +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DENABLE_OPENCL=OFF + ) + + cmake-utils_src_configure +} diff --git a/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild new file mode 100644 index 000000000000..a900ffb25996 --- /dev/null +++ b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild @@ -0,0 +1,42 @@ +# 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-Media-SDK/MediaSDK"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +fi + +DESCRIPTION="Intel Media SDK" +HOMEPAGE="http://mediasdk.intel.com" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND=" + >=x11-libs/libva-intel-media-driver-${PV} +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DENABLE_OPENCL=OFF + ) + + cmake-utils_src_configure +} diff --git a/media-libs/intel-mediasdk/metadata.xml b/media-libs/intel-mediasdk/metadata.xml new file mode 100644 index 000000000000..80088c21d0ab --- /dev/null +++ b/media-libs/intel-mediasdk/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> |