blob: 1d4c4b1ad7d2cae913e958fc20a788940ea8dbb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild,v 1.1 2008/10/14 16:21:11 flameeyes Exp $
EAPI=2
inherit python eutils
DESCRIPTION="This is a plugin to copy songs to your iPod and browse/delete existing songs using libgpod."
HOMEPAGE="http://www.sacredchao.net/quodlibet/wiki/Plugins/iPod"
SRC_URI="mirror://gentoo/quodlibet-ipod-0.4.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=">=media-libs/libgpod-0.3.2-r1[python]
>=media-sound/quodlibet-0.19.1"
PLUGIN_DEST="/usr/share/quodlibet/plugins/songsmenu"
src_prepare() {
epatch "${FILESDIR}"/${PV}-ipod-detect.patch
}
src_install() {
cd "${WORKDIR}"
insinto ${PLUGIN_DEST}
doins ipod_base.py
insinto ${PLUGIN_DEST}/ipod
doins ipod/*
}
pkg_postinst() {
python_mod_compile ${PLUGIN_DEST}/ipod_base.py
python_mod_optimize ${PLUGIN_DEST}/ipod
}
pkg_postrm() {
python_mod_cleanup ${PLUGIN_DEST}
}
|