From f54579a56fa32b52196191254538ae7a2a31a429 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 26 Aug 2018 13:36:52 +0200 Subject: [PATCH] media-video/syncplay: Remove support for non-existent deps --- media-video/syncplay/metadata.xml | 1 - media-video/syncplay/syncplay-1.5.0.ebuild | 10 +++------- media-video/syncplay/syncplay-1.5.1.ebuild | 10 +++------- media-video/syncplay/syncplay-9999.ebuild | 10 +++------- 4 files changed, 9 insertions(+), 22 deletions(-) diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml index 1ad1d49790cb..9fa7c960908c 100644 --- a/media-video/syncplay/metadata.xml +++ b/media-video/syncplay/metadata.xml @@ -15,7 +15,6 @@ Install Syncplay client Install Syncplay server - Enable gui support Enable VLC2.x support diff --git a/media-video/syncplay/syncplay-1.5.0.ebuild b/media-video/syncplay/syncplay-1.5.0.ebuild index 82e3ec8bd455..88c576cffbde 100644 --- a/media-video/syncplay/syncplay-1.5.0.ebuild +++ b/media-video/syncplay/syncplay-1.5.0.ebuild @@ -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() { diff --git a/media-video/syncplay/syncplay-1.5.1.ebuild b/media-video/syncplay/syncplay-1.5.1.ebuild index 908f6042f4ae..55904564d23e 100644 --- a/media-video/syncplay/syncplay-1.5.1.ebuild +++ b/media-video/syncplay/syncplay-1.5.1.ebuild @@ -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() { diff --git a/media-video/syncplay/syncplay-9999.ebuild b/media-video/syncplay/syncplay-9999.ebuild index fd8e3170c71b..ed87eb7ddfed 100644 --- a/media-video/syncplay/syncplay-9999.ebuild +++ b/media-video/syncplay/syncplay-9999.ebuild @@ -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() { -- 2.26.2