blob: 461f3c7fefe379357ae4079326ea290036942eba (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2
DESCRIPTION="Simple sound recorder"
HOMEPAGE="https://wiki.gnome.org/Design/Apps/SoundRecorder"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="
dev-libs/gjs
>=dev-libs/glib-2.46:2
>=dev-libs/gobject-introspection-1.31.6
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3.12:3[introspection]
"
RDEPEND="${COMMON_DEPEND}
media-libs/gstreamer:1.0[introspection]
media-libs/gst-plugins-base:1.0[introspection,ogg]
media-libs/gst-plugins-bad:1.0
media-libs/gst-plugins-good:1.0
media-plugins/gst-plugins-flac:1.0
media-plugins/gst-plugins-pulse:1.0
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.26
virtual/pkgconfig
"
src_prepare() {
gnome2_src_prepare
# FIXME: upstream should provide a way to set GST_INSPECT, bug #358755 & co.
# gst-inspect causes sandbox violations when a plugin needs write access to
# /dev/dri/card* in its init phase.
sed -e "s|\(gst10_inspect=\).*|\1$(type -P true)|" \
-i configure || die
}
|