diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-17 22:54:17 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-17 22:54:17 +0300 |
commit | 977e1b5b2fddc1543ca6f9425a813d2ac97df1d5 (patch) | |
tree | 8d3be6b81b6385cfbdba1961f329ee060f7f3f36 | |
parent | fcddf5de8b9b16b5226f8bbe0b1ef6410f888eb1 (diff) |
gstremer-scm, few missed files
-rw-r--r-- | media-libs/gst-plugins-bad/Manifest | 9 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/gst-plugins-bad-scm.ebuild | 114 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/metadata.xml | 13 | ||||
-rw-r--r-- | media-libs/gst-plugins-base/gst-plugins-base-scm.ebuild | 99 | ||||
-rw-r--r-- | media-libs/gst-plugins-base/metadata.xml | 12 | ||||
-rw-r--r-- | media-libs/gst-plugins-good/gst-plugins-good-scm.ebuild | 59 | ||||
-rw-r--r-- | media-libs/gst-plugins-good/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/gst-plugins-ugly/gst-plugins-ugly-scm.ebuild | 49 | ||||
-rw-r--r-- | media-libs/gst-plugins-ugly/metadata.xml | 11 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-scm.ebuild | 114 | ||||
-rw-r--r-- | media-libs/gstreamer/metadata.xml | 15 | ||||
-rw-r--r-- | media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch | 25 | ||||
-rw-r--r-- | media-plugins/gst-plugins-libav/gst-plugins-libav-scm.ebuild | 72 | ||||
-rw-r--r-- | media-plugins/gst-plugins-libav/metadata.xml | 8 |
14 files changed, 608 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest new file mode 100644 index 0000000..8c613bc --- /dev/null +++ b/media-libs/gst-plugins-bad/Manifest @@ -0,0 +1,9 @@ +AUX gst-plugins-bad-0.10.23-CVE-2015-0797.patch 1044 BLAKE2B fe60f1069711c17e8e14e7e08081ca4c97697bb866587be45c471a85539d8c161d425a92aa8f01565bfece5aad0f5a3cd835d711edab977e11c9e9355d7d795f SHA512 cbe01dd53450cffb4cddf9313e78f2b61b27a8e1c35da13ab9429fa0de6cfce2585a4bbe1d3a9f6aac503c79a5a9d661420001b0196683a3c8b778685844c969 +DIST gst-plugins-bad-0.10.23-h264-patches.tar.xz 5284 BLAKE2B 90ad2a742de6d6b3efedb1a2fc16a9f24cf0566fd455a27f113afa0fc2ceff5f2517a31e8db8ed6ed8b4c92595b333a29dbb451077975f3d726808976f4a8671 SHA512 528ed30edb544dd970047fd4b0f05bf75f9f49f07a8118f805430c56c3ec75643013799491aeba70c62cb0343cd3e72758bf5c167d00e90a6a3f13857e4860e1 +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 BLAKE2B 86ed955fb5c73f2145b8f8ed2daaeffd9975362e81c3ca911be00d18f6b6d975381651071eb54514ef94a931f1fc89e673dc8c1d68e10de132bbe51accb6d165 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 +DIST gst-plugins-bad-1.10.5.tar.xz 4737820 BLAKE2B e050813b59be50792d290a171e9e0fd90ce05c8c012625548e29ef9b551964597b0655c206e0444953ecfc2bad0b8dfee6c8766615fa82a76cf856d355ba94fc SHA512 03a1b712084ace16b933b708e19922aef4f9b5f7ba0408c35865e699d70bd19e73121594449355b6252a31d9085602d8bef581fe14cfdf6c9fdcf2ddcea21e1a +DIST gst-plugins-bad-1.12.3.tar.xz 4707000 BLAKE2B 1cb82e6f1c20d24a42ed0c7465e4dd8815627b0e716fe9be5d005ddd609c92a08619214a6b15059e7f537dadbc36c34d4c6ebfde1284c6a6029d2edf89bf9fa2 SHA512 6df47381de3a2f4286d047c1e7de2c76dd4312c9806636e2012717282cde0f3e5b2d0ffa910c564c8e122b19363e842b663cce1eda7ae95a05d63d1dbbd52661 +EBUILD gst-plugins-bad-0.10.23-r4.ebuild 1565 BLAKE2B 8907f6548ae1d077342bf0f35280c9cd59c492bd8a2e23e9c176c1682e32cab561835123af61fc40067f55c43574e401aa16e418ede39a56786744f741f203f7 SHA512 6c68c102487868c23bc177aa65a9a734f7e2cd89bcca5af827d98dcfb61d26a84b09a07d4ec6d7397a17ffa57ab33fdbfc5fc290bb9eb397209150da86ebb492 +EBUILD gst-plugins-bad-1.10.5.ebuild 2696 BLAKE2B 24d2b7e65903744847081897647095c1196ca9adc9bcb8ee19c3d7d7863bc04215151685c7e593b03f14ee9cc96417addc8302a3318b5bb4c662ffda20b5a6a6 SHA512 3702ba22b3747a965155d1d2a51e9d973e582eb80bf1d4a13ccecd0268ae68d2fd7e5246af699ec4292604f648b90053e43b45af57ea282c3779381ce416e7a5 +EBUILD gst-plugins-bad-1.12.3.ebuild 2813 BLAKE2B 909df02f084302f41136a8945346acfb14e673246f71e08fece6c656062a88611a9a1a3beed730ec797d698ed79313a0f50c403bc175c537cda8861216ebb8b6 SHA512 d496615579ea073ea920bb5103e59f4062454b17637bde64ca4ca99bc1fcccabf0dc9df04af7b810ab6f21163e709be963ff6bc2784ee3f40f3658b3cac25312 +MISC metadata.xml 439 BLAKE2B 5a4a36ccf4bd485eaf1fa66650eec8fa592d4c5bbf9fa478f1645e1b39649b7115694bf55dee7aeb4a5c53b2ba3c4614591cdf4e7d745938397c304108e0aa7c SHA512 9bd27a1a513fc2d697f7d0f2ceb7fa0701c446fe21b597256afd4c2c1f44145e875323ed1ef6202bf7b85472ab4aab43a4b6db5795bb1d28ff53a2a7e484055e diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-scm.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-scm.ebuild new file mode 100644 index 0000000..28e5594 --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-scm.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal flag-o-matic virtualx git-r3 + +SLOT="1.0" +SRC_URI="" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gst-plugins-bad" + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="" + +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vcd vnc wayland" +REQUIRED_USE=" + gles2? ( !opengl ) + opengl? ( X ) + wayland? ( egl ) + egl? ( || ( opengl gles2 ) ) +" + +# X11 is automagic for now, upstream #709530 +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + =media-libs/gstreamer-scm:${SLOT}[${MULTILIB_USEDEP},introspection?] + =media-libs/gst-plugins-base-scm:${SLOT}[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) + gles2? ( >=media-libs/mesa-9.1.6[gles2,${MULTILIB_USEDEP}] ) + opengl? ( + >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP}] + virtual/glu[${MULTILIB_USEDEP}] ) + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.4 + ) + + gtk? ( >=x11-libs/gtk+-3.15:3[X?,wayland?,${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +RESTRICT="test" + +src_prepare() { + git-r3_src_unpack + ./autogen.sh + make distclean + + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + local myconf=() + if use opengl || use gles2 ; then + # Actually enable the gl element, not just libs + myconf+=( --enable-gl ) + fi + + # Always enable gsettings (no extra dependency) + # and shm (need a switch for winnt ?) + ECONF_SOURCE=${S} + econf \ + $(multilib_native_use_enable introspection) \ + $(use_enable bzip2 bz2) \ + $(use_enable egl) \ + $(use_enable gles2) \ + $(use_enable gtk gtk3) \ + $(use_enable opengl) \ + $(use_enable opengl glx) \ + $(use_enable orc) \ + $(use_enable vcd) \ + $(use_enable vnc librfb) \ + $(use_enable wayland) \ + $(use_enable X x11) \ + --disable-examples \ + --disable-debug \ + --disable-cocoa \ + --without-player-tests \ + --disable-wgl \ + --enable-shm \ + ${myconf[$@]} + # not ported + # --enable-gsettings + + if multilib_is_native_abi; then + local x + for x in libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_test() { + unset DISPLAY + # Tests are slower than upstream expects + virtx emake check CK_DEFAULT_TIMEOUT=300 +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml new file mode 100644 index 0000000..c51baf6 --- /dev/null +++ b/media-libs/gst-plugins-bad/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <use> + <flag name="bzip2">Enable bzip2 encoder/decoder plugin</flag> + <flag name="egl">Enable EGL support</flag> + <flag name="gles2">Enable GLES2 support</flag> + </use> +</pkgmetadata> diff --git a/media-libs/gst-plugins-base/gst-plugins-base-scm.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-scm.ebuild new file mode 100644 index 0000000..e6e8b1e --- /dev/null +++ b/media-libs/gst-plugins-base/gst-plugins-base-scm.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal git-r3 + +SLOT="1.0" + +SRC_URI="" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gst-plugins-base" + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="" + +IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) +" + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + =media-libs/gstreamer-scm:1.0[introspection?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + X? ( + >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] ) +" +RDEPEND+="!<media-libs/gst-plugins-bad-1.11.90:1.0" # rawparse move + +src_prepare() { + ./autogen.sh + make distclean +} + +multilib_src_configure() { + ECONF_SOURCE=${S} + econf \ + $(use_enable alsa) \ + $(multilib_native_use_enable introspection) \ + $(use_enable ivorbis) \ + $(use_enable ogg) \ + $(use_enable orc) \ + $(use_enable pango) \ + $(use_enable theora) \ + $(use_enable vorbis) \ + $(use_enable X x) \ + $(use_enable X xshm) \ + $(use_enable X xvideo) \ + --enable-iso-codes \ + --enable-zlib \ + --disable-debug \ + --disable-examples \ + --disable-static + # cdparanoia and libvisual are split out, per leio's request + + # bug #366931, flag-o-matic for the whole thing is overkill + if [[ ${CHOST} == *86-*-darwin* ]] ; then + sed -i \ + -e '/FLAGS = /s|-O[23]|-O1|g' \ + gst/audioconvert/Makefile \ + gst/volume/Makefile || die + fi + + if multilib_is_native_abi; then + local x + for x in libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_install_all() { + DOCS="AUTHORS NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-base/metadata.xml b/media-libs/gst-plugins-base/metadata.xml new file mode 100644 index 0000000..1d80bb2 --- /dev/null +++ b/media-libs/gst-plugins-base/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<use> + <flag name="ivorbis">Enable integer based vorbis decoder</flag> + <flag name="pango">Enable pango GStreamer plugin</flag> +</use> +</pkgmetadata> diff --git a/media-libs/gst-plugins-good/gst-plugins-good-scm.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-scm.ebuild new file mode 100644 index 0000000..765dea7 --- /dev/null +++ b/media-libs/gst-plugins-good/gst-plugins-good-scm.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal git-r3 + +SLOT="1.0" +SRC_URI="" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gst-plugins-good" + +DESCRIPTION="Basepack of plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + =media-libs/gst-plugins-base-scm:${SLOT}[${MULTILIB_USEDEP}] + =media-libs/gstreamer-scm:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +src_prepare() { + ./autogen.sh + make distclean +} + +multilib_src_configure() { + # Always enable optional bz2 support for matroska + # Always enable optional zlib support for qtdemux and matroska + # Many media files require these to work, as some container headers are often + # compressed, bug #291154 + ECONF_SOURCE=${S} + econf \ + --enable-bz2 \ + --enable-zlib \ + --disable-examples \ + --with-default-audiosink=autoaudiosink \ + --with-default-visualizer=goom + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-good/metadata.xml b/media-libs/gst-plugins-good/metadata.xml new file mode 100644 index 0000000..42b76fd --- /dev/null +++ b/media-libs/gst-plugins-good/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> diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-scm.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-scm.ebuild new file mode 100644 index 0000000..71d6490 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-scm.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal git-r3 + +SLOT="1.0" +SRC_URI="" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly" + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + =media-libs/gstreamer-scm:${SLOT}[${MULTILIB_USEDEP}] + =media-libs/gst-plugins-base-scm:${SLOT}[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +src_prepare() { + ./autogen.sh + make distclean +} + +multilib_src_configure() { + ECONF_SOURCE=${S} + econf + + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-ugly/metadata.xml b/media-libs/gst-plugins-ugly/metadata.xml new file mode 100644 index 0000000..0bc7e0a --- /dev/null +++ b/media-libs/gst-plugins-ugly/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">gstreamer</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/gstreamer/gstreamer-scm.ebuild b/media-libs/gstreamer/gstreamer-scm.ebuild new file mode 100644 index 0000000..022b3d7 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-scm.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 eutils multilib-minimal pax-utils git-r3 + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +#SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gstreamer" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="" +IUSE="+caps +introspection nls +orc test unwind" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + sys-devel/bison + sys-devel/flex + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + nls? ( sys-devel/gettext ) +" +# gtk-doc-am to install API docs + +src_prepare() { + ./autogen.sh + make distclean +} + +src_configure() { + if [[ ${CHOST} == *-interix* ]] ; then + export ac_cv_lib_dl_dladdr=no + export ac_cv_func_poll=no + fi + if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then + # GCC groks this, but then refers to an implementation (___multi3, + # ___udivti3) that don't exist (at least I can't find it), so force + # this one to be off, such that we use 2x64bit emulation code. + export gst_cv_uint128_t=no + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local completiondir=$(get_bashcompdir) + # Set 'libexecdir' to ABI-specific location for the library spawns + # helpers from there. + # Disable static archives and examples to speed up build time + # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo + local myconf=( + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + --disable-debug + --disable-examples + --disable-static + --disable-valgrind + --enable-check + $(use_with unwind) + $(use_with unwind dw) + $(multilib_native_use_enable introspection) + $(use_enable nls) + $(use_enable test tests) + --with-bash-completion-dir="${completiondir%/*}" + --with-package-name="GStreamer ebuild for Gentoo" + --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer" + ) + + if use caps ; then + myconf+=( --with-ptp-helper-permissions=capabilities ) + else + myconf+=( + --with-ptp-helper-permissions=setuid-root + --with-ptp-helper-setuid-user=nobody + --with-ptp-helper-setuid-group=nobody + ) + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + if multilib_is_native_abi; then + local x + for x in gst libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + emake DESTDIR="${D}" install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE" + einstalldocs + prune_libtool_files --modules + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}" +} diff --git a/media-libs/gstreamer/metadata.xml b/media-libs/gstreamer/metadata.xml new file mode 100644 index 0000000..9834236 --- /dev/null +++ b/media-libs/gstreamer/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <use> + <flag name="orc">Disable some PaX memory protections to allow plugins + that use <pkg>dev-lang/orc</pkg> for runtime optimization to be + used on hardened PaX systems</flag> + <flag name="unwind">Enable <pkg>sys-libs/libunwind</pkg> usage for better + backtrace support in leaks tracer module</flag> + </use> +</pkgmetadata> diff --git a/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch b/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch new file mode 100644 index 0000000..36b50b9 --- /dev/null +++ b/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch @@ -0,0 +1,25 @@ +From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001 +From: Lenny Komow <lenny@lunarg.com> +Date: Thu, 20 Jul 2017 16:07:14 -0600 +Subject: [PATCH] loader: Remove executable stack from libvulkan.so + +Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0 +--- + loader/unknown_ext_chain_gas.asm | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm +index e463f45be..798760bd8 100644 +--- a/loader/unknown_ext_chain_gas.asm ++++ b/loader/unknown_ext_chain_gas.asm +@@ -108,6 +108,10 @@ vkdev_ext\num: + + .endif + ++#if defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif ++ + .data + + termin_error_string: diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-scm.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-scm.ebuild new file mode 100644 index 0000000..412efcc --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-scm.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal git-r3 + +#MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" +#SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" +EGIT_REPO_URI="git://anongit.freedesktop.org/gstreamer/gst-libav" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="" +IUSE="libav +orc" + +# XXX: bzip2/lzma are automagic +# Move back to ${PV} deps of gstreamer/gst-plugins-base later; 1.10.4 had it reduced for lone security stabilization +RDEPEND=" + app-arch/bzip2 + app-arch/xz-utils + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + =media-libs/gstreamer-scm:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.12.0:1.0[${MULTILIB_USEDEP}] + !libav? ( >=media-video/ffmpeg-3.2.4:0=[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +#S="${WORKDIR}/${MY_PN}-${PV}" + +RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly + +src_prepare() { + ./autogen.sh + make distclean +} + +multilib_src_configure() { + GST_PLUGINS_BUILD="" + # Upstream dropped support for system libav and won't work + # for preserving its compat anymore, forcing us to rely on internal + # ffmpeg copy if we don't want to cause unresolvable blockers for + # libav setups. + # https://bugzilla.gnome.org/show_bug.cgi?id=758183 + # Prefer system ffmpeg for -libav + local myconf + + ECONF_SOURCE=${S} \ + econf \ + --disable-maintainer-mode \ + --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="https://www.gentoo.org" \ + --disable-fatal-warnings \ + $(use_enable orc) \ + ${myconf} +} + +multilib_src_compile() { + # Don't build with -Werror + emake ERROR_CFLAGS= +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libav/metadata.xml b/media-plugins/gst-plugins-libav/metadata.xml new file mode 100644 index 0000000..42b76fd --- /dev/null +++ b/media-plugins/gst-plugins-libav/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> |