summaryrefslogtreecommitdiff
path: root/x11-wm/xpra
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 /x11-wm/xpra
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/xpra')
-rw-r--r--x11-wm/xpra/Manifest17
-rw-r--r--x11-wm/xpra/files/xpra-0.13.1-ignore-gentoo-no-compile.patch11
-rw-r--r--x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch11
-rw-r--r--x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch11
-rw-r--r--x11-wm/xpra/files/xpra-2.0-suid-warning.patch11
-rw-r--r--x11-wm/xpra/metadata.xml26
-rw-r--r--x11-wm/xpra/xpra-1.0.6.ebuild143
-rw-r--r--x11-wm/xpra/xpra-1.0.7.ebuild143
-rw-r--r--x11-wm/xpra/xpra-2.0.2.ebuild143
-rw-r--r--x11-wm/xpra/xpra-2.0.3.ebuild143
-rw-r--r--x11-wm/xpra/xpra-2.1.1.ebuild142
11 files changed, 801 insertions, 0 deletions
diff --git a/x11-wm/xpra/Manifest b/x11-wm/xpra/Manifest
new file mode 100644
index 000000000000..780d1e2b29ac
--- /dev/null
+++ b/x11-wm/xpra/Manifest
@@ -0,0 +1,17 @@
+AUX xpra-0.13.1-ignore-gentoo-no-compile.patch 485 SHA256 9cf251f53cc13fc79875928717266a27ee63e61e23331eae4912b21e77242ba5 SHA512 244d6aaa805ef0f99238a0f1ff592efc9fda9d7c3898c0e3ff8a40bfb2d27597737e941b90d1d86c794a50dc61ade8862a4be97ef4938005b0f918565dc7abe9 WHIRLPOOL 101acd539e76d7d036e361c6d1c6af86bacd37c271f01d101efa5fe1fec57c7b2b6106c76a79e6ec6acfab5999837995f17faaf4874b01a906c20050332f3848
+AUX xpra-0.17.4-deprecated-avcodec.patch 552 SHA256 454133124a314d90151b398d5196053b06da6d6f875dbbfe822dd106cb5673be SHA512 9b703001634916516a82cf1a72ec9bdcb626269a5b17daa93964cb204d351986184c6597c6fc0801061bf8856f8811a68eddfe9fed331dd108d9d692f5e153fe WHIRLPOOL 5f90936face3d31abfe90b32708a26fd976ddff0eea4d40ec5f445f979118e2f3fd13dcaa1c75d877a9b077b08285b1a903a136581d6ff2b5b913757905b81e7
+AUX xpra-1.0.4-suid-warning.patch 653 SHA256 a742985c45fcbf119e895c36db04e84f9de16e0a1d9911df749e1ce63a17fd83 SHA512 1b12b309eba08914af59017b6f3a76f743a27cea13bee9d17d2c73334d8c762fc1c8459f32783275eed1d0de83f571a4104cf0bfc3a334d4ff09ee873458ec9c WHIRLPOOL cad433f9bbd82a5c8610fe951e4e4f0b8345f6d8ce3243f8c1fc31a8d2c80fecfcadf9d05cfca74d173eabcd51bbf062de61db48d609468ef591aa600f621592
+AUX xpra-2.0-suid-warning.patch 617 SHA256 1fe6d02ac4a9e9b5f31775a6bd29b1fc0e88e5a74a2b19594535d8feeaa522c8 SHA512 f0d69a6e57435d6c9ef1ecb10e9fa6916b2a8b11f5979b7dffcc37c0a8ec387306b651d50ca3fe10a489cb28f6c2384fbe578510bd7f9bc7a51249e66c4d17ab WHIRLPOOL 0e0a70a2a42d8bd624300eaa574014502c602410a80688660fe594b9cc2390893a9501c9984b11bc340de19e50be856b5bdab3276446cd5cb2632ee5b098a2f5
+DIST xpra-1.0.6.tar.xz 1892736 SHA256 2ba9212333ee5dc437955ce95d15eb8a9713cf4881914b1d2fe30b1fce188c2d SHA512 d99cceca56c226f8d52d3992e790337fa9e785671c6e2ae00f119492df402c350218bb7c60e1ecd8ccd02e379d59e99bb5601bd35d433095d4a04024ec0f99b4 WHIRLPOOL 6380e2748db3aeaf532e30b70e1956036823f505540c4339a62e0576f8ff108cd5e8f33631dedfdcd5b6d01695e9f2bd11c6287485ecb1c8f0c659073002bfbb
+DIST xpra-1.0.7.tar.xz 1895052 SHA256 179653f29deccf943c55dfe2f04375bdd747258d72fdc7a44f643ec588ce429f SHA512 a02f4afea4dae845f8ab3456270773361d6ab4bfd76c1a8b3cbda42e2df2eaffd5cadd2a1ef7871f0efc485f294eb1c000553531a3fe2f2f87f09623a628814e WHIRLPOOL 1f3e1fb71e32ff2f49caf290e5bed2901b5eeb0ebf7f90ee87dcbdacf3cf0f94da31d1e6d183c7ebfacea697f80ffcd3d3c1f7c4cef7be7fa8f08549e0b7c350
+DIST xpra-2.0.2.tar.xz 1926876 SHA256 4341bb6652d6e7784dddc02c63a634019c782332e9af1c08f4b8ec24f57a1f26 SHA512 4b36cf9cf96f094011412214368bc452ed597f1927f6488d6856ad80b575d7f37273cf49b8682fdbc137cf581d5a88b17a9241d508278e45e48f9451ba628b68 WHIRLPOOL d8919e8b9d40539a1c59dba2b1455924f276e5233e3674fd756e833c6bf2a132a5a27c9686cabdff2f4dc05b616245cdf0d06ce215ceb615c7c4c04861cfc41a
+DIST xpra-2.0.3.tar.xz 1928296 SHA256 caa97630b40de8e144328e80d002f3521acbc252ab17dc0bdcd1512ddf9a55b8 SHA512 25d8c5956462bd286c96a70b8f8fa8e9e75cfa27ec65438d72c0f6846b6ba7e5b61c3079ed6c663153d4abab0dddff906d6c22b40f97b77cc81728441798891e WHIRLPOOL 0017ab8f8f6db944bbc9ef8900c51ac5a78f4e935de36b4f1cc1a3cc7fd1871bbebe79bc713eb647fb4dc7811a8dd0a2243795438d1984b8f19922e41f1e3043
+DIST xpra-2.1.1.tar.xz 2065280 SHA256 0777e8b4bb7efc2cf5dae1424f6c8383dc5ea377de415b3895d776a7606bed39 SHA512 913c6952b12bdc01ef8cbbb62b05cfc9bd564b6d425f7edd2448bc3bfbdd9dc0bf9a890b1c85d3e39c387468b9738de7de4336e80b4e715856746197e1e93b20 WHIRLPOOL 72bf5405deb2fed5612d5126f7717d54273a64bdbd3f6c1e99737a9aee023c8d606508976f872a16ee91c4065a90f7aec6ed187110084e4a332a7dac512aaa45
+EBUILD xpra-1.0.6.ebuild 3954 SHA256 eb3cb06eddeabe7f7767d7609567d1a337a6820262123cffd7670ca454f5ae71 SHA512 adfc00b39fa458b1a178d723ff589f151a488c97ed4a35dd834d6beb3d8334150dce2cf59c189a6d6fe75d0117ea34d641560c14f0ca75c41b8c42396dc45ccc WHIRLPOOL 4654cbd59ffc653321dfeed840968e807387b218fc5881460c0fc80c0d9638f085c68048c13526eeb9355c5963027749e5126b9bf3959497a90de7eaf78e3f8d
+EBUILD xpra-1.0.7.ebuild 3956 SHA256 cceedf16be132df366cb3e9b7ff418725acd1d35991847579d17f14927c3d4c7 SHA512 063e353fd1964b82dd3f2f462993a1d2fd27b696068b3c90cbf8b84f7841f3b9318c4388202283d0eaba715b4775105ceea0998019442b83e3d4d0eddfbf9a9d WHIRLPOOL a65bb0ec351c43aab853b0f068c3df84dd13d6fcaafb314c8ad5abb705aedacb0d0aa3f6f1f5b2b8f4649e76d6d64046a37aaa645f660bc6a11d0db72211099f
+EBUILD xpra-2.0.2.ebuild 3940 SHA256 9567d49581d941ca4a574f17de872820caec63eb3cd739c105223693e4abc3ac SHA512 de48c1d149d6aed26a4bfa9609b25de384a67ff65e24340a1091f10d6a07ce98d33acdcca18ec7ef5e915154a06f33e4f7bd73f91b3bf179c235ed52a0d792a7 WHIRLPOOL 67ecd2b52fda69aabe36d3b4f1a1c3eadc191186b56023b952c686c1687e61994ecca3f7e816f5817362fc2835180de1dad9ebb96c2631a10701420f98312f21
+EBUILD xpra-2.0.3.ebuild 3942 SHA256 e8e8ed0575b235ecc0cf16151ef91c6d5a1cb0e9865eada76bf5463b52a0240f SHA512 a76f95359f16f0960b3d90d15761ccfe9981d339558f482bafdc696e1f6af5a5c7c601dc9a931c3f47092d5683c240084255fee324ef2dfb5e47cf4fb805c68c WHIRLPOOL b4fd2205ee29554804a0c4e387ae6e0c257d1d719e0c68162bd17089a05191a41e82747551b603cc7c9764cc942e81d32d70b3393e99e2e9507a413ca7066f10
+EBUILD xpra-2.1.1.ebuild 3889 SHA256 feff46dc4ce9ba8cb6c8a7e72e12b5051a7d241c67eed8353dd532cc38c3aa27 SHA512 04f5b8970fa310de05c6df23236108c4b0bb967b52152962a4e722f0f38ef32ec20fde590a72c9c81604739d0d7182340c8c6213a1d76a2ed0b037999cf93e26 WHIRLPOOL 21b4ed025771e3631b712a863eb4e2ce7ef7050222153fcdc6470a3dc71c6ea8b6f03dd31d80e89a821b2eccbc1f0f816007ae9c32b00ceeb374c5ea4f23a134
+MISC ChangeLog 7851 SHA256 d879f5c64db889ffd26d096a246fbb369380e416f950f09d69c3dd6036912787 SHA512 11ef7c5ad5f45b25c9b7f85642001393b4158a9559cb2f322c977ebf4edbdbe5b7d81bbeb53712425f4b66d00dfe5142e332c969a210458ae466d385499c7d31 WHIRLPOOL 4d50dccb842117b5f5557aadecef5f590add65559dd7ca2577e5508b2f9505e9f455d2798196363cbdbbce73488b379a97f377699cd93abff42387078efed64a
+MISC ChangeLog-2015 18339 SHA256 152c89568570fe3359c454a085bea9eb60bb5897421489123e519d04a0c4918b SHA512 06dc268b20994bba588a79b556e679e8148309fd1372112842cd14e366b7fefb3b8d78b93215f4ef8378c64b3bc64235d9d0b669e7983ca975e188153b393b4b WHIRLPOOL cda35b926e6422e56dc7c05c6a3104e0ff1660d726e6749228da4855c824e7ad1391a549441491effaa4bda8e38faad9d9b5167da8e4ce017c6d8453f2efbeda
+MISC metadata.xml 1087 SHA256 9919eb748d3a03ca324de2aa8490ab0a887dc07f777d12049a6acffd7b1ac317 SHA512 8bf4ba96000fdf8b0c66d655194d4e5bf2f41f3e06754a7411cf5dc9c130d80519419cad73fff69418d01ae59db07b15aa96acd4ec4581958c22572abec6031c WHIRLPOOL b6b85c9fe80e12a4af318f5a31b6f3c41c79194df5b5b4bc9bb41834b1bcdfecf2e410b5001c62afdd6476c6ee3c8857e09674e3ad46b751b1e9d4a049475ef9
diff --git a/x11-wm/xpra/files/xpra-0.13.1-ignore-gentoo-no-compile.patch b/x11-wm/xpra/files/xpra-0.13.1-ignore-gentoo-no-compile.patch
new file mode 100644
index 000000000000..9c580a513557
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-0.13.1-ignore-gentoo-no-compile.patch
@@ -0,0 +1,11 @@
+--- xpra-0.13.1/setup.py
++++ xpra-0.13.1/setup.py
+@@ -395,7 +395,7 @@
+ #then expects to find the cython modules!? ie:
+ #python2.7 setup.py build -b build-2.7 install --no-compile --root=/var/tmp/portage/x11-wm/xpra-0.7.0/temp/images/2.7
+ if "--no-compile" in sys.argv and not ("build" in sys.argv and "install" in sys.argv):
+- return
++ pass
+ cython_version_check(min_version)
+ from Cython.Distutils import build_ext
+ ext_modules.append(extension)
diff --git a/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch b/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch
new file mode 100644
index 000000000000..13bd4be892d5
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch
@@ -0,0 +1,11 @@
+--- xpra-0.17.4/setup.py
++++ xpra-0.17.4/setup.py
+@@ -660,7 +660,7 @@
+ "-Wno-unused-function",
+ "-Wno-sometimes-uninitialized"]
+ elif get_gcc_version()>=[4, 4]:
+- eifd = ["-Werror",
++ eifd = ["-Werror", "-Wno-error=deprecated-declarations",
+ #CentOS 6.x gives us some invalid warnings in nvenc, ignore those:
+ #"-Wno-error=uninitialized",
+ #needed on Debian and Ubuntu to avoid this error:
diff --git a/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch b/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch
new file mode 100644
index 000000000000..9af267cb4505
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch
@@ -0,0 +1,11 @@
+--- xpra-1.0.4/xpra/scripts/config.py
++++ xpra-1.0.4/xpra/scripts/config.py
+@@ -130,7 +130,7 @@
+ xorg_stat = os.stat(xorg_bin)
+ if (xorg_stat.st_mode & stat.S_ISUID)!=0:
+ if (xorg_stat.st_mode & stat.S_IROTH)==0:
+- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
++ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+ return get_Xvfb_command()
+ debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
+ use_wrapper = True
diff --git a/x11-wm/xpra/files/xpra-2.0-suid-warning.patch b/x11-wm/xpra/files/xpra-2.0-suid-warning.patch
new file mode 100644
index 000000000000..806694f24312
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-2.0-suid-warning.patch
@@ -0,0 +1,11 @@
+--- xpra-2.0/xpra/scripts/config.py
++++ xpra-2.0/xpra/scripts/config.py
+@@ -127,7 +127,7 @@
+ xorg_stat = os.stat(xorg_bin)
+ if (xorg_stat.st_mode & stat.S_ISUID)!=0:
+ if (xorg_stat.st_mode & stat.S_IROTH)==0:
+- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
++ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+ return get_Xvfb_command()
+ debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
+ use_wrapper = True
diff --git a/x11-wm/xpra/metadata.xml b/x11-wm/xpra/metadata.xml
new file mode 100644
index 000000000000..4e1ba55af217
--- /dev/null
+++ b/x11-wm/xpra/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+</maintainer>
+<upstream>
+ <bugs-to>https://www.xpra.org/trac/report</bugs-to>
+</upstream>
+<use>
+ <flag name="client">Build client-side code</flag>
+ <flag name="clipboard">Enable clipboard support</flag>
+ <flag name="csc">Enable csc softscaler support</flag>
+ <flag name="dec_avcodec2">Enable avcodec2 decoder support</flag>
+ <flag name="enc_ffmpeg">Enable advanced ffmpeg/libav encoder support</flag>
+ <flag name="enc_x264">Enable x264 encoder support</flag>
+ <flag name="enc_x265">Enable x265 encoder support</flag>
+ <flag name="lz4">Enable support for lz4 compression</flag>
+ <flag name="pillow">Enable pillow support</flag>
+ <flag name="server">Build server-side code</flag>
+ <flag name="vpx">Enable vpx image format support</flag>
+ <flag name="webp">Enable webp image format support</flag>
+ <flag name="webcam">Enable webcam support via opencv</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-wm/xpra/xpra-1.0.6.ebuild b/x11-wm/xpra/xpra-1.0.6.ebuild
new file mode 100644
index 000000000000..39eccb30ba88
--- /dev/null
+++ b/x11-wm/xpra/xpra-1.0.6.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3, and setup.py not python3.2 compat
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
+
+DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
+HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
+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 dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ clipboard? ( || ( server client ) )
+ cups? ( dbus )
+ opengl? ( client )
+ || ( client server )
+ client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )"
+
+COMMON_DEPEND=""${PYTHON_DEPS}"
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ csc? (
+ !libav? ( >=media-video/ffmpeg-1.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ dec_avcodec2? (
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_ffmpeg? (
+ !libav? ( >=media-video/ffmpeg-3.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x264? ( media-libs/x264
+ !libav? ( >=media-video/ffmpeg-1.0.4:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x265? ( media-libs/x265
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ opengl? ( dev-python/pygtkglext )
+ pulseaudio? ( media-sound/pulseaudio )
+ sound? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ dev-python/gst-python:1.0 )
+ vpx? ( media-libs/libvpx virtual/ffmpeg )
+ webp? ( media-libs/libwebp )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/rencode[${PYTHON_USEDEP}]
+ virtual/ssh
+ x11-apps/xmodmap
+ cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
+ lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
+ opengl? (
+ client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
+ )
+ pillow? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ server? ( x11-base/xorg-server[-minimal,xvfb]
+ x11-drivers/xf86-input-void
+ )
+ webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/opencv[python]
+ dev-python/pyinotify[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+ "${FILESDIR}"/${PN}-1.0.4-suid-warning.patch )
+
+pkg_postinst() {
+ enewgroup ${PN}
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
+}
+
+python_prepare_all() {
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+ -i tmpfiles.d/xpra.conf
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ sed -e "/'pulseaudio'/s:not OSX and not WIN32:$(usex pulseaudio True False):" \
+ -i setup.py || die
+
+ mydistutilsargs=(
+ --without-PIC
+ --without-Xdummy
+ $(use_with client)
+ $(use_with clipboard)
+ $(use_with csc csc_swscale)
+ $(use_with cups printing)
+ --without-debug
+ $(use_with dbus)
+ $(use_with dec_avcodec2)
+ $(use_with enc_ffmpeg)
+ $(use_with enc_x264)
+ $(use_with enc_x265)
+ --with-gtk2
+ --without-gtk3
+ --without-html5
+ --without-mdns
+ --without-minify
+ $(use_with opengl)
+ $(use_with server shadow)
+ $(use_with server)
+ $(use_with sound)
+ --with-strict
+ $(use_with vpx)
+ --with-warn
+ $(use_with webcam)
+ $(use_with webp)
+ --with-x11
+ )
+
+ # see https://www.xpra.org/trac/ticket/1080
+ # and http://trac.cython.org/ticket/395
+ append-cflags -fno-strict-aliasing
+
+ export XPRA_SOCKET_DIRS="${EROOT}run/xpra"
+}
diff --git a/x11-wm/xpra/xpra-1.0.7.ebuild b/x11-wm/xpra/xpra-1.0.7.ebuild
new file mode 100644
index 000000000000..2aa260c03d6b
--- /dev/null
+++ b/x11-wm/xpra/xpra-1.0.7.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3, and setup.py not python3.2 compat
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
+
+DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
+HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
+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 dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ clipboard? ( || ( server client ) )
+ cups? ( dbus )
+ opengl? ( client )
+ || ( client server )
+ client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )"
+
+COMMON_DEPEND=""${PYTHON_DEPS}"
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ csc? (
+ !libav? ( >=media-video/ffmpeg-1.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ dec_avcodec2? (
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_ffmpeg? (
+ !libav? ( >=media-video/ffmpeg-3.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x264? ( media-libs/x264
+ !libav? ( >=media-video/ffmpeg-1.0.4:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x265? ( media-libs/x265
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ opengl? ( dev-python/pygtkglext )
+ pulseaudio? ( media-sound/pulseaudio )
+ sound? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ dev-python/gst-python:1.0 )
+ vpx? ( media-libs/libvpx virtual/ffmpeg )
+ webp? ( media-libs/libwebp )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/rencode[${PYTHON_USEDEP}]
+ virtual/ssh
+ x11-apps/xmodmap
+ cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
+ lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
+ opengl? (
+ client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
+ )
+ pillow? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ server? ( x11-base/xorg-server[-minimal,xvfb]
+ x11-drivers/xf86-input-void
+ )
+ webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/opencv[python]
+ dev-python/pyinotify[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+ "${FILESDIR}"/${PN}-1.0.4-suid-warning.patch )
+
+pkg_postinst() {
+ enewgroup ${PN}
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
+}
+
+python_prepare_all() {
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+ -i tmpfiles.d/xpra.conf
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ sed -e "/'pulseaudio'/s:not OSX and not WIN32:$(usex pulseaudio True False):" \
+ -i setup.py || die
+
+ mydistutilsargs=(
+ --without-PIC
+ --without-Xdummy
+ $(use_with client)
+ $(use_with clipboard)
+ $(use_with csc csc_swscale)
+ $(use_with cups printing)
+ --without-debug
+ $(use_with dbus)
+ $(use_with dec_avcodec2)
+ $(use_with enc_ffmpeg)
+ $(use_with enc_x264)
+ $(use_with enc_x265)
+ --with-gtk2
+ --without-gtk3
+ --without-html5
+ --without-mdns
+ --without-minify
+ $(use_with opengl)
+ $(use_with server shadow)
+ $(use_with server)
+ $(use_with sound)
+ --with-strict
+ $(use_with vpx)
+ --with-warn
+ $(use_with webcam)
+ $(use_with webp)
+ --with-x11
+ )
+
+ # see https://www.xpra.org/trac/ticket/1080
+ # and http://trac.cython.org/ticket/395
+ append-cflags -fno-strict-aliasing
+
+ export XPRA_SOCKET_DIRS="${EROOT}run/xpra"
+}
diff --git a/x11-wm/xpra/xpra-2.0.2.ebuild b/x11-wm/xpra/xpra-2.0.2.ebuild
new file mode 100644
index 000000000000..5ab67f9e277e
--- /dev/null
+++ b/x11-wm/xpra/xpra-2.0.2.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
+
+DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
+HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
+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 dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ clipboard? ( || ( server client ) )
+ cups? ( dbus )
+ opengl? ( client )
+ || ( client server )
+ client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ csc? (
+ !libav? ( >=media-video/ffmpeg-1.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ dec_avcodec2? (
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_ffmpeg? (
+ !libav? ( >=media-video/ffmpeg-3.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x264? ( media-libs/x264
+ !libav? ( >=media-video/ffmpeg-1.0.4:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x265? ( media-libs/x265
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= ) )
+ jpeg? ( media-libs/libjpeg-turbo )
+ opengl? ( dev-python/pygtkglext )
+ pulseaudio? ( media-sound/pulseaudio )
+ sound? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ dev-python/gst-python:1.0 )
+ vpx? ( media-libs/libvpx virtual/ffmpeg )"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/rencode[${PYTHON_USEDEP}]
+ virtual/ssh
+ x11-apps/xmodmap
+ cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
+ lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
+ opengl? (
+ client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
+ )
+ pillow? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ server? ( x11-base/xorg-server[-minimal,xvfb]
+ x11-drivers/xf86-input-void
+ )
+ webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/opencv[python]
+ dev-python/pyinotify[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+ "${FILESDIR}"/${PN}-2.0-suid-warning.patch )
+
+pkg_postinst() {
+ enewgroup ${PN}
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
+}
+
+python_prepare_all() {
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+ -i tmpfiles.d/xpra.conf
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
+ -i setup.py || die
+
+ mydistutilsargs=(
+ --without-PIC
+ --without-Xdummy
+ $(use_with client)
+ $(use_with clipboard)
+ $(use_with csc csc_swscale)
+ --without-csc_libyuv
+ $(use_with cups printing)
+ --without-debug
+ $(use_with dbus)
+ $(use_with dec_avcodec2)
+ $(use_with enc_ffmpeg)
+ $(use_with enc_x264)
+ $(use_with enc_x265)
+ --with-gtk2
+ --without-gtk3
+ --without-html5
+ $(use_with jpeg)
+ --without-mdns
+ --without-minify
+ $(use_with opengl)
+ $(use_with server shadow)
+ $(use_with server)
+ $(use_with sound)
+ --with-strict
+ $(use_with vpx)
+ --with-warn
+ $(use_with webcam)
+ --with-x11
+ )
+
+ # see https://www.xpra.org/trac/ticket/1080
+ # and http://trac.cython.org/ticket/395
+ append-cflags -fno-strict-aliasing
+
+ export XPRA_SOCKET_DIRS="${EROOT}run/xpra"
+}
diff --git a/x11-wm/xpra/xpra-2.0.3.ebuild b/x11-wm/xpra/xpra-2.0.3.ebuild
new file mode 100644
index 000000000000..011698e250a3
--- /dev/null
+++ b/x11-wm/xpra/xpra-2.0.3.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
+
+DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
+HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
+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 dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ clipboard? ( || ( server client ) )
+ cups? ( dbus )
+ opengl? ( client )
+ || ( client server )
+ client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ csc? (
+ !libav? ( >=media-video/ffmpeg-1.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ dec_avcodec2? (
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_ffmpeg? (
+ !libav? ( >=media-video/ffmpeg-3.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x264? ( media-libs/x264
+ !libav? ( >=media-video/ffmpeg-1.0.4:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x265? ( media-libs/x265
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= ) )
+ jpeg? ( media-libs/libjpeg-turbo )
+ opengl? ( dev-python/pygtkglext )
+ pulseaudio? ( media-sound/pulseaudio )
+ sound? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ dev-python/gst-python:1.0 )
+ vpx? ( media-libs/libvpx virtual/ffmpeg )"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/rencode[${PYTHON_USEDEP}]
+ virtual/ssh
+ x11-apps/xmodmap
+ cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
+ lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
+ opengl? (
+ client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
+ )
+ pillow? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ server? ( x11-base/xorg-server[-minimal,xvfb]
+ x11-drivers/xf86-input-void
+ )
+ webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/opencv[python]
+ dev-python/pyinotify[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+ "${FILESDIR}"/${PN}-2.0-suid-warning.patch )
+
+pkg_postinst() {
+ enewgroup ${PN}
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
+}
+
+python_prepare_all() {
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+ -i tmpfiles.d/xpra.conf
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
+ -i setup.py || die
+
+ mydistutilsargs=(
+ --without-PIC
+ --without-Xdummy
+ $(use_with client)
+ $(use_with clipboard)
+ $(use_with csc csc_swscale)
+ --without-csc_libyuv
+ $(use_with cups printing)
+ --without-debug
+ $(use_with dbus)
+ $(use_with dec_avcodec2)
+ $(use_with enc_ffmpeg)
+ $(use_with enc_x264)
+ $(use_with enc_x265)
+ --with-gtk2
+ --without-gtk3
+ --without-html5
+ $(use_with jpeg)
+ --without-mdns
+ --without-minify
+ $(use_with opengl)
+ $(use_with server shadow)
+ $(use_with server)
+ $(use_with sound)
+ --with-strict
+ $(use_with vpx)
+ --with-warn
+ $(use_with webcam)
+ --with-x11
+ )
+
+ # see https://www.xpra.org/trac/ticket/1080
+ # and http://trac.cython.org/ticket/395
+ append-cflags -fno-strict-aliasing
+
+ export XPRA_SOCKET_DIRS="${EROOT}run/xpra"
+}
diff --git a/x11-wm/xpra/xpra-2.1.1.ebuild b/x11-wm/xpra/xpra-2.1.1.ebuild
new file mode 100644
index 000000000000..4c0c8a994be7
--- /dev/null
+++ b/x11-wm/xpra/xpra-2.1.1.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
+
+DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
+HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
+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 dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ clipboard? ( || ( server client ) )
+ cups? ( dbus )
+ opengl? ( client )
+ || ( client server )
+ client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ csc? (
+ !libav? ( >=media-video/ffmpeg-1.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ dec_avcodec2? (
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_ffmpeg? (
+ !libav? ( >=media-video/ffmpeg-3.2.2:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x264? ( media-libs/x264
+ !libav? ( >=media-video/ffmpeg-1.0.4:0= )
+ libav? ( media-video/libav:0= )
+ )
+ enc_x265? ( media-libs/x265
+ !libav? ( >=media-video/ffmpeg-2:0= )
+ libav? ( media-video/libav:0= ) )
+ jpeg? ( media-libs/libjpeg-turbo )
+ opengl? ( dev-python/pygtkglext )
+ pulseaudio? ( media-sound/pulseaudio )
+ sound? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ dev-python/gst-python:1.0 )
+ vpx? ( media-libs/libvpx virtual/ffmpeg )"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/rencode[${PYTHON_USEDEP}]
+ virtual/ssh
+ x11-apps/xmodmap
+ cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
+ lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
+ opengl? (
+ client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
+ )
+ pillow? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ server? ( x11-base/xorg-server[-minimal,xvfb]
+ x11-drivers/xf86-input-void
+ )
+ webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/opencv[python]
+ dev-python/pyinotify[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+ "${FILESDIR}"/${PN}-2.0-suid-warning.patch )
+
+pkg_postinst() {
+ enewgroup ${PN}
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
+}
+
+python_prepare_all() {
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+ -i tmpfiles.d/xpra.conf
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
+ -i setup.py || die
+
+ mydistutilsargs=(
+ --without-PIC
+ --without-Xdummy
+ $(use_with client)
+ $(use_with clipboard)
+ $(use_with csc csc_swscale)
+ --without-csc_libyuv
+ $(use_with cups printing)
+ --without-debug
+ $(use_with dbus)
+ $(use_with dec_avcodec2)
+ $(use_with enc_ffmpeg)
+ $(use_with enc_x264)
+ $(use_with enc_x265)
+ --with-gtk2
+ --without-gtk3
+ --without-html5
+ $(use_with jpeg)
+ --without-mdns
+ --without-minify
+ $(use_with opengl)
+ $(use_with server shadow)
+ $(use_with server)
+ $(use_with sound)
+ --with-strict
+ $(use_with vpx)
+ --with-warn
+ $(use_with webcam)
+ --with-x11
+ )
+
+ # see https://www.xpra.org/trac/ticket/1080
+ # and http://trac.cython.org/ticket/395
+ append-cflags -fno-strict-aliasing
+
+ export XPRA_SOCKET_DIRS="${EROOT}run/xpra"
+}