blob: 9f5e735f79aca06a36ac827f542bbdef25403b15 (
plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/soundconverter/soundconverter-2.0.4.ebuild,v 1.2 2013/02/21 20:16:34 nimiux Exp $
EAPI=4
GCONF_DEBUG=no
PYTHON_DEPEND="2:2.7"
inherit gnome2 multilib python
DESCRIPTION="A simple audiofile converter application for the GNOME environment"
HOMEPAGE="http://soundconverter.org/"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="aac flac mp3 opus vorbis"
RDEPEND="dev-python/gconf-python
dev-python/gnome-vfs-python
=dev-python/gst-python-0.10*
dev-python/pygobject:2
>=dev-python/pygtk-2.12
dev-python/libgnome-python
gnome-base/libglade
aac? (
=media-plugins/gst-plugins-faac-0.10*
=media-plugins/gst-plugins-faad-0.10*
)
flac? ( =media-plugins/gst-plugins-flac-0.10* )
mp3? (
=media-plugins/gst-plugins-lame-0.10*
=media-plugins/gst-plugins-mad-0.10*
=media-plugins/gst-plugins-taglib-0.10*
)
vorbis? (
=media-plugins/gst-plugins-ogg-0.10*
=media-plugins/gst-plugins-vorbis-0.10*
)
opus? (
=media-plugins/gst-plugins-opus-0.10*
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext"
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README TODO"
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
>py-compile
python_convert_shebangs -r 2 .
gnome2_src_prepare
}
pkg_postinst() {
python_mod_optimize /usr/$(get_libdir)/${PN}
gnome2_pkg_postinst
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/${PN}
gnome2_pkg_postrm
}
|