/[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.3 - (hide annotations) (download)
Thu Dec 25 19:48:21 2014 UTC (5 years, 7 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -4 lines
Add missing PYTHON_USEDEP.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 pacho 1.2 # Copyright 1999-2014 Gentoo Foundation
2 pinkbyte 1.1 # Distributed under the terms of the GNU General Public License v2
3 mgorny 1.3 # $Header: /var/cvsroot/gentoo-x86/media-video/arista/arista-0.9.7.ebuild,v 1.2 2014/04/26 08:25:40 pacho Exp $
4 pinkbyte 1.1
5     EAPI="5"
6    
7 pacho 1.2 PYTHON_COMPAT=( python2_7 )
8 pinkbyte 1.1 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 mgorny 1.3 dev-python/python-gudev[${PYTHON_USEDEP}]
37 pinkbyte 1.1 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 mgorny 1.3 nautilus? ( dev-python/nautilus-python[${PYTHON_USEDEP}] )
47     kde? ( dev-python/librsvg-python[${PYTHON_USEDEP}] )
48 pinkbyte 1.1 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