blob: 5d5c17abe0f92f684d5d034806a5ba132bfde85e (
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
46
47
48
49
50
51
52
53
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ipodder/ipodder-2.0_rc4.ebuild,v 1.2 2006/01/15 00:13:51 nichoj Exp $
inherit eutils
MY_PV="${PV/_/-}"
MY_PN="${PN/ipodder/iPodder-linux}"
MY_P="${MY_PN}-${MY_PV}"
S="${WORKDIR}/${MY_PN}"
DESCRIPTION="A cross-platform Podcast receiver"
HOMEPAGE="http://ipodder.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE=""
DEPEND=">=dev-lang/python-2.3.0
>=dev-python/wxpython-2.6
>=dev-python/pyxmms-2.02
>=sys-libs/db-4.2.52_p2"
useflag_test() {
built_with_use ${1} ${2} || die \
"${1} must be emerged with the '${2}' USE flag enabled."
}
pkg_setup() {
useflag_test x11-libs/wxGTK unicode
useflag_test dev-python/wxpython unicode
useflag_test dev-lang/python berkdb
}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PV}-wx26-selector.patch
}
src_install() {
insinto /opt/iPodder
doins -r *
# Fix perms
fperms 644 /opt/iPodder/ipodder/players.py
newbin ${S}/ipodder.sh ipodder
insinto /usr/share/pixmaps
doins ${S}/iPodder.png
make_desktop_entry "ipodder" "iPodder" \
"iPodder.png" "AudioVideo;Player"
}
|