Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 882565
Collapse All | Expand All

(-)a/media-video/syncplay/syncplay-1.6.9.ebuild (-8 / +17 lines)
Lines 17-23 LICENSE="Apache-2.0" Link Here
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="~amd64"
18
KEYWORDS="~amd64"
19
19
20
IUSE="+client server"
20
IUSE="+client server +gui"
21
REQUIRED_USE="|| ( client server )"
21
REQUIRED_USE="|| ( client server )"
22
22
23
RDEPEND="
23
RDEPEND="
Lines 26-33 RDEPEND=" Link Here
26
		>=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]'
26
		>=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]'
27
	)
27
	)
28
	client? (
28
	client? (
29
		$( python_gen_cond_dep \
29
		gui? (
30
			'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
30
			$( python_gen_cond_dep \
31
				'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
32
			)
31
		)
33
		)
32
		|| (
34
		|| (
33
			media-video/vlc[lua]
35
			media-video/vlc[lua]
Lines 39-54 RDEPEND=" Link Here
39
41
40
python_install() {
42
python_install() {
41
	python_domodule syncplay
43
	python_domodule syncplay
42
	for size in 256 128 96 64 48 32 24 16; do
44
43
		doicon -s ${size} "${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
45
	if use gui; then
44
	done
46
		for size in 256 128 96 64 48 32 24 16; do
47
			doicon -s ${size} "${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
48
		done
49
	fi
45
	if use client; then
50
	if use client; then
46
		python_newscript syncplayClient.py syncplay
51
		python_newscript syncplayClient.py syncplay
47
		domenu syncplay/resources/syncplay.desktop
52
		if use gui; then
53
			domenu syncplay/resources/syncplay.desktop
54
		fi
48
	fi
55
	fi
49
	if use server; then
56
	if use server; then
57
		if use gui; then
58
			domenu syncplay/resources/syncplay-server.desktop
59
		fi
50
		python_newscript syncplayServer.py syncplay-server
60
		python_newscript syncplayServer.py syncplay-server
51
		domenu syncplay/resources/syncplay-server.desktop
52
		newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
61
		newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
53
		newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
62
		newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
54
	fi
63
	fi

Return to bug 882565