/[gentoo-x86]/media-video/miro/miro-5.0.1.ebuild
Gentoo

Contents of /media-video/miro/miro-5.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue May 7 01:54:26 2013 UTC (2 weeks, 2 days ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.0_alpha173/cvs/Linux i686, signed Manifest commit with key 23E9E900)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/miro/miro-5.0.1.ebuild,v 1.2 2012/06/17 01:52:39 jdhore Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2:2.7"
8 PYTHON_USE_WITH="sqlite"
9 inherit eutils fdo-mime gnome2-utils distutils
10
11 DESCRIPTION="Open source video player and podcast client"
12 HOMEPAGE="http://www.getmiro.com/"
13 SRC_URI="http://ftp.osuosl.org/pub/pculture.org/${PN}/src/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE="libnotify aac musepack xvid"
19
20 CDEPEND="
21 dev-libs/glib:2
22 >=dev-python/pyrex-0.9.6.4
23 dev-python/pygtk:2
24 dev-python/pygobject:2
25 >=virtual/ffmpeg-0.6.90"
26
27 RDEPEND="${CDEPEND}
28 dev-python/dbus-python
29 dev-python/pycairo
30 dev-python/gconf-python
31 dev-python/gst-python:0.10
32 dev-python/pyrex
33 >=dev-python/pywebkitgtk-1.1.5
34 dev-python/pycurl
35 >=net-libs/rb_libtorrent-0.14.1[python]
36 media-libs/mutagen
37 media-plugins/gst-plugins-meta:0.10
38 media-plugins/gst-plugins-pango:0.10
39 aac? ( media-plugins/gst-plugins-faad:0.10 )
40 libnotify? ( dev-python/notify-python )
41 musepack? ( media-plugins/gst-plugins-musepack:0.10 )
42 xvid? ( media-plugins/gst-plugins-xvid:0.10 )
43 net-dns/avahi[mdnsresponder-compat]"
44
45 DEPEND="${CDEPEND}"
46
47 # 2 unexpected failures, requires a running gconf which MAY not exist
48 # but failing tests not a regression from 4.0.6
49 RESTRICT="test"
50
51 S="${WORKDIR}/${P}/linux"
52
53 pkg_setup() {
54 python_set_active_version 2
55 python_pkg_setup
56 }
57
58 src_prepare() {
59 distutils_src_prepare
60 }
61
62 src_install() {
63 # doing the mv now otherwise, distutils_src_install will install it
64 mv README README.gtk || die "mv failed"
65
66 distutils_src_install
67
68 # installing docs
69 dodoc README.gtk ../{CREDITS,README} || die "dodoc failed"
70 }
71
72 pkg_preinst() {
73 gnome2_icon_savelist
74 }
75
76 pkg_postinst() {
77 distutils_pkg_postinst
78 fdo-mime_desktop_database_update
79 fdo-mime_mime_database_update
80 gnome2_icon_cache_update
81
82 ewarn
83 ewarn "If miro doesn't play some video or audio format, please"
84 ewarn "check your USE flags on media-plugins/gst-plugins-meta"
85 ewarn
86 elog "Miro for Linux doesn't support Adobe Flash, therefore you"
87 elog "you will not see any embedded video player on MiroGuide."
88 elog
89 }
90
91 pkg_postrm() {
92 distutils_pkg_postrm
93 fdo-mime_desktop_database_update
94 fdo-mime_mime_database_update
95 gnome2_icon_cache_update
96 }

  ViewVC Help
Powered by ViewVC 1.1.13