Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/syncplay/
Date: Sun, 26 Aug 2018 11:51:16
Message-Id: 1535284261.f54579a56fa32b52196191254538ae7a2a31a429.mgorny@gentoo
1 commit: f54579a56fa32b52196191254538ae7a2a31a429
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 26 11:36:52 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 26 11:51:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f54579a5
7
8 media-video/syncplay: Remove support for non-existent deps
9
10 media-video/syncplay/metadata.xml | 1 -
11 media-video/syncplay/syncplay-1.5.0.ebuild | 10 +++-------
12 media-video/syncplay/syncplay-1.5.1.ebuild | 10 +++-------
13 media-video/syncplay/syncplay-9999.ebuild | 10 +++-------
14 4 files changed, 9 insertions(+), 22 deletions(-)
15
16 diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml
17 index 1ad1d49790c..9fa7c960908 100644
18 --- a/media-video/syncplay/metadata.xml
19 +++ b/media-video/syncplay/metadata.xml
20 @@ -15,7 +15,6 @@
21 <use>
22 <flag name="client">Install Syncplay client</flag>
23 <flag name="server">Install Syncplay server</flag>
24 - <flag name="gui">Enable gui support</flag>
25 <flag name="vlc">Enable VLC2.x support</flag>
26 </use>
27 </pkgmetadata>
28
29 diff --git a/media-video/syncplay/syncplay-1.5.0.ebuild b/media-video/syncplay/syncplay-1.5.0.ebuild
30 index 82e3ec8bd45..88c576cffbd 100644
31 --- a/media-video/syncplay/syncplay-1.5.0.ebuild
32 +++ b/media-video/syncplay/syncplay-1.5.0.ebuild
33 @@ -16,9 +16,8 @@ SRC_URI="https://github.com/Syncplay/syncplay/archive/v${MY_PV}.tar.gz -> ${P}.t
34 LICENSE="Apache-2.0"
35 SLOT="0"
36 KEYWORDS="~amd64 x86"
37 -IUSE="+client +server gui vlc"
38 +IUSE="+client +server vlc"
39 REQUIRED_USE="vlc? ( client )
40 - gui? ( client )
41 ${PYTHON_REQUIRED_USE}"
42
43 DEPEND=""
44 @@ -27,18 +26,15 @@ RDEPEND="${PYTHON_DEPS}
45 >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
46 dev-python/twisted-core[${PYTHON_USEDEP}]
47 )
48 - gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
49 vlc? ( media-video/vlc[lua] )"
50
51 S="${WORKDIR}/${PN}-${MY_PV}"
52
53 src_prepare() {
54 default
55 - if ! use gui; then
56 - sed -i 's/"noGui": False,/"noGui": True,/' \
57 - syncplay/ui/ConfigurationGetter.py \
58 + sed -i 's/"noGui": False,/"noGui": True,/' \
59 + syncplay/ui/ConfigurationGetter.py \
60 || die "Failed to patch ConfigurationGetter.py"
61 - fi
62 }
63
64 src_compile() {
65
66 diff --git a/media-video/syncplay/syncplay-1.5.1.ebuild b/media-video/syncplay/syncplay-1.5.1.ebuild
67 index 908f6042f4a..55904564d23 100644
68 --- a/media-video/syncplay/syncplay-1.5.1.ebuild
69 +++ b/media-video/syncplay/syncplay-1.5.1.ebuild
70 @@ -14,9 +14,8 @@ SRC_URI="https://github.com/Syncplay/syncplay/archive/v${PV}.tar.gz -> ${P}.tar.
71 LICENSE="Apache-2.0"
72 SLOT="0"
73 KEYWORDS="~amd64 ~ppc64 x86"
74 -IUSE="+client +server gui vlc"
75 +IUSE="+client +server vlc"
76 REQUIRED_USE="vlc? ( client )
77 - gui? ( client )
78 ${PYTHON_REQUIRED_USE}"
79
80 DEPEND=""
81 @@ -27,16 +26,13 @@ RDEPEND="${PYTHON_DEPS}
82 >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
83 dev-python/twisted-core[${PYTHON_USEDEP}]
84 )
85 - gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
86 vlc? ( media-video/vlc[lua] )"
87
88 src_prepare() {
89 default
90 - if ! use gui; then
91 - sed -i 's/"noGui": False,/"noGui": True,/' \
92 - syncplay/ui/ConfigurationGetter.py \
93 + sed -i 's/"noGui": False,/"noGui": True,/' \
94 + syncplay/ui/ConfigurationGetter.py \
95 || die "Failed to patch ConfigurationGetter.py"
96 - fi
97 }
98
99 src_compile() {
100
101 diff --git a/media-video/syncplay/syncplay-9999.ebuild b/media-video/syncplay/syncplay-9999.ebuild
102 index fd8e3170c71..ed87eb7ddfe 100644
103 --- a/media-video/syncplay/syncplay-9999.ebuild
104 +++ b/media-video/syncplay/syncplay-9999.ebuild
105 @@ -15,9 +15,8 @@ EGIT_REPO_URI="https://github.com/Syncplay/${PN}.git"
106
107 LICENSE="Apache-2.0"
108 SLOT="0"
109 -IUSE="+client +server gui vlc"
110 +IUSE="+client +server vlc"
111 REQUIRED_USE="vlc? ( client )
112 - gui? ( client )
113 ${PYTHON_REQUIRED_USE}"
114
115 DEPEND=""
116 @@ -26,18 +25,15 @@ RDEPEND="${PYTHON_DEPS}
117 >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
118 dev-python/twisted-core[${PYTHON_USEDEP}]
119 )
120 - gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
121 vlc? ( media-video/vlc[lua] )"
122
123 S="${WORKDIR}/${PN}-${MY_PV}"
124
125 src_prepare() {
126 default
127 - if ! use gui; then
128 - sed -i 's/"noGui": False,/"noGui": True,/' \
129 - syncplay/ui/ConfigurationGetter.py \
130 + sed -i 's/"noGui": False,/"noGui": True,/' \
131 + syncplay/ui/ConfigurationGetter.py \
132 || die "Failed to patch ConfigurationGetter.py"
133 - fi
134 }
135
136 src_compile() {