root/trunk/etc/mesk-0.2.0.ebuild

Revision 425, 1.2 kB (checked in by nicfit, 2 years ago)

Ebuild testing

Line 
1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header:$
4
5 inherit eutils distutils fdo-mime
6
7 DESCRIPTION="Mesk is a Gtk+ media player."
8 HOMEPAGE="http://mesk.nicfit.net/"
9 SRC_URI="http://mesk.nicfit.net/releases/${P}.tgz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE="alsa esd gnome mad"
15
16 # Runtime deps
17 RDEPEND=">=dev-lang/python-2.4
18         >=x11-libs/gtk+-2.8
19         >=dev-python/pygtk-2.8
20         =media-libs/gstreamer-0.10*
21         =dev-python/gst-python-0.10*
22         =media-plugins/gst-plugins-gnomevfs-0.10*
23         =media-libs/gst-plugins-good-0.10*
24         gnome-base/librsvg
25         mad? (=media-plugins/gst-plugins-mad-0.10*
26                 >=dev-python/eyeD3-0.6.10)
27         vorbis? (=media-plugins/gst-plugins-vorbis-0.10*
28                 =media-plugins/gst-plugins-ogg-0.10*
29                 >=dev-python/pyvorbis-1.4-r1)
30         alsa? (=media-plugins/gst-plugins-alsa-0.10*)
31         oss? (=media-plugins/gst-plugins-oss-0.10*)
32         esd? (=media-plugins/gst-plugins-esd-0.10*)
33         gnome? (=dev-python/gnome-python-2.12*)"
34 DEPEND="${RDEPEND}
35         dev-util/pkgconfig
36         dev-util/desktop-file-utils"
37
38 src_compile() {
39         econf || die
40         distutils_src_compile || die
41 }
42
43 src_install() {
44         make DESTDIR=${D} install || die
45 }
46
47 pkg_postinst() {
48         fdo-mime_mime_database_update
49         fdo-mime_desktop_database_update
50 }
Note: See TracBrowser for help on using the browser.