forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arista-0.9.5.ebuild
58 lines (50 loc) · 1.72 KB
/
arista-0.9.5.ebuild
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="3"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml"
inherit distutils
DESCRIPTION="An easy to use multimedia transcoder for the GNOME Desktop"
HOMEPAGE="http://www.transcoder.org"
SRC_URI="http://programmer-art.org/media/releases/arista-transcoder/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
# Making these USE-defaults since encoding for portable devices is a very
# common use case for Arista. xvid is being added since it's required for
# DVD ripping. No gst-plugins-x264 available at this time.
IUSE="+faac kde nautilus +x264 +xvid"
DEPEND="dev-python/setuptools"
RDEPEND=">=x11-libs/gtk+-2.16:2
|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
>=dev-python/pygtk-2.16:2
dev-python/pygobject:2
dev-python/pycairo
dev-python/gconf-python:2
dev-python/dbus-python
dev-python/python-gudev
gnome-base/librsvg
>=media-libs/gstreamer-0.10.22:0.10
dev-python/gst-python:0.10
media-libs/gst-plugins-base:0.10
media-libs/gst-plugins-good:0.10
media-libs/gst-plugins-bad:0.10
media-plugins/gst-plugins-meta:0.10
media-plugins/gst-plugins-ffmpeg:0.10
x11-themes/gnome-icon-theme
nautilus? ( dev-python/nautilus-python )
kde? ( dev-python/librsvg-python )
faac? ( media-plugins/gst-plugins-faac:0.10 )
x264? ( media-plugins/gst-plugins-x264:0.10 )
xvid? ( media-plugins/gst-plugins-xvid:0.10 )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
pkg_postinst() {
distutils_pkg_postinst
einfo "If you find that a format you want is not supported in Arista,"
einfo "please make sure that you have the corresponding USE-flag enabled"
einfo "media-plugins/gst-plugins-meta"
}