blob: a5bc3a230ba49edb56b867ed3a759c37f4b66938 (
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
59
60
61
62
63
64
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/xfmedia/xfmedia-0.9.2-r2.ebuild,v 1.3 2008/05/11 15:49:37 drac Exp $
inherit eutils fdo-mime gnome2-utils
DESCRIPTION="a GTK+ based xine-lib frontend designed to be used with Xfce4 desktop enviroment"
HOMEPAGE="http://spuriousinterrupt.org/projects/xfmedia"
SRC_URI="http://spuriousinterrupt.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
# do not mark stable, see postinst message.
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="dbus debug startup-notification taglib"
RDEPEND="x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXext
x11-libs/libXtst
>=dev-libs/glib-2.6
>=x11-libs/gtk+-2.6
>=xfce-base/libxfce4util-4.2
>=xfce-base/libxfcegui4-4.2
media-libs/xine-lib
xfce-extra/exo
startup-notification? ( x11-libs/startup-notification )
dbus? ( dev-libs/dbus-glib )
taglib? ( media-libs/taglib )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool"
src_unpack() {
unpack ${A}
cd "${S}"
EPATCH_SUFFIX="patch" epatch "${FILESDIR}"/${PV}
}
src_compile() {
econf --disable-dependency-tracking $(use_with taglib) \
$(use_enable dbus) $(use_enable debug) \
$(use_enable startup-notification)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README* TODO
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
elog "${PN} is known to crash when playing video files, please report"
elog "bugs directly to http://bugs.xfce.org, under ${PN} product."
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}
|