<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>
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=""
>=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() {
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=""
>=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() {
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=""
>=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() {