--- exaile-4.0.0-r1.ebuild 2020-04-12 13:09:38.000000000 +0200 +++ exaile-4.1.0_alpha1.ebuild 2020-08-03 11:07:01.359505891 +0200 @@ -3,17 +3,16 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_7 ) inherit python-single-r1 xdg-utils if [[ ${PV} = *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/exaile/exaile.git" else - SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${PN}-${PV/_/}.tar.gz" + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz" KEYWORDS="amd64 x86" - S="${WORKDIR}/${PN}-${PV/_/}" + S="${WORKDIR}/${PN}-${PV/_/-}" fi DESCRIPTION="GTK+ based media player aiming to be similar to Amarok" @@ -21,7 +20,7 @@ LICENSE="GPL-2 GPL-3" SLOT="0" -IUSE="cddb libnotify nls scrobbler" +IUSE="libnotify nls scrobbler" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} @@ -29,7 +28,6 @@ >=media-libs/gst-plugins-good-1.4:1.0 media-plugins/gst-plugins-meta:1.0 >=x11-libs/gtk+-3.10:3[introspection] - cddb? ( dev-python/cddb-py ) libnotify? ( >=x11-libs/libnotify-0.7[introspection] ) $(python_gen_cond_dep ' dev-python/bsddb3[${PYTHON_MULTI_USEDEP}] @@ -50,6 +48,12 @@ RESTRICT="test" #315589 + +PATCHES=( + "${FILESDIR}/${P}-metainfo.patch" +) + + pkg_setup() { python-single-r1_pkg_setup }