summaryrefslogtreecommitdiff
blob: e5715df063e2d4aaab242ffa4c9dfd6e5e7002e1 (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
54
55
56
57
58
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.4.0-r1.ebuild,v 1.1 2002/12/04 19:45:44 azarah Exp $

inherit eutils gnome2

S="${WORKDIR}/${P}"
DESCRIPTION="RhythmBox - an iTunes clone for GNOME"
SRC_URI="http://www.rhythmbox.org/download/${P}.tar.gz"
HOMEPAGE="http://www.rhythmbox.org/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

RDEPEND=">=x11-libs/gtk+-2.0.0
	=gnome-base/libgnomeui-2.0*
	=gnome-base/libglade-2.0*
	=gnome-base/gnome-panel-2.0*	
	=gnome-base/gnome-vfs-2.0*
	=gnome-base/libbonobo-2.0*
	=gnome-base/bonobo-activation-1.0*
	=gnome-base/libgnomecanvas-2.0*
	>=media-libs/monkey-media-0.6.0
	>=gnome-base/gconf-1.2.1
	>=gnome-base/ORBit2-2.4.1
	>=sys-devel/gettext-0.11.1
	>=media-libs/gst-plugins-0.4.2"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0
	dev-util/intltool"

src_unpack() {

	unpack ${A}

	# Fix crash if LANG not set .. bug #10946.
	cd ${S}; epatch ${FILESDIR}/${P}-locale-crash.patch
}

src_install () {

	# this is a fix to disable scrollkeeper-update from running in 
	# "make install" since that breaks sandbox. 
	cd help/C
	cat Makefile | sed s/"install-data-hook: install-data-hook-omf"/"install-data-hook:"/g >Makefile.new
	mv Makefile.new Makefile
	cd ../..
	gnome2_src_install 
	
}

LIBTOOL_FIX="1"

DOC="AUTHORS COPYING ChangeLog  INSTALL INSTALL.GNU HACKING NEWS README THANKS TODO"
SCHEMA="rhythmbox.schemas"