diff options
author | Michael Weber <xmw@gentoo.org> | 2017-01-26 00:05:10 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-01-26 00:06:03 +0100 |
commit | 72dcdb6145bfd121401bd6b49d09583f8906927c (patch) | |
tree | bc391b7c3f458335aa3db14bb1c4d46482874caf | |
parent | games-action/orbital-eunuchs-sniper: remove deprecated games eclass (diff) | |
download | gentoo-72dcdb6145bfd121401bd6b49d09583f8906927c.tar.gz gentoo-72dcdb6145bfd121401bd6b49d09583f8906927c.tar.bz2 gentoo-72dcdb6145bfd121401bd6b49d09583f8906927c.zip |
x11-wm/xpra: Add USE=webcam.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | x11-wm/xpra/metadata.xml | 1 | ||||
-rw-r--r-- | x11-wm/xpra/xpra-1.0.1.ebuild | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-wm/xpra/metadata.xml b/x11-wm/xpra/metadata.xml index 60f9071b5617..1554d1e1109a 100644 --- a/x11-wm/xpra/metadata.xml +++ b/x11-wm/xpra/metadata.xml @@ -20,5 +20,6 @@ <flag name="vpx">Enable vpx image format support</flag> <flag name="webp">Enable webp image format support</flag> <flag name="x265">Enable x265 support</flag> + <flag name="webcam">Enable webcam support via opencv</flag> </use> </pkgmetadata> diff --git a/x11-wm/xpra/xpra-1.0.1.ebuild b/x11-wm/xpra/xpra-1.0.1.ebuild index 70cd3536dec3..6d66ba306c5c 100644 --- a/x11-wm/xpra/xpra-1.0.1.ebuild +++ b/x11-wm/xpra/xpra-1.0.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://xpra.org/src/${P}.tar.xz" LICENSE="GPL-2 BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dec_av2 libav lz4 lzo opengl pulseaudio server sound vpx webp x264 x265" +IUSE="+client +clipboard csc cups dec_av2 libav lz4 lzo opengl pulseaudio server sound vpx webcam webp x264 x265" REQUIRED_USE="${PYTHON_REQUIRED_USE} clipboard? ( || ( server client ) ) @@ -75,7 +75,9 @@ RDEPEND="${COMMON_DEPEND} server? ( x11-base/xorg-server[-minimal,xvfb] x11-drivers/xf86-input-void x11-drivers/xf86-video-dummy - )" + ) + webcam? ( media-libs/opencv[python] + dev-python/pyinotify[${PYTHON_USEDEP}] )" DEPEND="${COMMON_DEPEND} virtual/pkgconfig >=dev-python/cython-0.16[${PYTHON_USEDEP}]" @@ -115,6 +117,7 @@ python_configure_all() { $(use_with webp) $(use_with x264 enc_x264) $(use_with x265 enc_x265) + $(use_with webcam) --with-Xdummy --with-gtk2 --without-gtk3 |