summaryrefslogtreecommitdiff
blob: 4282256825d39d5e86f4b2e3ad2257e3c283a220 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31-r1.ebuild,v 1.3 2014/07/22 10:49:47 ago Exp $

EAPI="5"

GST_ORG_MODULE=gst-plugins-good
inherit gnome2-utils gstreamer

DESCRIPTION="GStreamer plugin for wrapping GConf audio/video settings"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""

RDEPEND=">=gnome-base/gconf-2.32.4-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

GST_PLUGINS_BUILD="gconf gconftool"

multilib_src_configure() {
	gstreamer_multilib_src_configure \
		--disable-schemas-install
}

multilib_src_compile() {
	gstreamer_multilib_src_compile

	if multilib_is_native_abi; then
		emake -C gconf
	fi
}

multilib_src_install() {
	gstreamer_multilib_src_install

	if multilib_is_native_abi; then
		emake -C gconf DESTDIR="${D}" install
	fi
}

pkg_preinst() {
	gnome2_gconf_savelist
}

pkg_postinst() {
	gnome2_gconf_install
}