Diff xpra-4.4.6-r2 with a xpra-9999
/usr/portage/x11-wm/xpra/xpra-9999.ebuild 2023-10-09 14:52:36.004368514 +0300 | ||
---|---|---|
117 | 117 |
RESTRICT="!test? ( test )" |
118 | 118 | |
119 | 119 |
PATCHES=( |
120 |
"${FILESDIR}"/${PN}-4.4-xdummy.patch |
|
120 |
"${FILESDIR}"/${PN}-9999-xdummy.patch |
|
121 | 121 |
) |
122 | 122 | |
123 | 123 |
python_prepare_all() { |
124 |
if use minimal; then |
|
125 |
sed -r -e '/pam_ENABLED/s/DEFAULT/False/' \ |
|
126 |
-e 's/^(xdg_open)_ENABLED = .*/\1_ENABLED = False/' \ |
|
127 |
-i setup.py || die |
|
128 |
PATCHES+=( "${FILESDIR}"/${PN}-4.4.6_xpra-4.4.6_minimal-features.patch ) |
|
129 |
fi |
|
130 | ||
131 | 124 |
distutils-r1_python_prepare_all |
132 | 125 | |
133 | 126 |
hprefixify xpra/scripts/config.py |
134 | 127 | |
135 | 128 |
sed -r -e "/\bdoc_dir =/s:/${PN}/\":/${PF}/html\":" \ |
136 | 129 |
-i setup.py || die |
130 | ||
131 |
if use minimal; then |
|
132 |
sed -r -e '/pam_ENABLED/s/DEFAULT/False/' \ |
|
133 |
-e 's/^(xdg_open)_ENABLED = .*/\1_ENABLED = False/' \ |
|
134 |
-i setup.py || die |
|
135 |
fi |
|
137 | 136 |
} |
138 | 137 | |
139 | 138 |
python_configure_all() { |
... | ... | |
143 | 142 |
DISTUTILS_ARGS=( |
144 | 143 |
--without-PIC |
145 | 144 |
--without-Xdummy |
145 |
$(use_with sound audio) |
|
146 | 146 |
$(use_with client) |
147 | 147 |
$(use_with clipboard) |
148 | 148 |
$(use_with csc csc_swscale) |
... | ... | |
166 | 166 |
$(use_with opengl) |
167 | 167 |
$(use_with server shadow) |
168 | 168 |
$(use_with server) |
169 |
$(use_with sound) |
|
170 | 169 |
--without-strict |
171 | 170 |
$(use_with vpx) |
172 | 171 |
--with-warn |