summaryrefslogtreecommitdiff
blob: 599ede75005e3c008b5db6c143ed9551ebbc0c38 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils git-2 autotools gnome2-utils

DESCRIPTION="A live ebuild for the maynard compositor developed for raspberry pi"

HOMEPAGE="https://github.com/raspberrypi/maynard"

SRC_URI=""

LICENSE="GPL"

SLOT="0"

KEYWORDS="~amd64"

IUSE=""

RESTRICT="nomirror"

DEPEND=">=dev-libs/wayland-1.0.2
		>=dev-libs/weston-1.3.0
		>=x11-libs/gtk+-3.10[wayland]
		>=gnome-base/gnome-menus-3.0
		>=gnome-base/gnome-desktop-3.0
		media-libs/alsa"

RDEPEND="${DEPEND}"

EGIT_REPO_URI="https://github.com/raspberrypi/maynard.git"

#S=${WORKDIR}/${P}

src_prepare() {
	default
	cd $S
	eautoreconf
}

src_install() {
	default
	prune_libtool_files --modules

	# The maynard script is useless and doesn't add anything (and fails because it
	# is development based)
	rm -r ${D}/usr/bin
}

pkg_preinst() {
	gnome2_schemas_savelist
}

pkg_postinst() {
	gnome2_schemas_update
}