summaryrefslogtreecommitdiff
blob: 2507d458e78e758e0d714d07cfd80dc0b7f3d0ed (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/sinek/sinek-0.7.ebuild,v 1.7 2003/02/13 13:34:44 vapier Exp $

IUSE="nls guile gnome"

S="${WORKDIR}/${P}"
DESCRIPTION="GTK interface for xine"
HOMEPAGE="http://sinek.sourceforge.net"
SRC_URI="mirror://sourceforge/sinek/${P}.tar.gz"

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

DEPEND=">=media-libs/xine-lib-0.9.12
	>=x11-libs/gtk+-2.0
	>=dev-libs/glib-2.0
	guile? ( dev-util/guile )"

RDEPEND="nls? ( sys-devel/gettext )"

src_compile(){
	local myconf
	
	use nls || myconf="${myconf} --disable-nls"
	use guile || myconf="${myconf} --disable-guile"
	
	econf ${myconf} || die
	emake || die
}

src_install(){
	einstall || die

	dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
	
	use gnome && ( \
		insinto /usr/share/pixmaps
		doins pixmaps/${PN}.xpm
		insinto /usr/share/gnome/apps/Multimedia
		doins ${PN}.desktop
	)
}