Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/quodlibet-ipod: ChangeLog quodlibet-ipod-0.4-r1.ebuild
Date: Tue, 14 Oct 2008 16:21:13
Message-Id: E1Kpmdz-00043i-27@stork.gentoo.org
1 flameeyes 08/10/14 16:21:11
2
3 Modified: ChangeLog
4 Added: quodlibet-ipod-0.4-r1.ebuild
5 Log:
6 Add a revision using EAPI 2 to depend on libgpod with python bindings.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.7 media-plugins/quodlibet-ipod/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 28 Apr 2007 16:33:00 -0000 1.6
23 +++ ChangeLog 14 Oct 2008 16:21:11 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-plugins/quodlibet-ipod
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog,v 1.6 2007/04/28 16:33:00 swegener Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-ipod/ChangeLog,v 1.7 2008/10/14 16:21:11 flameeyes Exp $
30 +
31 +*quodlibet-ipod-0.4-r1 (14 Oct 2008)
32 +
33 + 14 Oct 2008; Diego Pettenò <flameeyes@g.o>
34 + +quodlibet-ipod-0.4-r1.ebuild:
35 + Add a revision using EAPI 2 to depend on libgpod with python bindings.
36
37 28 Apr 2007; Sven Wegener <swegener@g.o> quodlibet-ipod-0.4.ebuild:
38 Drop dodir from dodir/*into combination.
39
40
41
42 1.1 media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/quodlibet-ipod/quodlibet-ipod-0.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: quodlibet-ipod-0.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 EAPI=2
54
55 inherit python eutils
56
57 DESCRIPTION="This is a plugin to copy songs to your iPod and browse/delete existing songs using libgpod."
58 HOMEPAGE="http://www.sacredchao.net/quodlibet/wiki/Plugins/iPod"
59 SRC_URI="mirror://gentoo/quodlibet-ipod-0.4.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc64 ~x86"
64 IUSE=""
65
66 DEPEND=""
67 RDEPEND=">=media-libs/libgpod-0.3.2-r1[python]
68 >=media-sound/quodlibet-0.19.1"
69
70 PLUGIN_DEST="/usr/share/quodlibet/plugins/songsmenu"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PV}-ipod-detect.patch
74 }
75
76 src_install() {
77 cd "${WORKDIR}"
78
79 insinto ${PLUGIN_DEST}
80 doins ipod_base.py
81
82 insinto ${PLUGIN_DEST}/ipod
83 doins ipod/*
84 }
85
86 pkg_postinst() {
87 python_mod_compile ${PLUGIN_DEST}/ipod_base.py
88 python_mod_optimize ${PLUGIN_DEST}/ipod
89 }
90
91 pkg_postrm() {
92 python_mod_cleanup ${PLUGIN_DEST}
93 }