Skip to content

Commit

Permalink
x11-wm/xpra: Version bump.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.16, Repoman-2.3.6
  • Loading branch information
xmw committed Dec 8, 2017
1 parent c298c05 commit 29ba7cb
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x11-wm/xpra/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ DIST xpra-1.0.6.tar.xz 1892736 SHA256 2ba9212333ee5dc437955ce95d15eb8a9713cf4881
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
DIST xpra-2.1.1.tar.xz 2065280 BLAKE2B 0b1c0e33fdc01e5dcc3f45d968bbd627cbdce0c14ae3c5f07515e12b35a69ab853a363c268cc355c36d130d09380c4ef7d522dd31da32560be7cf505e5acb5c9 SHA512 913c6952b12bdc01ef8cbbb62b05cfc9bd564b6d425f7edd2448bc3bfbdd9dc0bf9a890b1c85d3e39c387468b9738de7de4336e80b4e715856746197e1e93b20
DIST xpra-2.1.3.tar.xz 2070192 BLAKE2B b1f54705c877317bf0a3397303af2a516f6e7deb6baa252065f768bd3fd07ec87991b04c14a3aa054da0655543185dfdb99fa2972fb1cd8a2a04d72bb31fafc6 SHA512 aa916953d34477c2c80d99a4d5733586b4122edbc18f2c9952a5d3c9581f7b8e8c55cb1ed4077989876a9a7431faa9c4f7f96f82fc007034f92cacad16429ef8
142 changes: 142 additions & 0 deletions x11-wm/xpra/xpra-2.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 29ba7cb

Please sign in to comment.