summaryrefslogtreecommitdiff
path: root/media-libs/libyami
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libyami
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libyami')
-rw-r--r--media-libs/libyami/Manifest9
-rw-r--r--media-libs/libyami/libyami-1.0.1.ebuild90
-rw-r--r--media-libs/libyami/libyami-1.1.0.ebuild91
-rw-r--r--media-libs/libyami/libyami-1.2.0.ebuild91
-rw-r--r--media-libs/libyami/libyami-9999.ebuild91
-rw-r--r--media-libs/libyami/metadata.xml16
6 files changed, 388 insertions, 0 deletions
diff --git a/media-libs/libyami/Manifest b/media-libs/libyami/Manifest
new file mode 100644
index 000000000000..6b18421eadd5
--- /dev/null
+++ b/media-libs/libyami/Manifest
@@ -0,0 +1,9 @@
+DIST libyami-1.0.1.tar.gz 480656 SHA256 1051d3e3366a933c4fbfb883b3900e81a8c0e4e1cd4d5a08b9c7d4e1bf7cec34 SHA512 01c0716011682ff8b5e6d2c58479aa574bc2cfb5ffe932952e430302aff090d56e0efa4f784f9cdd36d94800c8454802e4500096b3bea162d04ee6253a134c81 WHIRLPOOL 93ca1ca5a2cea7160398e4df24a829ecd09847f2d65a3fe1d30c608490f671c15c936b359dfa92b3560c9b3652bb3b547ed0e4b2120bea902e1e48e3f6c1fb33
+DIST libyami-1.1.0.tar.gz 491537 SHA256 08acb7857a1a85c1d3341862d6b523c0eb1603adee454469cda765b6bf04f614 SHA512 04ef34a994d23f8f5182c17975d6a28048a311c8090393d8cd54dd1fc74ec8b76af4028e1d5506568fb698e15f14833a01d4eaeb4ccd2484801f806a05cc86fa WHIRLPOOL 1565f0916c90ce906828de4b68cf30e83335a67da645b5b8e6d9930b93c84b72b46a1f23eba417e783937f067ff3121ff2a6c9b537604b6fc6346c00d4457da1
+DIST libyami-1.2.0.tar.gz 508386 SHA256 fdc3025f828c065a4434e73f5629e7ab8af593f1abbe097449dd5a13fa7d465f SHA512 1d253d67e3aab7ff2a1add50f7a5ebd284518d12fa689e6160a2dadb3fd1c2a5ab1a1c5f66dfd3801d46d9666c73dabcd5302ca495b069f60671337c0d0bc539 WHIRLPOOL adddaaab2fcff613137361dff66f645d129f7d7e41ce0aa749eef3c0df3b8495dc424511b61ff9d5c42f3bed999826e43c03492217dfff98a392aadccb05bdce
+EBUILD libyami-1.0.1.ebuild 2050 SHA256 24c9cc651fcff0a2d56784f55c0fbf1fee284b808b1eb71fa7933558731340ae SHA512 d638f274ad45924231e7579ff860f7c1900ba5ffca6aaacc7c45db1251982639e24e9a7498122b8219825f32c627553dd8ae6c1bdc976da8ed0a4b1070931512 WHIRLPOOL a1dfb5e986a0da88163ef7529aaffc96d92de0a01ef1a4c3141d64b22413be3d375bde909726932e41546bfdf853311057301866bd0ea2f528c303104543b44f
+EBUILD libyami-1.1.0.ebuild 2076 SHA256 3847763fae32d0cf8a5a5f96cfe902cf0c07dd15f2ed08c31c52ef29e77c9035 SHA512 fe3b20beaa845d3edc83ff20330a9c2a486e5cb662fa6add675ccf87f8e2f73fa92b297aae232375b8e443464d1d337751de8bd0692c0ca91d5e26508d1e6356 WHIRLPOOL f1e73164b71a13bc2609beee585853c748d77f127781d27de461868a3a92c042447b043f601b53dd7aad8e04785b9765190f72ea4ecbbbaa03aa4fbbba301f58
+EBUILD libyami-1.2.0.ebuild 2110 SHA256 82be85446f84e0a21ffbae502737d82aa456d31a42fae94dbccd29e35991d188 SHA512 ba8452590a7ed51d79b0112d84432a11d7df43b7bdc7319e2d21f724488bbf61e66fd3cbdc91f2ac34718c15b6cca3677b9bf584f1b8657767c5eb7c147c78c1 WHIRLPOOL aa1b9ee898d63b09eb9e210e65946c7fc1fb13b16b27e4c65b99542651700d01a0dfe85b432105f4a3e0ccf7c85ca16ab1e04c8e70515b36dfd76f9cb5eaf4a6
+EBUILD libyami-9999.ebuild 2110 SHA256 82be85446f84e0a21ffbae502737d82aa456d31a42fae94dbccd29e35991d188 SHA512 ba8452590a7ed51d79b0112d84432a11d7df43b7bdc7319e2d21f724488bbf61e66fd3cbdc91f2ac34718c15b6cca3677b9bf584f1b8657767c5eb7c147c78c1 WHIRLPOOL aa1b9ee898d63b09eb9e210e65946c7fc1fb13b16b27e4c65b99542651700d01a0dfe85b432105f4a3e0ccf7c85ca16ab1e04c8e70515b36dfd76f9cb5eaf4a6
+MISC ChangeLog 2050 SHA256 f4440d54f486d9117165ea4dbb87b6fd4339936ff15c3f1a255e67f5820c9721 SHA512 c5223fbd04b2e19eb29f8a019857105c73ca161990e2adc8a849c8a1e9539047f3b3f737c4b0923eb48b17e13a6e88b76d85047be9257fe564f17c27a03dc4f9 WHIRLPOOL d3b064b8f4d2eaa23914205e56e7eadc23bb1debe4d2da1b31ad8632e961b64fb607e40be214088dfa0fe307e9f3c8b14cbbf7d45981edea2b02d03b9248c948
+MISC metadata.xml 579 SHA256 de1aeb13d7a101b614894acea8295976bdc3487b986e58dc6053694aff09cdfa SHA512 11cfa826e63e99ab080c3f2fd698d081fc2cdddb42c24f563b63e006426b23c9814dc5521216d5ed1630465bd4d1dc109666e2308d3b2b0d4f46440cfcd4afe5 WHIRLPOOL c02f82cf31c68a8110d0a9a35537f545d00b27e92a3b0aee193fdbba593aa1005c6094dffb01164b4ea6823508f7fea1d7c7c6430e6c4b3f46f5ad2b8b690221
diff --git a/media-libs/libyami/libyami-1.0.1.ebuild b/media-libs/libyami/libyami-1.0.1.ebuild
new file mode 100644
index 000000000000..4a72f11306d1
--- /dev/null
+++ b/media-libs/libyami/libyami-1.0.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM=git-r3
+ EGIT_REPO_URI="https://github.com/01org/libyami"
+fi
+
+inherit ${SCM} autotools multilib-minimal flag-o-matic
+
+DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration"
+HOMEPAGE="https://github.com/01org/libyami"
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/01org/libyami/archive/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${P}"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug dmabuf doc md5 v4l X test wayland"
+
+RDEPEND="
+ >=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
+ v4l? (
+ >=virtual/opengl-7[${MULTILIB_USEDEP}]
+ >=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}]
+ >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}]
+ )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ md5? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ dmabuf? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-cpp/gtest-1.7 )
+"
+
+src_prepare() {
+ eautoreconf
+}
+
+multilib_src_configure() {
+ append-cppflags -I"${S}/"
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable v4l v4l2) \
+ $(use_enable v4l v4l2-ops) \
+ $(use_enable X x11) \
+ $(use_enable dmabuf) \
+ $(use_enable md5) \
+ $(use_enable wayland) \
+ $(use_enable test gtest) \
+ $(multilib_native_use_enable doc docs) \
+ --enable-h265dec \
+ --enable-vc1dec \
+ --enable-h264dec \
+ --enable-jpegdec \
+ --enable-mpeg2dec \
+ --enable-vp8dec \
+ --enable-vp9dec \
+ --enable-h265enc \
+ --enable-h264enc \
+ --enable-jpegenc \
+ --enable-vp8enc \
+ --enable-vp9enc
+}
+
+multilib_src_compile() {
+ emake
+ multilib_is_native_abi && use doc && emake -C doc
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && use doc && dohtml -r doc/html/*
+}
+
+src_install() {
+ multilib-minimal_src_install
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/media-libs/libyami/libyami-1.1.0.ebuild b/media-libs/libyami/libyami-1.1.0.ebuild
new file mode 100644
index 000000000000..61e906a3381d
--- /dev/null
+++ b/media-libs/libyami/libyami-1.1.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM=git-r3
+ EGIT_REPO_URI="https://github.com/01org/libyami"
+fi
+
+inherit ${SCM} autotools multilib-minimal flag-o-matic
+
+DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration"
+HOMEPAGE="https://github.com/01org/libyami"
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/01org/libyami/archive/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${P}"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+
+RDEPEND="
+ >=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
+ v4l? (
+ >=virtual/opengl-7[${MULTILIB_USEDEP}]
+ >=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}]
+ >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}]
+ )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ md5? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ dmabuf? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-cpp/gtest-1.7 )
+"
+
+src_prepare() {
+ eautoreconf
+}
+
+multilib_src_configure() {
+ append-cppflags -I"${S}/"
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable egl) \
+ $(use_enable v4l v4l2) \
+ $(use_enable v4l v4l2-ops) \
+ $(use_enable X x11) \
+ $(use_enable dmabuf) \
+ $(use_enable md5) \
+ $(use_enable wayland) \
+ $(use_enable test gtest) \
+ $(multilib_native_use_enable doc docs) \
+ --enable-h265dec \
+ --enable-vc1dec \
+ --enable-h264dec \
+ --enable-jpegdec \
+ --enable-mpeg2dec \
+ --enable-vp8dec \
+ --enable-vp9dec \
+ --enable-h265enc \
+ --enable-h264enc \
+ --enable-jpegenc \
+ --enable-vp8enc \
+ --enable-vp9enc
+}
+
+multilib_src_compile() {
+ emake
+ multilib_is_native_abi && use doc && emake -C doc
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && use doc && dohtml -r doc/html/*
+}
+
+src_install() {
+ multilib-minimal_src_install
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/media-libs/libyami/libyami-1.2.0.ebuild b/media-libs/libyami/libyami-1.2.0.ebuild
new file mode 100644
index 000000000000..fd902dd2fd96
--- /dev/null
+++ b/media-libs/libyami/libyami-1.2.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM=git-r3
+ EGIT_REPO_URI="https://github.com/01org/libyami"
+fi
+
+inherit ${SCM} autotools multilib-minimal flag-o-matic
+
+DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration"
+HOMEPAGE="https://github.com/01org/libyami"
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/01org/libyami/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+
+RDEPEND="
+ >=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
+ v4l? (
+ >=virtual/opengl-7[${MULTILIB_USEDEP}]
+ >=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}]
+ >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}]
+ )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ md5? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ dmabuf? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-cpp/gtest-1.7 )
+"
+
+src_prepare() {
+ sed -i -e 's/-Werror//' configure.ac || die
+ eautoreconf
+}
+
+multilib_src_configure() {
+ append-cppflags -I"${S}/"
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable egl) \
+ $(use_enable v4l v4l2) \
+ $(use_enable v4l v4l2-ops) \
+ $(use_enable X x11) \
+ $(use_enable dmabuf) \
+ $(use_enable md5) \
+ $(use_enable wayland) \
+ $(use_enable test gtest) \
+ $(multilib_native_use_enable doc docs) \
+ --enable-h265dec \
+ --enable-vc1dec \
+ --enable-h264dec \
+ --enable-jpegdec \
+ --enable-mpeg2dec \
+ --enable-vp8dec \
+ --enable-vp9dec \
+ --enable-h265enc \
+ --enable-h264enc \
+ --enable-jpegenc \
+ --enable-vp8enc \
+ --enable-vp9enc
+}
+
+multilib_src_compile() {
+ emake
+ multilib_is_native_abi && use doc && emake -C doc
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && use doc && dohtml -r doc/html/*
+}
+
+src_install() {
+ multilib-minimal_src_install
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/media-libs/libyami/libyami-9999.ebuild b/media-libs/libyami/libyami-9999.ebuild
new file mode 100644
index 000000000000..fd902dd2fd96
--- /dev/null
+++ b/media-libs/libyami/libyami-9999.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM=git-r3
+ EGIT_REPO_URI="https://github.com/01org/libyami"
+fi
+
+inherit ${SCM} autotools multilib-minimal flag-o-matic
+
+DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration"
+HOMEPAGE="https://github.com/01org/libyami"
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/01org/libyami/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+
+RDEPEND="
+ >=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
+ v4l? (
+ >=virtual/opengl-7[${MULTILIB_USEDEP}]
+ >=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}]
+ >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}]
+ )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ md5? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ dmabuf? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-cpp/gtest-1.7 )
+"
+
+src_prepare() {
+ sed -i -e 's/-Werror//' configure.ac || die
+ eautoreconf
+}
+
+multilib_src_configure() {
+ append-cppflags -I"${S}/"
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable egl) \
+ $(use_enable v4l v4l2) \
+ $(use_enable v4l v4l2-ops) \
+ $(use_enable X x11) \
+ $(use_enable dmabuf) \
+ $(use_enable md5) \
+ $(use_enable wayland) \
+ $(use_enable test gtest) \
+ $(multilib_native_use_enable doc docs) \
+ --enable-h265dec \
+ --enable-vc1dec \
+ --enable-h264dec \
+ --enable-jpegdec \
+ --enable-mpeg2dec \
+ --enable-vp8dec \
+ --enable-vp9dec \
+ --enable-h265enc \
+ --enable-h264enc \
+ --enable-jpegenc \
+ --enable-vp8enc \
+ --enable-vp9enc
+}
+
+multilib_src_compile() {
+ emake
+ multilib_is_native_abi && use doc && emake -C doc
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && use doc && dohtml -r doc/html/*
+}
+
+src_install() {
+ multilib-minimal_src_install
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/media-libs/libyami/metadata.xml b/media-libs/libyami/metadata.xml
new file mode 100644
index 000000000000..77b1337f051d
--- /dev/null
+++ b/media-libs/libyami/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ <use>
+ <flag name="egl">Enable EGL support.</flag>
+ <flag name="v4l">Add support for V4L2 hardware codecs.</flag>
+ <flag name="md5">Add support for generating md5 sums for each frame.</flag>
+ <flag name="dmabuf">Enable dma_buf buffer sharing.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">01org/libyami</remote-id>
+ </upstream>
+</pkgmetadata>