media-video/syncplay: Remove support for non-existent deps
authorMichał Górny <mgorny@gentoo.org>
Sun, 26 Aug 2018 11:36:52 +0000 (13:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 26 Aug 2018 11:51:01 +0000 (13:51 +0200)
media-video/syncplay/metadata.xml
media-video/syncplay/syncplay-1.5.0.ebuild
media-video/syncplay/syncplay-1.5.1.ebuild
media-video/syncplay/syncplay-9999.ebuild

index 1ad1d49790cb3d89c81c625e39adf1ad51793635..9fa7c960908c58b7144488f7fe30e78e8e4ca6eb 100644 (file)
@@ -15,7 +15,6 @@
        <use>
                <flag name="client">Install Syncplay client</flag>
                <flag name="server">Install Syncplay server</flag>
-               <flag name="gui">Enable gui support</flag>
                <flag name="vlc">Enable VLC2.x support</flag>
        </use>
 </pkgmetadata>
index 82e3ec8bd455c0b5b5c9e435806b1575850adcd3..88c576cffbde4d8d9764280d722257ba457a7936 100644 (file)
@@ -16,9 +16,8 @@ SRC_URI="https://github.com/Syncplay/syncplay/archive/v${MY_PV}.tar.gz -> ${P}.t
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 x86"
-IUSE="+client +server gui vlc"
+IUSE="+client +server vlc"
 REQUIRED_USE="vlc? ( client )
-       gui? ( client )
        ${PYTHON_REQUIRED_USE}"
 
 DEPEND=""
@@ -27,18 +26,15 @@ RDEPEND="${PYTHON_DEPS}
                >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
                dev-python/twisted-core[${PYTHON_USEDEP}]
        )
-       gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
        vlc? ( media-video/vlc[lua] )"
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_prepare() {
        default
-       if ! use gui; then
-               sed -i 's/"noGui": False,/"noGui": True,/' \
-                       syncplay/ui/ConfigurationGetter.py \
+       sed -i 's/"noGui": False,/"noGui": True,/' \
+               syncplay/ui/ConfigurationGetter.py \
                || die "Failed to patch ConfigurationGetter.py"
-       fi
 }
 
 src_compile() {
index 908f6042f4ae63a084a11908eeefdafdcd416838..55904564d23ec80e0050e8f58147f0e753bb5e0d 100644 (file)
@@ -14,9 +14,8 @@ SRC_URI="https://github.com/Syncplay/syncplay/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 x86"
-IUSE="+client +server gui vlc"
+IUSE="+client +server vlc"
 REQUIRED_USE="vlc? ( client )
-       gui? ( client )
        ${PYTHON_REQUIRED_USE}"
 
 DEPEND=""
@@ -27,16 +26,13 @@ RDEPEND="${PYTHON_DEPS}
                >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
                dev-python/twisted-core[${PYTHON_USEDEP}]
        )
-       gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
        vlc? ( media-video/vlc[lua] )"
 
 src_prepare() {
        default
-       if ! use gui; then
-               sed -i 's/"noGui": False,/"noGui": True,/' \
-                       syncplay/ui/ConfigurationGetter.py \
+       sed -i 's/"noGui": False,/"noGui": True,/' \
+               syncplay/ui/ConfigurationGetter.py \
                || die "Failed to patch ConfigurationGetter.py"
-       fi
 }
 
 src_compile() {
index fd8e3170c71b4d6a84e29c1c922ada693909118a..ed87eb7ddfed1d2ac97b88e55ac91e9cfdbb0b31 100644 (file)
@@ -15,9 +15,8 @@ EGIT_REPO_URI="https://github.com/Syncplay/${PN}.git"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="+client +server gui vlc"
+IUSE="+client +server vlc"
 REQUIRED_USE="vlc? ( client )
-       gui? ( client )
        ${PYTHON_REQUIRED_USE}"
 
 DEPEND=""
@@ -26,18 +25,15 @@ RDEPEND="${PYTHON_DEPS}
                >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
                dev-python/twisted-core[${PYTHON_USEDEP}]
        )
-       gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
        vlc? ( media-video/vlc[lua] )"
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_prepare() {
        default
-       if ! use gui; then
-               sed -i 's/"noGui": False,/"noGui": True,/' \
-                       syncplay/ui/ConfigurationGetter.py \
+       sed -i 's/"noGui": False,/"noGui": True,/' \
+               syncplay/ui/ConfigurationGetter.py \
                || die "Failed to patch ConfigurationGetter.py"
-       fi
 }
 
 src_compile() {