/[gentoo-x86]/media-video/arista/arista-0.9.7.ebuild
Gentoo

Contents of /media-video/arista/arista-0.9.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Feb 11 21:13:36 2013 UTC (7 years, 6 months ago) by pinkbyte
Branch: MAIN
Version bump, wrt bug #358461 - EAPI 5, port to distutils-r1 eclass, utilize l10n eclass

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)

1 pinkbyte 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/media-video/arista/arista-0.9.5.ebuild,v 1.9 2013/02/11 19:49:47 pinkbyte Exp $
4    
5     EAPI="5"
6    
7     PYTHON_COMPAT=( python2_{6,7} )
8     PYTHON_REQ_USE="xml"
9    
10     # hack for avoiding detecting 'templates' as a locale, next part of it - in src_prepare
11     PLOCALES_1="ar ast bg ca cs da de el en_GB es et eu fi fr gl hu ia id it ja jv kn lt nl pl pt pt_BR ro ru sk sl sr sv"
12     PLOCALES_2="th tr uk zh_CN zh_TW"
13     PLOCALES="${PLOCALES_1} ${PLOCALES_2}"
14    
15     inherit distutils-r1 l10n
16    
17     DESCRIPTION="An easy to use multimedia transcoder for the GNOME Desktop"
18     HOMEPAGE="http://www.transcoder.org"
19     SRC_URI="http://programmer-art.org/media/releases/arista-transcoder/${P}.tar.gz"
20    
21     LICENSE="LGPL-2.1"
22     SLOT="0"
23     KEYWORDS="~amd64 ~x86"
24     # Making these USE-defaults since encoding for portable devices is a very
25     # common use case for Arista. xvid is being added since it's required for
26     # DVD ripping. No gst-plugins-x264 available at this time.
27     IUSE="+faac kde nautilus +x264 +xvid"
28    
29     DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
30     RDEPEND=">=x11-libs/gtk+-2.16:2
31     >=dev-python/pygtk-2.16:2[${PYTHON_USEDEP}]
32     dev-python/pygobject:2[${PYTHON_USEDEP}]
33     dev-python/pycairo[${PYTHON_USEDEP}]
34     dev-python/gconf-python:2
35     dev-python/dbus-python[${PYTHON_USEDEP}]
36     dev-python/python-gudev
37     gnome-base/librsvg
38     >=media-libs/gstreamer-0.10.22:0.10
39     dev-python/gst-python:0.10[${PYTHON_USEDEP}]
40     media-libs/gst-plugins-base:0.10
41     media-libs/gst-plugins-good:0.10
42     media-libs/gst-plugins-bad:0.10
43     media-plugins/gst-plugins-meta:0.10
44     media-plugins/gst-plugins-ffmpeg:0.10
45     x11-themes/gnome-icon-theme
46     nautilus? ( dev-python/nautilus-python )
47     kde? ( dev-python/librsvg-python )
48     faac? ( media-plugins/gst-plugins-faac:0.10 )
49     x264? ( media-plugins/gst-plugins-x264:0.10 )
50     xvid? ( media-plugins/gst-plugins-xvid:0.10 )"
51    
52     PATCHES=( "${FILESDIR}/${P}-doc-install.patch" )
53    
54     src_prepare() {
55     # dirty hack for new locale detection
56     local PLOCALES="${PLOCALES_1} templates ${PLOCALES_2}"
57     l10n_find_plocales_changes "${S}/locale" "" ""
58    
59     distutils-r1_src_prepare
60     }
61    
62     src_install() {
63     remove_unused_locale() {
64     rm -r "${ED}/usr/share/locale/${1}" || die "can not remove unused locale '${1}'"
65     }
66    
67     distutils-r1_src_install
68    
69     l10n_for_each_disabled_locale_do remove_unused_locale
70     }
71    
72     pkg_postinst() {
73     einfo "If you find that a format you want is not supported in Arista,"
74     einfo "please make sure that you have the corresponding USE-flag enabled"
75     einfo "media-plugins/gst-plugins-meta"
76     }

  ViewVC Help
Powered by ViewVC 1.1.20