summaryrefslogtreecommitdiff
blob: 5228fbc5bb4dbbb84acd40077937a4fd675f4b25 (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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4
inherit gnome2-utils

DESCRIPTION="A unified sound menu"
HOMEPAGE="https://launchpad.net/indicator-sound"
SRC_URI="http://launchpad.net/${PN}/12.10/${PV}/+download/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-libs/glib-2.26:2
	>=dev-libs/libdbusmenu-0.5.90:3[gtk]
	dev-libs/libgee
	dev-libs/libindicator:3
	dev-libs/libxml2:2
	media-sound/pulseaudio[glib]
	x11-libs/gtk+:3
	x11-libs/libido
	>=x11-libs/libnotify-0.7"
DEPEND="${RDEPEND}
	dev-lang/vala:0.14
	virtual/pkgconfig"

DOCS=( AUTHORS NEWS )

src_configure() {
	VALAC=$(type -p valac-0.14) \
		econf \
		--disable-static \
		--disable-schemas-compile
}

src_install() {
	default
	find "${ED}" -name "*.la" -exec rm -rf {} +
}

pkg_preinst() { gnome2_schemas_savelist; }
pkg_postinst() { gnome2_schemas_update; }
pkg_postrm() { gnome2_schemas_update; }