diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/gst-plugins-v4l2 |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/gst-plugins-v4l2')
8 files changed, 200 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-v4l2/Manifest b/media-plugins/gst-plugins-v4l2/Manifest new file mode 100644 index 000000000000..b213c9f97097 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/Manifest @@ -0,0 +1,13 @@ +AUX gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch 1523 SHA256 7e12dae18afee4fdb36238344dae0d309d0e6fb06e271dd1c220e8d40f2fd8f8 SHA512 a1aab63fcbe6bd62d7675ea0830b6147eb7fe17ebef247d6020586c57048c0162133c1662202ad7ad7376543ac830d1ab9975f98aeb89206cb993e3d4f5d50a8 WHIRLPOOL 2ecc209d53ad24e625430d0a81b581418242e05b8048ac8027fbfdc2a1c80bf5f2440460cc0a54c57c85665353f2c94baa2aa624532c5f687d66f56b5bd0298e +AUX gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch 738 SHA256 984fd8e722b3f80b59804f73bc03871208989d2f471cf0abb34dfd327a6f4797 SHA512 85b6f2fc3257b4aa6a67723eed77b2a30c57bc3ce2a008acef06cd53714af0c17d606e177028b473f21b8f2efff58f95f5e1f447757ac75be9ca2fe611651885 WHIRLPOOL be81e9802cc6e2ae447270187589a53c07b9848bb534c3c3fb1b856a600172eced21b3c87ef1fd69356a34a0fa92a224b6e0bdfa6d310b1179c60ebc0d747528 +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.10.3.tar.xz 3426164 SHA256 4e07e93e34d4b93208f1579c21e7d91a236577b36f128a5332ffee85b4465955 SHA512 ae1523e374715b4f65509eb63d987118510fc4fe61b5ac2a98e4ec06feb2ec65899557976d796ea09644b32652f3a321aca462b8fe1621308e0c00dd6913e592 WHIRLPOOL 7c2c5fa9b21cfd35e7895beb947b6396ae55bd2f510fbe55b7696a0b68e7248e0cb04d5e4fe55e8d029ab03b5401fe20c5080a92b0b22532c9ac3dcb7167681f +DIST gst-plugins-good-1.10.5.tar.xz 3425088 SHA256 be053f6ed716eeb517cec148cec637cdce571c6e04d5c21409e2876fb76c7639 SHA512 556bb5f95f3d52722849b5abf2ece1abeba9eae556aa2bebccaeda419639aa93b517bacbe74a0b3c0ce481d1e56ed2793de892a3054fdb06ec9652e207d69e16 WHIRLPOOL 01405868de1faee643f1b9653efaf0a822a85a02d6c04ff98b93e9dc8339671111005105aeb4cb2d5b6c86e69c943d12daff6fc35e94c002b12e805f9605eac6 +DIST gst-plugins-good-1.12.3.tar.xz 3487448 SHA256 13e7f479296891fef5a686438f20ba7d534680becf2269ecc5ee24aa83b45f03 SHA512 8ed96d2b2c8724659cf8163be5246ec30c8a92d70fc6632e207ad258cff5624d6fc03576e6e674011bb88a4825c8ce225545bc7e60cdf66a173d9e1d4bfbbaa4 WHIRLPOOL 9255759738e14f9a6aee1122d7f2bd7b23266e33bdc834e2942ac3a1fbb9389fed504d4769c1ab50c35b8a319c351f8373aca8cf09bd138bbaf7bef4fc51894a +EBUILD gst-plugins-v4l2-0.10.31-r1.ebuild 829 SHA256 e2fe887eca337c765194464aefbbf066763c85d8904357ddac44607d414f5793 SHA512 38b460f13965a518bf6910a0ffa60a1bd89c68bed5ee2eb07873bda27dcc55260ef6f4520b6a8dd97a8a4cc62215762b6003441d8df4484133dda6586a13ffb4 WHIRLPOOL e4290329e4e2728a4a7949ed0900f36bb267b5edb762297cac4c775716795f4d496a280f2ffd29dc2cd4c11245a06938d58347d068d60ae3de8ff056ca37b0e5 +EBUILD gst-plugins-v4l2-1.10.3.ebuild 652 SHA256 e396cf3cac43ebfdc68bf7ead9302ea54d45c4b4d2a722b44ca43f65dfe4ed96 SHA512 82b9ea95f44afcd572389ca5677fac76a7be82dbc1c77607a8556396aae0b3045bcca2bfabcfb2666c458d14c04cfa7bbde7328c7e13055d4873afcdb6672944 WHIRLPOOL f53a1ac30874141aedb66ab32e22ca13a3a2f664fbcfc3cda9305fcc2899c6b071434f818c1ff6f9f69ba322d1361a23304e6141e60bf6851f94c57c177220b6 +EBUILD gst-plugins-v4l2-1.10.5.ebuild 663 SHA256 c9855c01057aec632f2ff5c211be9419f2024ed50b782e46a87e16491f287aa2 SHA512 5c1e6b528fbae291b645994e006a1a7cb79abbc539a401967f1b0c1f35f3a2009004534ababc7c41a712d787c77dfebf4c0a3fa96457e9e0ddfe238f669cb54a WHIRLPOOL 21e2cae974f71530d92e77132a7b7cada3b92966ae455613290d712a538aabdd9074de226bea32081b105d4a63ed143fd72ea6936bb3e80f0237bec4d5e700be +EBUILD gst-plugins-v4l2-1.12.3.ebuild 667 SHA256 7ae9487001d3ccf0d53a70e390c4f15bd8ae5169ac1f808e0872dff06af14bd4 SHA512 54f1b9a03947e6c68c857c4c94a2e0a4e00b40bd370b37b3236212ae391585cb0f43e2a11ccd03c865a7b9583c407cbc18a5294fdebac4c69a06256c18b9df9e WHIRLPOOL b0c97caf794b13d28c190111b64312a32dd36b91fddb33f2bd1a100b346f07705f8c9d08e15494f1e732745524ef7e54294fa0384467125c4faed2df3e1e424a +MISC ChangeLog 6270 SHA256 ab6522b2214f9b036008482aa2c85bd19d0d9cd08231c3b4cb66bdeb2efc573d SHA512 61e9ab83c2f9056c2fed788fa4a23433ebebf5d8bd203fc0ac9489d696a06e86850a49f80934854f93db07646d7c0f864c26b093425605ab89444979647b33fa WHIRLPOOL 25428d9d57553f916f1b075c1ac34cf07d0029cea024fea15b32d0c27374662e4ed13e93d1628396320383adf5026372a8f6f3404856a5611bd0bbc901e74455 +MISC ChangeLog-2015 23417 SHA256 d9f7d5b463657a3c09b7d8a481f26ab32c910b7af2dc7b92921f378077a9b465 SHA512 427f5bf624001a034ac0d0c2cee04cdd9fac08ee5e98bddf4bb198a942dd943c5aa33edbdb3aad1799a0981dbb7fd5898b23bc588e45695515d9b8b0a1f14f99 WHIRLPOOL 9b6483907a863108f8eb32fc2710f0a76b8f7cb86497c4c2727dd6d54061d9921010a76a66de1fb98ba8c7f4f1d9386e4eb516e8b7e42ac0f3ae26118152b2a1 +MISC metadata.xml 262 SHA256 aff3dcfdbd8f863806436de702d542cc89c7d5a9b8f4224b71c6de4555d9b090 SHA512 608f0a17d576a3b23a6921272eb449a6efed76b3c4b3fdf8737b2d499b56d109186c2883c06e5c843799d2fb1606f3066c43759b40f9d7cf58b6a674c38dd0e0 WHIRLPOOL 81b06b984b66fa01e67d2803859238d53791739041068f4778a3d0b70038ad567b90d0cf7819191d7747c86d5cd03556d7f81d5efafef1006a901d516e3db703 diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch new file mode 100644 index 000000000000..919b19b7dc4b --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch @@ -0,0 +1,38 @@ +From 968a3dac9959c2a6ae4ff619535db15b37446ce4 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen <mclasen@redhat.com> +Date: Thu, 9 Aug 2012 08:35:23 +0100 +Subject: [PATCH] v4l2: fix build with recent kernels, the v4l2_buffer input + field was removed + +This was unused apparently and removed in the kernel in commit: + + From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001 + From: Sakari Ailus <sakari.ailus@iki.fi> + Date: Wed, 2 May 2012 09:40:03 -0300 + Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT + + Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which + tells the former is valid. The flag is used by no driver currently. + +https://bugzilla.gnome.org/show_bug.cgi?id=681491 + +[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.10.31] +--- + sys/v4l2/gstv4l2bufferpool.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index b81c6a4..51cc0ce 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/sys/v4l2/gstv4l2bufferpool.c +@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) + GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u", + ret->vbuffer.m.offset); + GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length); +- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); + + data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, + PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd, +-- +1.7.12.3 + diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch new file mode 100644 index 000000000000..25c25505449d --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch @@ -0,0 +1,25 @@ +From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Mon, 18 Mar 2013 14:59:35 +0000 +Subject: v4l2: fix compilation against newer kernel headers as on FC19 + +--- +diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c +index 07d390a..4c10f4f 100644 +--- a/sys/v4l2/v4l2_calls.c ++++ b/sys/v4l2/v4l2_calls.c +@@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) + break; + case V4L2_CID_HFLIP: + case V4L2_CID_VFLIP: ++#ifndef V4L2_CID_PAN_RESET + case V4L2_CID_HCENTER: ++#endif ++#ifndef V4L2_CID_TILT_RESET + case V4L2_CID_VCENTER: ++#endif + #ifdef V4L2_CID_PAN_RESET + case V4L2_CID_PAN_RESET: + #endif +-- +cgit v0.9.0.2-2-gbebe diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild new file mode 100644 index 000000000000..d869211d7aaf --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit eutils gstreamer + +DESCRIPION="plugin to allow capture from video4linux2 devices" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-xvideo-${PV}:${SLOT}[${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers" + +GST_PLUGINS_BUILD="gst_v4l2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.6.patch #437012 + epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.9.patch #468618 +} + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.3.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.3.ebuild new file mode 100644 index 000000000000..04e7df4a4839 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer + +DESCRIPION="V4L2 source/sink plugin for GStreamer" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers +" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.5.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.5.ebuild new file mode 100644 index 000000000000..61ada167577d --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.10.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer + +DESCRIPION="V4L2 source/sink plugin for GStreamer" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers +" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.12.3.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.12.3.ebuild new file mode 100644 index 000000000000..3a7e8cb0bd75 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.12.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer + +DESCRIPION="V4L2 source/sink plugin for GStreamer" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers +" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/metadata.xml b/media-plugins/gst-plugins-v4l2/metadata.xml new file mode 100644 index 000000000000..fb1ea7216a80 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gstreamer@gentoo.org</email> + <name>GStreamer package maintainers</name> +</maintainer> +</pkgmetadata> |