summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 23:02:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 00:22:38 +0100
commit064af661d0c9a31cecdf348632bc5603333a9149 (patch)
tree2202373a7cafcb8a761d32747d4f62263aed64d5 /media-libs
parentdev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff)
downloadgentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.gz
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.bz2
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.zip
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/allegro/allegro-4.4.2-r2.ebuild1
-rw-r--r--media-libs/allegro/allegro-5.2.5.0.ebuild1
-rw-r--r--media-libs/aubio/aubio-0.4.7.ebuild3
-rw-r--r--media-libs/aubio/aubio-0.4.8.ebuild1
-rw-r--r--media-libs/aubio/aubio-0.4.9.ebuild1
-rw-r--r--media-libs/audiofile/audiofile-0.3.6-r3.ebuild1
-rw-r--r--media-libs/chromaprint/chromaprint-1.4.3.ebuild1
-rw-r--r--media-libs/clutter/clutter-1.26.2-r1.ebuild1
-rw-r--r--media-libs/exempi/exempi-2.4.5-r1.ebuild1
-rw-r--r--media-libs/gd/gd-2.2.5-r2.ebuild1
-rw-r--r--media-libs/gegl/gegl-0.3.0.ebuild1
-rw-r--r--media-libs/gegl/gegl-0.3.34.ebuild1
-rw-r--r--media-libs/gegl/gegl-0.4.14.ebuild1
-rw-r--r--media-libs/gegl/gegl-0.4.16.ebuild1
-rw-r--r--media-libs/gnonlin/gnonlin-1.4.0-r1.ebuild3
-rw-r--r--media-libs/graphene/graphene-1.8.6.ebuild1
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild1
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.14.5.ebuild1
-rw-r--r--media-libs/gstreamer/gstreamer-1.14.4.ebuild1
-rw-r--r--media-libs/gstreamer/gstreamer-1.14.5.ebuild1
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.6.1.ebuild1
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.6.4.ebuild1
-rw-r--r--media-libs/harfbuzz/harfbuzz-9999.ebuild1
-rw-r--r--media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild1
-rw-r--r--media-libs/lcms/lcms-2.9.ebuild3
-rw-r--r--media-libs/lensfun/lensfun-0.3.2-r1.ebuild1
-rw-r--r--media-libs/leptonica/leptonica-1.74.4.ebuild1
-rw-r--r--media-libs/leptonica/leptonica-1.77.0.ebuild1
-rw-r--r--media-libs/leptonica/leptonica-1.78.0.ebuild1
-rw-r--r--media-libs/libcdr/libcdr-0.1.5.ebuild1
-rw-r--r--media-libs/libcdr/libcdr-9999.ebuild3
-rw-r--r--media-libs/libebur128/libebur128-1.2.3.ebuild1
-rw-r--r--media-libs/libebur128/libebur128-1.2.4.ebuild1
-rw-r--r--media-libs/libepoxy/libepoxy-1.5.3-r1.ebuild1
-rw-r--r--media-libs/libfreehand/libfreehand-0.1.2.ebuild1
-rw-r--r--media-libs/libfreehand/libfreehand-9999.ebuild1
-rw-r--r--media-libs/libheif/libheif-1.5.1.ebuild1
-rw-r--r--media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild3
-rw-r--r--media-libs/libmpdclient/libmpdclient-2.16.ebuild1
-rw-r--r--media-libs/libmygpo-qt/libmygpo-qt-1.1.0.ebuild3
-rw-r--r--media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild1
-rw-r--r--media-libs/liboggz/liboggz-1.1.1.ebuild1
-rw-r--r--media-libs/libopenraw/libopenraw-0.0.9.ebuild3
-rw-r--r--media-libs/libopenraw/libopenraw-0.1.2.ebuild3
-rw-r--r--media-libs/libopenraw/libopenraw-0.1.3.ebuild3
-rw-r--r--media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild1
-rw-r--r--media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild1
-rw-r--r--media-libs/libsndfile/libsndfile-1.0.29_pre2_p20191024.ebuild1
-rw-r--r--media-libs/libsndfile/libsndfile-9999.ebuild1
-rw-r--r--media-libs/libvisio/libvisio-0.1.7.ebuild1
-rw-r--r--media-libs/libvisio/libvisio-9999.ebuild1
-rw-r--r--media-libs/libvpx/libvpx-1.5.0.ebuild1
-rw-r--r--media-libs/libvpx/libvpx-1.6.0-r1.ebuild1
-rw-r--r--media-libs/libxspf/libxspf-1.2.0.ebuild3
-rw-r--r--media-libs/libyami/libyami-1.0.1.ebuild3
-rw-r--r--media-libs/libyami/libyami-1.1.0.ebuild3
-rw-r--r--media-libs/libyami/libyami-1.2.0.ebuild3
-rw-r--r--media-libs/libyami/libyami-1.3.0.ebuild3
-rw-r--r--media-libs/libyami/libyami-9999.ebuild3
-rw-r--r--media-libs/libzmf/libzmf-0.0.2.ebuild1
-rw-r--r--media-libs/libzmf/libzmf-9999.ebuild3
-rw-r--r--media-libs/lilv/lilv-0.24.4-r1.ebuild1
-rw-r--r--media-libs/musicbrainz/musicbrainz-5.1.0.ebuild1
-rw-r--r--media-libs/mutagen/mutagen-1.42.0.ebuild1
-rw-r--r--media-libs/openicc/openicc-0.1.0.ebuild1
-rw-r--r--media-libs/openjpeg/openjpeg-2.3.1.ebuild1
-rw-r--r--media-libs/raul/raul-0.8.0-r1.ebuild3
-rw-r--r--media-libs/skstream/skstream-0.3.9.ebuild3
-rw-r--r--media-libs/soxr/soxr-0.1.3-r1.ebuild1
-rw-r--r--media-libs/sratom/sratom-0.6.0-r1.ebuild1
-rw-r--r--media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild1
-rw-r--r--media-libs/tiff/tiff-4.0.10-r2.ebuild1
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.6.0.ebuild3
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.7.0.ebuild1
-rw-r--r--media-libs/virglrenderer/virglrenderer-9999.ebuild3
-rw-r--r--media-libs/x265/x265-2.8.ebuild3
-rw-r--r--media-libs/x265/x265-2.9.ebuild3
-rw-r--r--media-libs/x265/x265-3.0.ebuild1
-rw-r--r--media-libs/x265/x265-3.1.2.ebuild1
-rw-r--r--media-libs/x265/x265-3.1.ebuild1
-rw-r--r--media-libs/x265/x265-3.2.ebuild1
-rw-r--r--media-libs/x265/x265-9999.ebuild1
82 files changed, 104 insertions, 22 deletions
diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild b/media-libs/allegro/allegro-4.4.2-r2.ebuild
index 08dd7f1068c6..0387f700f4a8 100644
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Allegro MIT GPL-2+ ZLIB"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
+RESTRICT="!test? ( test )"
RDEPEND="
alsa? ( media-libs/alsa-lib )
diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild b/media-libs/allegro/allegro-5.2.5.0.ebuild
index 3ef0c0024763..be007eeb7fb5 100644
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD ZLIB"
SLOT="5"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio test truetype vorbis webp X xinerama"
+RESTRICT="!test? ( test )"
REQUIRED_USE="X? ( opengl )
xinerama? ( X )
diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild
index 8b392873a277..25b51776eced 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0/5"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test"
+RESTRICT="!test? ( test )"
RDEPEND="
ffmpeg? (
diff --git a/media-libs/aubio/aubio-0.4.8.ebuild b/media-libs/aubio/aubio-0.4.8.ebuild
index 3a1b634cdba2..e9f738ddd156 100644
--- a/media-libs/aubio/aubio-0.4.8.ebuild
+++ b/media-libs/aubio/aubio-0.4.8.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0/5"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test"
+RESTRICT="!test? ( test )"
RDEPEND="
ffmpeg? (
diff --git a/media-libs/aubio/aubio-0.4.9.ebuild b/media-libs/aubio/aubio-0.4.9.ebuild
index 1a8f50444b57..4ef488dd5591 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0/5"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test"
+RESTRICT="!test? ( test )"
RDEPEND="
ffmpeg? (
diff --git a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild
index 3c1b316b64a6..d424a7db8a4a 100644
--- a/media-libs/audiofile/audiofile-0.3.6-r3.ebuild
+++ b/media-libs/audiofile/audiofile-0.3.6-r3.ebuild
@@ -12,6 +12,7 @@ LICENSE="GPL-2 LGPL-2.1"
SLOT="0/1" # subslot = soname major version
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="flac static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="flac? ( >=media-libs/flac-1.2.1[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
diff --git a/media-libs/chromaprint/chromaprint-1.4.3.ebuild b/media-libs/chromaprint/chromaprint-1.4.3.ebuild
index 4b0533b5d9fe..943c2de4042b 100644
--- a/media-libs/chromaprint/chromaprint-1.4.3.ebuild
+++ b/media-libs/chromaprint/chromaprint-1.4.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-2.1"
SLOT="0/1"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="libav test tools"
+RESTRICT="!test? ( test )"
# note: use ffmpeg or libav instead of fftw because it's recommended and required for tools
RDEPEND="
diff --git a/media-libs/clutter/clutter-1.26.2-r1.ebuild b/media-libs/clutter/clutter-1.26.2-r1.ebuild
index 6727c1dea6c1..f29567c85508 100644
--- a/media-libs/clutter/clutter-1.26.2-r1.ebuild
+++ b/media-libs/clutter/clutter-1.26.2-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1+ FDL-1.1+"
SLOT="1.0"
IUSE="aqua debug doc egl gtk +introspection test wayland X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
|| ( aqua wayland X )
wayland? ( egl )
diff --git a/media-libs/exempi/exempi-2.4.5-r1.ebuild b/media-libs/exempi/exempi-2.4.5-r1.ebuild
index d5d4a561bd1a..b83321ccd228 100644
--- a/media-libs/exempi/exempi-2.4.5-r1.ebuild
+++ b/media-libs/exempi/exempi-2.4.5-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="2/3"
KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sh sparc x86"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/expat-2:=
diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild
index 69f41d061c59..d801cd9ce73f 100644
--- a/media-libs/gd/gd-2.2.5-r2.ebuild
+++ b/media-libs/gd/gd-2.2.5-r2.ebuild
@@ -17,6 +17,7 @@ LICENSE="gd IJG HPND BSD"
SLOT="2/3"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib"
+RESTRICT="!test? ( test )"
# fontconfig has prefixed font paths, details see bug #518970
REQUIRED_USE="prefix? ( fontconfig )"
diff --git a/media-libs/gegl/gegl-0.3.0.ebuild b/media-libs/gegl/gegl-0.3.0.ebuild
index a35131dde0e1..02a01d4a9de5 100644
--- a/media-libs/gegl/gegl-0.3.0.ebuild
+++ b/media-libs/gegl/gegl-0.3.0.ebuild
@@ -27,6 +27,7 @@ LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0.3"
IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg lcms lensfun libav openexr png raw sdl svg test umfpack vala v4l webp"
+RESTRICT="!test? ( test )"
REQUIRED_USE="vala? ( introspection )"
RDEPEND="
diff --git a/media-libs/gegl/gegl-0.3.34.ebuild b/media-libs/gegl/gegl-0.3.34.ebuild
index 730b532886d1..fead3e3c8ecf 100644
--- a/media-libs/gegl/gegl-0.3.34.ebuild
+++ b/media-libs/gegl/gegl-0.3.34.ebuild
@@ -25,6 +25,7 @@ LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0.3"
IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
svg? ( cairo )
vala? ( introspection )
diff --git a/media-libs/gegl/gegl-0.4.14.ebuild b/media-libs/gegl/gegl-0.4.14.ebuild
index b46050046a84..2e18c9d64d78 100644
--- a/media-libs/gegl/gegl-0.4.14.ebuild
+++ b/media-libs/gegl/gegl-0.4.14.ebuild
@@ -25,6 +25,7 @@ LICENSE="|| ( GPL-3+ LGPL-3 )"
SLOT="0.4"
IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection lcms lensfun libav openexr pdf raw sdl svg test tiff umfpack vala v4l webp zlib"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
svg? ( cairo )
vala? ( introspection )
diff --git a/media-libs/gegl/gegl-0.4.16.ebuild b/media-libs/gegl/gegl-0.4.16.ebuild
index 4bc55040bacd..6db995f70e12 100644
--- a/media-libs/gegl/gegl-0.4.16.ebuild
+++ b/media-libs/gegl/gegl-0.4.16.ebuild
@@ -25,6 +25,7 @@ LICENSE="|| ( GPL-3+ LGPL-3 )"
SLOT="0.4"
IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg introspection lcms lensfun libav openexr pdf raw sdl svg test tiff umfpack vala v4l webp zlib"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
svg? ( cairo )
vala? ( introspection )
diff --git a/media-libs/gnonlin/gnonlin-1.4.0-r1.ebuild b/media-libs/gnonlin/gnonlin-1.4.0-r1.ebuild
index 2215a4832a52..0b4743a7ada9 100644
--- a/media-libs/gnonlin/gnonlin-1.4.0-r1.ebuild
+++ b/media-libs/gnonlin/gnonlin-1.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ LICENSE="LGPL-2"
SLOT="1.0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.32:2
diff --git a/media-libs/graphene/graphene-1.8.6.ebuild b/media-libs/graphene/graphene-1.8.6.ebuild
index a26cbf1d93a6..4e09ce2ddb97 100644
--- a/media-libs/graphene/graphene-1.8.6.ebuild
+++ b/media-libs/graphene/graphene-1.8.6.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ia64 ppc ppc64 ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc +introspection test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.30.0:2[${MULTILIB_USEDEP}]
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild
index 5c4b7ba892eb..00ad98309663 100644
--- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
LICENSE="LGPL-2+"
KEYWORDS="amd64 x86"
IUSE="examples +introspection static-libs test"
+RESTRICT="!test? ( test )"
# gst-plugins-base for many used elements and API
# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.5.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.5.ebuild
index 5c4b7ba892eb..00ad98309663 100644
--- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.5.ebuild
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.5.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
LICENSE="LGPL-2+"
KEYWORDS="amd64 x86"
IUSE="examples +introspection static-libs test"
+RESTRICT="!test? ( test )"
# gst-plugins-base for many used elements and API
# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
diff --git a/media-libs/gstreamer/gstreamer-1.14.4.ebuild b/media-libs/gstreamer/gstreamer-1.14.4.ebuild
index eb241bc65fd9..4bcd587409bc 100644
--- a/media-libs/gstreamer/gstreamer-1.14.4.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.14.4.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+caps +introspection nls +orc test unwind"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
diff --git a/media-libs/gstreamer/gstreamer-1.14.5.ebuild b/media-libs/gstreamer/gstreamer-1.14.5.ebuild
index 77b712d69073..7f59947075bc 100644
--- a/media-libs/gstreamer/gstreamer-1.14.5.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.14.5.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+caps +introspection nls +orc test unwind"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
diff --git a/media-libs/harfbuzz/harfbuzz-2.6.1.ebuild b/media-libs/harfbuzz/harfbuzz-2.6.1.ebuild
index 87e7095493c9..37fe958e75fb 100644
--- a/media-libs/harfbuzz/harfbuzz-2.6.1.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-2.6.1.ebuild
@@ -22,6 +22,7 @@ LICENSE="Old-MIT ISC icu"
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
IUSE="+cairo debug +glib +graphite icu +introspection static-libs test +truetype"
+RESTRICT="!test? ( test )"
REQUIRED_USE="introspection? ( glib )"
RDEPEND="
diff --git a/media-libs/harfbuzz/harfbuzz-2.6.4.ebuild b/media-libs/harfbuzz/harfbuzz-2.6.4.ebuild
index b33017a19577..37dcf3fee8ac 100644
--- a/media-libs/harfbuzz/harfbuzz-2.6.4.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-2.6.4.ebuild
@@ -22,6 +22,7 @@ LICENSE="Old-MIT ISC icu"
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
IUSE="+cairo debug +glib +graphite icu +introspection static-libs test +truetype"
+RESTRICT="!test? ( test )"
REQUIRED_USE="introspection? ( glib )"
RDEPEND="
diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild
index 8f3d354b0b08..6a4bfdfcd95a 100644
--- a/media-libs/harfbuzz/harfbuzz-9999.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild
@@ -22,6 +22,7 @@ LICENSE="Old-MIT ISC icu"
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
IUSE="+cairo debug +glib +graphite icu +introspection static-libs test +truetype"
+RESTRICT="!test? ( test )"
REQUIRED_USE="introspection? ( glib )"
RDEPEND="
diff --git a/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild b/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild
index 287042a3e8c9..29f5067a4060 100644
--- a/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild
+++ b/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="AGPL-3"
SLOT="0/$(ver_cut 1-2)" #698428
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="png static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="
test? (
diff --git a/media-libs/lcms/lcms-2.9.ebuild b/media-libs/lcms/lcms-2.9.ebuild
index 3efc857b69ff..2e5a364daa0a 100644
--- a/media-libs/lcms/lcms-2.9.ebuild
+++ b/media-libs/lcms/lcms-2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="2"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc jpeg static-libs test +threads tiff"
+RESTRICT="!test? ( test )"
RDEPEND="
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
index 320f15307eb8..cc1d5dc2542c 100644
--- a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
+++ b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning.
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test"
+RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.40
diff --git a/media-libs/leptonica/leptonica-1.74.4.ebuild b/media-libs/leptonica/leptonica-1.74.4.ebuild
index b7780f8a88cf..65157c315747 100644
--- a/media-libs/leptonica/leptonica-1.74.4.ebuild
+++ b/media-libs/leptonica/leptonica-1.74.4.ebuild
@@ -12,6 +12,7 @@ LICENSE="Apache-2.0"
SLOT="0/5"
KEYWORDS="alpha amd64 arm arm64 ~mips ppc ppc64 ~sparc x86 ~ppc-macos"
IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
+RESTRICT="!test? ( test )"
# N.B. Tests need some features enabled:
REQUIRED_USE="test? ( jpeg png tiff zlib )"
diff --git a/media-libs/leptonica/leptonica-1.77.0.ebuild b/media-libs/leptonica/leptonica-1.77.0.ebuild
index 1e8f7a678d8b..12157b1bdd76 100644
--- a/media-libs/leptonica/leptonica-1.77.0.ebuild
+++ b/media-libs/leptonica/leptonica-1.77.0.ebuild
@@ -12,6 +12,7 @@ LICENSE="Apache-2.0"
SLOT="0/5"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
+RESTRICT="!test? ( test )"
# N.B. Tests need some features enabled:
REQUIRED_USE="test? ( jpeg png tiff zlib )"
diff --git a/media-libs/leptonica/leptonica-1.78.0.ebuild b/media-libs/leptonica/leptonica-1.78.0.ebuild
index 1e8f7a678d8b..12157b1bdd76 100644
--- a/media-libs/leptonica/leptonica-1.78.0.ebuild
+++ b/media-libs/leptonica/leptonica-1.78.0.ebuild
@@ -12,6 +12,7 @@ LICENSE="Apache-2.0"
SLOT="0/5"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
+RESTRICT="!test? ( test )"
# N.B. Tests need some features enabled:
REQUIRED_USE="test? ( jpeg png tiff zlib )"
diff --git a/media-libs/libcdr/libcdr-0.1.5.ebuild b/media-libs/libcdr/libcdr-0.1.5.ebuild
index 32f49593d6a9..88fd7662e04b 100644
--- a/media-libs/libcdr/libcdr-0.1.5.ebuild
+++ b/media-libs/libcdr/libcdr-0.1.5.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/icu:=
diff --git a/media-libs/libcdr/libcdr-9999.ebuild b/media-libs/libcdr/libcdr-9999.ebuild
index 091f92e616d7..723e5b807b62 100644
--- a/media-libs/libcdr/libcdr-9999.ebuild
+++ b/media-libs/libcdr/libcdr-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/icu:=
diff --git a/media-libs/libebur128/libebur128-1.2.3.ebuild b/media-libs/libebur128/libebur128-1.2.3.ebuild
index 6f67e6141e31..eebf2737fd23 100644
--- a/media-libs/libebur128/libebur128-1.2.3.ebuild
+++ b/media-libs/libebur128/libebur128-1.2.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0/1"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( app-arch/unzip
media-libs/libsndfile[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/libebur128/libebur128-1.2.4.ebuild b/media-libs/libebur128/libebur128-1.2.4.ebuild
index 8835cdcdd8c0..c4b92f343ee3 100644
--- a/media-libs/libebur128/libebur128-1.2.4.ebuild
+++ b/media-libs/libebur128/libebur128-1.2.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0/1"
KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( app-arch/unzip
media-libs/libsndfile[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/libepoxy/libepoxy-1.5.3-r1.ebuild b/media-libs/libepoxy/libepoxy-1.5.3-r1.ebuild
index ac36a7ad49c6..708bfd86c630 100644
--- a/media-libs/libepoxy/libepoxy-1.5.3-r1.ebuild
+++ b/media-libs/libepoxy/libepoxy-1.5.3-r1.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="+egl test +X"
+RESTRICT="!test? ( test )"
RDEPEND="egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )"
DEPEND="${PYTHON_DEPS}
diff --git a/media-libs/libfreehand/libfreehand-0.1.2.ebuild b/media-libs/libfreehand/libfreehand-0.1.2.ebuild
index ac35aa0e43ab..0caf03f8f057 100644
--- a/media-libs/libfreehand/libfreehand-0.1.2.ebuild
+++ b/media-libs/libfreehand/libfreehand-0.1.2.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
[[ ${PV} == 9999 ]] || \
KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/librevenge
diff --git a/media-libs/libfreehand/libfreehand-9999.ebuild b/media-libs/libfreehand/libfreehand-9999.ebuild
index b0b78cb0249e..37f65017def8 100644
--- a/media-libs/libfreehand/libfreehand-9999.ebuild
+++ b/media-libs/libfreehand/libfreehand-9999.ebuild
@@ -18,6 +18,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="
virtual/pkgconfig
diff --git a/media-libs/libheif/libheif-1.5.1.ebuild b/media-libs/libheif/libheif-1.5.1.ebuild
index 9ec9a7f716d2..e737b4ce1e4f 100644
--- a/media-libs/libheif/libheif-1.5.1.ebuild
+++ b/media-libs/libheif/libheif-1.5.1.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://github.com/strukturag/libheif"
LICENSE="GPL-3"
SLOT="0/1.5"
IUSE="static-libs test +threads"
+RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-lang/go )"
DEPEND="
diff --git a/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild b/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild
index 0a87c1961563..90120025c491 100644
--- a/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild
+++ b/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,6 +14,7 @@ LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="static-libs test utils"
+RESTRICT="!test? ( test )"
BDEPEND="
sys-apps/sed
diff --git a/media-libs/libmpdclient/libmpdclient-2.16.ebuild b/media-libs/libmpdclient/libmpdclient-2.16.ebuild
index e50c68a1fbc6..d38c034493f9 100644
--- a/media-libs/libmpdclient/libmpdclient-2.16.ebuild
+++ b/media-libs/libmpdclient/libmpdclient-2.16.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ppc ppc64 ~sparc x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/media-libs/libmygpo-qt/libmygpo-qt-1.1.0.ebuild b/media-libs/libmygpo-qt/libmygpo-qt-1.1.0.ebuild
index 5aae16cca567..a133bbbcecbc 100644
--- a/media-libs/libmygpo-qt/libmygpo-qt-1.1.0.ebuild
+++ b/media-libs/libmygpo-qt/libmygpo-qt-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -19,6 +19,7 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-qt/qtcore:5
diff --git a/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild b/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild
index 0074f5e52b91..2e6fa31892f0 100644
--- a/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild
+++ b/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
virtual/pkgconfig
diff --git a/media-libs/liboggz/liboggz-1.1.1.ebuild b/media-libs/liboggz/liboggz-1.1.1.ebuild
index 2e299bd0605c..83718e85ecd1 100644
--- a/media-libs/liboggz/liboggz-1.1.1.ebuild
+++ b/media-libs/liboggz/liboggz-1.1.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=media-libs/libogg-1.2.0"
DEPEND="${RDEPEND}
diff --git a/media-libs/libopenraw/libopenraw-0.0.9.ebuild b/media-libs/libopenraw/libopenraw-0.0.9.ebuild
index d741bde0c6b5..9d66873b178b 100644
--- a/media-libs/libopenraw/libopenraw-0.0.9.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.0.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="gtk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/jpeg:0
dev-libs/libxml2
diff --git a/media-libs/libopenraw/libopenraw-0.1.2.ebuild b/media-libs/libopenraw/libopenraw-0.1.2.ebuild
index e05da6d6a4e6..2c6336fcb1e7 100644
--- a/media-libs/libopenraw/libopenraw-0.1.2.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="GPL-3 LGPL-3"
SLOT="0/7"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="gtk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libxml2
diff --git a/media-libs/libopenraw/libopenraw-0.1.3.ebuild b/media-libs/libopenraw/libopenraw-0.1.3.ebuild
index f6574ac22c96..d3072df54c97 100644
--- a/media-libs/libopenraw/libopenraw-0.1.3.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="GPL-3 LGPL-3"
SLOT="0/7"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="gtk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libxml2
diff --git a/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild b/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
index 55cb7c62295b..e0d560596b94 100644
--- a/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
+++ b/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
@@ -17,6 +17,7 @@ LICENSE="GPL-3+"
SLOT="0/17"
KEYWORDS="amd64 x86"
IUSE="doc examples +imagemagick libav +python test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
diff --git a/media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild b/media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild
index b316eb15ff8a..e5bd250a8826 100644
--- a/media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild
+++ b/media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild
@@ -21,6 +21,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="alsa minimal sqlite static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/media-libs/libsndfile/libsndfile-1.0.29_pre2_p20191024.ebuild b/media-libs/libsndfile/libsndfile-1.0.29_pre2_p20191024.ebuild
index c4cf210ec2ce..7a297f49c677 100644
--- a/media-libs/libsndfile/libsndfile-1.0.29_pre2_p20191024.ebuild
+++ b/media-libs/libsndfile/libsndfile-1.0.29_pre2_p20191024.ebuild
@@ -17,6 +17,7 @@ HOMEPAGE="http://www.mega-nerd.com/libsndfile"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa minimal sqlite static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/media-libs/libsndfile/libsndfile-9999.ebuild b/media-libs/libsndfile/libsndfile-9999.ebuild
index d618e1668362..78bd34280491 100644
--- a/media-libs/libsndfile/libsndfile-9999.ebuild
+++ b/media-libs/libsndfile/libsndfile-9999.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="http://www.mega-nerd.com/libsndfile"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa minimal sqlite static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/media-libs/libvisio/libvisio-0.1.7.ebuild b/media-libs/libvisio/libvisio-0.1.7.ebuild
index 83b59cef84f4..4c75d052c916 100644
--- a/media-libs/libvisio/libvisio-0.1.7.ebuild
+++ b/media-libs/libvisio/libvisio-0.1.7.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
SLOT="0"
IUSE="doc static-libs test tools"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-lang/perl
diff --git a/media-libs/libvisio/libvisio-9999.ebuild b/media-libs/libvisio/libvisio-9999.ebuild
index e4147a14c125..1e677b234bae 100644
--- a/media-libs/libvisio/libvisio-9999.ebuild
+++ b/media-libs/libvisio/libvisio-9999.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
SLOT="0"
IUSE="doc static-libs test tools"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-lang/perl
diff --git a/media-libs/libvpx/libvpx-1.5.0.ebuild b/media-libs/libvpx/libvpx-1.5.0.ebuild
index a7deea01f3c9..700c5256f736 100644
--- a/media-libs/libvpx/libvpx-1.5.0.ebuild
+++ b/media-libs/libvpx/libvpx-1.5.0.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.webmproject.org"
LICENSE="BSD"
SLOT="0/3"
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 static-libs svc test +threads"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="abi_x86_32? ( dev-lang/yasm )
diff --git a/media-libs/libvpx/libvpx-1.6.0-r1.ebuild b/media-libs/libvpx/libvpx-1.6.0-r1.ebuild
index 79d68925dd81..4d34056abc3e 100644
--- a/media-libs/libvpx/libvpx-1.6.0-r1.ebuild
+++ b/media-libs/libvpx/libvpx-1.6.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0/4"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 +highbitdepth static-libs svc test +threads"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="abi_x86_32? ( dev-lang/yasm )
diff --git a/media-libs/libxspf/libxspf-1.2.0.ebuild b/media-libs/libxspf/libxspf-1.2.0.ebuild
index fa7f0ecfa6f8..14c675757897 100644
--- a/media-libs/libxspf/libxspf-1.2.0.ebuild
+++ b/media-libs/libxspf/libxspf-1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="BSD LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/expat-2
diff --git a/media-libs/libyami/libyami-1.0.1.ebuild b/media-libs/libyami/libyami-1.0.1.ebuild
index 4a72f11306d1..c794ddbb7383 100644
--- a/media-libs/libyami/libyami-1.0.1.ebuild
+++ b/media-libs/libyami/libyami-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,6 +26,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug dmabuf doc md5 v4l X test wayland"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
diff --git a/media-libs/libyami/libyami-1.1.0.ebuild b/media-libs/libyami/libyami-1.1.0.ebuild
index 61e906a3381d..72dd062364d1 100644
--- a/media-libs/libyami/libyami-1.1.0.ebuild
+++ b/media-libs/libyami/libyami-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,6 +26,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
diff --git a/media-libs/libyami/libyami-1.2.0.ebuild b/media-libs/libyami/libyami-1.2.0.ebuild
index fd902dd2fd96..0b6bd2f08c04 100644
--- a/media-libs/libyami/libyami-1.2.0.ebuild
+++ b/media-libs/libyami/libyami-1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,6 +25,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
diff --git a/media-libs/libyami/libyami-1.3.0.ebuild b/media-libs/libyami/libyami-1.3.0.ebuild
index 4df453a98755..ccd9e97aa740 100644
--- a/media-libs/libyami/libyami-1.3.0.ebuild
+++ b/media-libs/libyami/libyami-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,6 +26,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/libva-1.7.2:=[drm,X?,wayland?,${MULTILIB_USEDEP}]
diff --git a/media-libs/libyami/libyami-9999.ebuild b/media-libs/libyami/libyami-9999.ebuild
index 33937920eec0..be54eaa446bf 100644
--- a/media-libs/libyami/libyami-9999.ebuild
+++ b/media-libs/libyami/libyami-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,6 +26,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug egl dmabuf doc md5 v4l X test wayland"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/libva-1.7.2:=[drm,X?,wayland?,${MULTILIB_USEDEP}]
diff --git a/media-libs/libzmf/libzmf-0.0.2.ebuild b/media-libs/libzmf/libzmf-0.0.2.ebuild
index bd353a89f5fe..a2d9bddf410b 100644
--- a/media-libs/libzmf/libzmf-0.0.2.ebuild
+++ b/media-libs/libzmf/libzmf-0.0.2.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc ppc64 x86"
IUSE="debug doc test tools"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/icu:=
diff --git a/media-libs/libzmf/libzmf-9999.ebuild b/media-libs/libzmf/libzmf-9999.ebuild
index 029727cdcae1..f58ce3535bde 100644
--- a/media-libs/libzmf/libzmf-9999.ebuild
+++ b/media-libs/libzmf/libzmf-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="debug doc test tools"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/icu:=
diff --git a/media-libs/lilv/lilv-0.24.4-r1.ebuild b/media-libs/lilv/lilv-0.24.4-r1.ebuild
index 7c05d945b149..e94612339761 100644
--- a/media-libs/lilv/lilv-0.24.4-r1.ebuild
+++ b/media-libs/lilv/lilv-0.24.4-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="doc +dyn-manifest static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/serd-0.28.0-r1[${MULTILIB_USEDEP}]
diff --git a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild
index 9ea4846387ed..ea6694fb386f 100644
--- a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild
+++ b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="5/1" # soname of libmusicbrainz5.so
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libxml2
diff --git a/media-libs/mutagen/mutagen-1.42.0.ebuild b/media-libs/mutagen/mutagen-1.42.0.ebuild
index 9ecfb4a7f3dd..e5926fd19733 100644
--- a/media-libs/mutagen/mutagen-1.42.0.ebuild
+++ b/media-libs/mutagen/mutagen-1.42.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# TODO: Missing support for >=dev-python/eyeD3-0.7 API
# test? ( >=dev-python/eyeD3-0.7 )
diff --git a/media-libs/openicc/openicc-0.1.0.ebuild b/media-libs/openicc/openicc-0.1.0.ebuild
index b1a307e6ee25..a3bda95e3ab8 100644
--- a/media-libs/openicc/openicc-0.1.0.ebuild
+++ b/media-libs/openicc/openicc-0.1.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="
sys-devel/gettext
diff --git a/media-libs/openjpeg/openjpeg-2.3.1.ebuild b/media-libs/openjpeg/openjpeg-2.3.1.ebuild
index 041bd067b459..ff710267180c 100644
--- a/media-libs/openjpeg/openjpeg-2.3.1.ebuild
+++ b/media-libs/openjpeg/openjpeg-2.3.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD-2"
SLOT="2/7" # based on SONAME
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
media-libs/lcms:2
diff --git a/media-libs/raul/raul-0.8.0-r1.ebuild b/media-libs/raul/raul-0.8.0-r1.ebuild
index 6677b4b654cd..9989f107c4ff 100644
--- a/media-libs/raul/raul-0.8.0-r1.ebuild
+++ b/media-libs/raul/raul-0.8.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost
>=dev-libs/glib-2.14.0"
diff --git a/media-libs/skstream/skstream-0.3.9.ebuild b/media-libs/skstream/skstream-0.3.9.ebuild
index f4dc2d81af1a..37ecfd729421 100644
--- a/media-libs/skstream/skstream-0.3.9.ebuild
+++ b/media-libs/skstream/skstream-0.3.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-util/cppunit )"
RDEPEND=""
diff --git a/media-libs/soxr/soxr-0.1.3-r1.ebuild b/media-libs/soxr/soxr-0.1.3-r1.ebuild
index 47113162620d..7711f8f83af3 100644
--- a/media-libs/soxr/soxr-0.1.3-r1.ebuild
+++ b/media-libs/soxr/soxr-0.1.3-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# CMakeLists.txt builds examples if either test or examples USE flag is enabled.
REQUIRED_USE="test? ( examples )"
diff --git a/media-libs/sratom/sratom-0.6.0-r1.ebuild b/media-libs/sratom/sratom-0.6.0-r1.ebuild
index 2e3ea8e2b561..2d1ccb39a811 100644
--- a/media-libs/sratom/sratom-0.6.0-r1.ebuild
+++ b/media-libs/sratom/sratom-0.6.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=media-libs/lv2-1.14.0-r1
>=dev-libs/serd-0.28.0-r1
diff --git a/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild b/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
index e9ddd8ac7e48..5cac4484ce05 100644
--- a/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
+++ b/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1 MPL-1.1"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
SLOT="0"
IUSE="debug examples test"
+RESTRICT="!test? ( test )"
BDEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
diff --git a/media-libs/tiff/tiff-4.0.10-r2.ebuild b/media-libs/tiff/tiff-4.0.10-r2.ebuild
index c2da1f35e406..62ed2cd031b9 100644
--- a/media-libs/tiff/tiff-4.0.10-r2.ebuild
+++ b/media-libs/tiff/tiff-4.0.10-r2.ebuild
@@ -13,6 +13,7 @@ LICENSE="libtiff"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+cxx jbig jpeg lzma static-libs test webp zlib zstd"
+RESTRICT="!test? ( test )"
RDEPEND="
jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
diff --git a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
index af3aef6b8619..76de6a8b81b0 100644
--- a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -19,6 +19,7 @@ HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=x11-libs/libdrm-2.4.50
media-libs/libepoxy"
diff --git a/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild
index c4890aad262b..f8b6f0251918 100644
--- a/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=x11-libs/libdrm-2.4.50
media-libs/libepoxy"
diff --git a/media-libs/virglrenderer/virglrenderer-9999.ebuild b/media-libs/virglrenderer/virglrenderer-9999.ebuild
index ec9ae2bd798a..bbd38bf8dbdf 100644
--- a/media-libs/virglrenderer/virglrenderer-9999.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -19,6 +19,7 @@ HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=x11-libs/libdrm-2.4.50
media-libs/libepoxy"
diff --git a/media-libs/x265/x265-2.8.ebuild b/media-libs/x265/x265-2.8.ebuild
index c60b19162d5f..6bd37642a5be 100644
--- a/media-libs/x265/x265-2.8.ebuild
+++ b/media-libs/x265/x265-2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/160"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-2.9.ebuild b/media-libs/x265/x265-2.9.ebuild
index 38316ce55ea2..5f28b491babf 100644
--- a/media-libs/x265/x265-2.9.ebuild
+++ b/media-libs/x265/x265-2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/165"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-3.0.ebuild b/media-libs/x265/x265-3.0.ebuild
index d2632fb2a57a..2d1942d399d2 100644
--- a/media-libs/x265/x265-3.0.ebuild
+++ b/media-libs/x265/x265-3.0.ebuild
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/169"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-3.1.2.ebuild b/media-libs/x265/x265-3.1.2.ebuild
index 599c13412516..71303686d68a 100644
--- a/media-libs/x265/x265-3.1.2.ebuild
+++ b/media-libs/x265/x265-3.1.2.ebuild
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/176"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-3.1.ebuild b/media-libs/x265/x265-3.1.ebuild
index 599c13412516..71303686d68a 100644
--- a/media-libs/x265/x265-3.1.ebuild
+++ b/media-libs/x265/x265-3.1.ebuild
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/176"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-3.2.ebuild b/media-libs/x265/x265-3.2.ebuild
index a020423d9d59..b1d719a14b6c 100644
--- a/media-libs/x265/x265-3.2.ebuild
+++ b/media-libs/x265/x265-3.2.ebuild
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/179"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild
index e946da2c3db5..d5d064525690 100644
--- a/media-libs/x265/x265-9999.ebuild
+++ b/media-libs/x265/x265-9999.ebuild
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
# subslot = libx265 soname
SLOT="0/180"
IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test"
+RESTRICT="!test? ( test )"
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )"