You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/sonata/sonata-1.6.2.1-r2.ebuild

41 lines
913 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL="true"
inherit distutils-r1
DESCRIPTION="Elegant GTK+ music client for the Music Player Daemon (MPD)"
HOMEPAGE="https://www.nongnu.org/sonata/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
# now released at https://github.com/multani/sonata/releases
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="dbus lyrics taglib"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
>=dev-python/pygtk-2.12:2
x11-libs/gdk-pixbuf:2[jpeg]
>=dev-python/python-mpd-0.2.1
dbus? ( dev-python/dbus-python )
lyrics? ( dev-python/zsi )
taglib? ( >=dev-python/tagpy-0.93 )
"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG README TODO TRANSLATORS )
PATCHES=( "${FILESDIR}"/${P}-mpd18-compat.patch )
src_install() {
distutils-r1_src_install
rm -r "${D}"/usr/share/sonata || die
}