Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/
Date: Sun, 30 May 2021 07:56:40
Message-Id: 1622361380.e4b5ec7d565977e8bca583a576d679dbec8d507f.chewi@gentoo
1 commit: e4b5ec7d565977e8bca583a576d679dbec8d507f
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 07:54:35 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 07:56:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b5ec7d
7
8 x11-wm/xpra: Drop old 4.1.2
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 x11-wm/xpra/Manifest | 1 -
14 x11-wm/xpra/xpra-4.1.2.ebuild | 168 ------------------------------------------
15 2 files changed, 169 deletions(-)
16
17 diff --git a/x11-wm/xpra/Manifest b/x11-wm/xpra/Manifest
18 index 58025dff631..addfc19c3ae 100644
19 --- a/x11-wm/xpra/Manifest
20 +++ b/x11-wm/xpra/Manifest
21 @@ -1,4 +1,3 @@
22 DIST xpra-3.0.5.tar.xz 2752016 BLAKE2B a36d6a4ebb0b14665014da92d510c0d5f978c96db653709ddc09a1015426d6ac6f71f9a221db68ee1114c95eeaca6600f9e49102ce9f936d9b0ee298ac432647 SHA512 3dbc122ebc8c4aa67154acfe92668ac364d8469022b03e28946d763e4d396f8c707690b2a4dbf07b55545259a53b46c9dd94e6e40131289ccc3dce6a88107681
23 -DIST xpra-4.1.2.tar.xz 2676588 BLAKE2B db3694fdd9f7e20ba93099ecde50d712de41bb64a2d317b9f10e349b7f501015d083c212250206c0f3e25e154311a096ce4c17972131af68584be666bbf7e067 SHA512 860533c4173b92ee110e65849110870a3b129b993d8a2a2308142474164e4f1c45984669e7e3963540290192310de5d2de0e0713b80f4cb8c6ae7f9c3bb0814e
24 DIST xpra-4.1.3.tar.gz 3850971 BLAKE2B b5f5a0546c785762974f27650408cb83fdfa2ac8a5b5dd8c6b08a9978ff17a0dfc85f95fde405689a19517ef66bcc7aefc1dad71acc2dda7883ed38d3c22b91c SHA512 e401793ae9a4539d39bc161be4d34af2dca81c78f189664d8ebdefff99d413d364d4ceb37dd776b027b206119da81957ef7436a727c00d3ad5895a3c90742e39
25 DIST xpra-4.2.tar.gz 4057304 BLAKE2B 17b6a95f7ce24a311c39d09291d9570285c30f25c2d935389cb380c2fce698acd984821e69acaabd66368e76b5beddd01803a68d6a16dd930dd2fa3289532f10 SHA512 261d46c04ce70686f41873c5c0c115e462e3b2501c58ab05fb2904f4700454c5fb8124d0faf86fe5e982872f19a4b90b941f8aff4790f7206602d6030c005353
26
27 diff --git a/x11-wm/xpra/xpra-4.1.2.ebuild b/x11-wm/xpra/xpra-4.1.2.ebuild
28 deleted file mode 100644
29 index cde55d55195..00000000000
30 --- a/x11-wm/xpra/xpra-4.1.2.ebuild
31 +++ /dev/null
32 @@ -1,168 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7,8,9} )
39 -DISTUTILS_SINGLE_IMPL=yes
40 -DISTUTILS_USE_SETUPTOOLS=no
41 -inherit xdg distutils-r1 tmpfiles prefix udev
42 -
43 -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
44 -HOMEPAGE="https://xpra.org/"
45 -SRC_URI="https://xpra.org/src/${P}.tar.xz"
46 -
47 -LICENSE="GPL-2 BSD"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="brotli +client +clipboard csc cups dbus doc ffmpeg jpeg +lz4 lzo minimal opengl pillow pulseaudio server sound test vpx webcam webp"
51 -
52 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
53 - || ( client server )
54 - cups? ( dbus )
55 - opengl? ( client )
56 -"
57 -
58 -DEPEND="
59 - ${PYTHON_DEPS}
60 - $(python_gen_cond_dep '
61 - dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
62 - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
63 - sound? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )
64 - ')
65 - x11-libs/gtk+:3[introspection]
66 - x11-libs/libX11
67 - x11-libs/libXcomposite
68 - x11-libs/libXdamage
69 - x11-libs/libXfixes
70 - x11-libs/libXrandr
71 - x11-libs/libXtst
72 - x11-libs/libxkbfile
73 - brotli? ( app-arch/brotli )
74 - csc? ( >=media-video/ffmpeg-1.2.2:0= )
75 - ffmpeg? ( >=media-video/ffmpeg-3.2.2:0=[x264,x265] )
76 - jpeg? ( media-libs/libjpeg-turbo )
77 - pulseaudio? (
78 - media-sound/pulseaudio
79 - media-plugins/gst-plugins-pulse:1.0
80 - )
81 - sound? (
82 - media-libs/gstreamer:1.0
83 - media-libs/gst-plugins-base:1.0
84 - )
85 - vpx? ( media-libs/libvpx media-video/ffmpeg )
86 - webp? ( media-libs/libwebp )
87 -"
88 -RDEPEND="
89 - ${DEPEND}
90 - $(python_gen_cond_dep '
91 - dev-python/netifaces[${PYTHON_USEDEP}]
92 - dev-python/rencode[${PYTHON_USEDEP}]
93 - dev-python/pillow[jpeg?,${PYTHON_USEDEP}]
94 - cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
95 - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
96 - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
97 - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
98 - opengl? (
99 - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
100 - )
101 - webcam? (
102 - dev-python/numpy[${PYTHON_USEDEP}]
103 - dev-python/pyinotify[${PYTHON_USEDEP}]
104 - media-libs/opencv[${PYTHON_USEDEP},python]
105 - )
106 - ')
107 - acct-group/xpra
108 - virtual/ssh
109 - x11-apps/xmodmap
110 - server? (
111 - x11-base/xorg-server[-minimal,xvfb]
112 - x11-drivers/xf86-input-void
113 - )
114 -"
115 -BDEPEND="
116 - virtual/pkgconfig
117 - $(python_gen_cond_dep '
118 - >=dev-python/cython-0.16[${PYTHON_USEDEP}]
119 - ')
120 - doc? ( app-text/pandoc )
121 -"
122 -
123 -RESTRICT="!test? ( test )"
124 -
125 -PATCHES=(
126 - "${FILESDIR}"/${PN}-3.0.2_ignore-gentoo-no-compile.patch
127 - "${FILESDIR}"/${PN}-3.0.2-ldconfig.patch
128 - "${FILESDIR}"/${PN}-4.0.3-suid-warning.patch
129 -)
130 -
131 -pkg_postinst() {
132 - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
133 -
134 - xdg_pkg_postinst
135 -}
136 -
137 -python_prepare_all() {
138 - hprefixify -w '/os.path/' setup.py
139 - hprefixify tmpfiles.d/xpra.conf xpra/server/server_util.py \
140 - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py
141 -
142 - sed -r -e "/\bdoc_dir =/s:/${PN}\":/${PF}/html\":" \
143 - -i setup.py || die
144 -
145 - if use minimal; then
146 - sed -r -e 's/^(pam|scripts|xdg_open)_ENABLED.*/\1_ENABLED=False/' \
147 - -i setup.py || die
148 - fi
149 -
150 - distutils-r1_python_prepare_all
151 -}
152 -
153 -python_configure_all() {
154 - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
155 - -i setup.py || die
156 -
157 - mydistutilsargs=(
158 - --without-PIC
159 - --without-Xdummy
160 - $(use_with client)
161 - $(use_with clipboard)
162 - $(use_with csc csc_swscale)
163 - --without-csc_libyuv
164 - --without-cuda_rebuild
165 - --without-cuda_kernels
166 - $(use_with cups printing)
167 - --without-debug
168 - $(use_with dbus)
169 - $(use_with doc docs)
170 - $(use_with ffmpeg dec_avcodec2)
171 - $(use_with ffmpeg enc_ffmpeg)
172 - $(use_with ffmpeg enc_x264)
173 - $(use_with ffmpeg enc_x265)
174 - --with-gtk3
175 - $(use_with jpeg jpeg_encoder)
176 - $(use_with jpeg jpeg_decoder)
177 - --without-mdns
178 - $(use_with opengl)
179 - $(use_with server shadow)
180 - $(use_with server)
181 - $(use_with sound)
182 - --with-strict
183 - $(use_with vpx)
184 - --with-warn
185 - $(use_with webcam)
186 - $(use_with webp)
187 - --with-x11
188 - )
189 -
190 - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra"
191 -}
192 -
193 -python_install_all() {
194 - distutils-r1_python_prepare_all
195 -
196 - # Move udev dir to the right place.
197 - local dir=$(get_udevdir)
198 - dodir "${dir%/*}"
199 - mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
200 -}