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

(-)exaile-4.0.0-r1.ebuild (-6 / +10 lines)
Lines 3-19 Link Here
3
3
4
EAPI=7
4
EAPI=7
5
5
6
PYTHON_COMPAT=( python2_7 )
6
PYTHON_COMPAT=( python3_7 )
7
PYTHON_REQ_USE="sqlite"
8
inherit python-single-r1 xdg-utils
7
inherit python-single-r1 xdg-utils
9
8
10
if [[ ${PV} = *9999* ]]; then
9
if [[ ${PV} = *9999* ]]; then
11
	inherit git-r3
10
	inherit git-r3
12
	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
11
	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
13
else
12
else
14
	SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
13
	SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
15
	KEYWORDS="amd64 x86"
14
	KEYWORDS="amd64 x86"
16
	S="${WORKDIR}/${PN}-${PV/_/}"
15
	S="${WORKDIR}/${PN}-${PV/_/-}"
17
fi
16
fi
18
17
19
DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
18
DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
Lines 21-27 Link Here
21
20
22
LICENSE="GPL-2 GPL-3"
21
LICENSE="GPL-2 GPL-3"
23
SLOT="0"
22
SLOT="0"
24
IUSE="cddb libnotify nls scrobbler"
23
IUSE="libnotify nls scrobbler"
25
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
24
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
26
25
27
RDEPEND="${PYTHON_DEPS}
26
RDEPEND="${PYTHON_DEPS}
Lines 29-35 Link Here
29
	>=media-libs/gst-plugins-good-1.4:1.0
28
	>=media-libs/gst-plugins-good-1.4:1.0
30
	media-plugins/gst-plugins-meta:1.0
29
	media-plugins/gst-plugins-meta:1.0
31
	>=x11-libs/gtk+-3.10:3[introspection]
30
	>=x11-libs/gtk+-3.10:3[introspection]
32
	cddb? ( dev-python/cddb-py )
33
	libnotify? ( >=x11-libs/libnotify-0.7[introspection] )
31
	libnotify? ( >=x11-libs/libnotify-0.7[introspection] )
34
	$(python_gen_cond_dep '
32
	$(python_gen_cond_dep '
35
		dev-python/bsddb3[${PYTHON_MULTI_USEDEP}]
33
		dev-python/bsddb3[${PYTHON_MULTI_USEDEP}]
Lines 50-55 Link Here
50
48
51
RESTRICT="test" #315589
49
RESTRICT="test" #315589
52
50
51
52
PATCHES=(
53
	"${FILESDIR}/${P}-metainfo.patch"
54
)
55
56
53
pkg_setup() {
57
pkg_setup() {
54
	python-single-r1_pkg_setup
58
	python-single-r1_pkg_setup
55
}
59
}

Return to bug 708966