blob: a65cf4da164ebf76686aa33aa1fdfe59ffacc307 (
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: /var/cvsroot/gentoo-x86/dev-libs/granite/granite-0.2.3.1.ebuild,v 1.2 2014/05/03 14:11:22 maekke Exp $
EAPI=5
VALA_MIN_API_VERSION=0.16
inherit cmake-utils gnome2-utils multilib vala versionator
DESCRIPTION="A development library for elementary development"
HOMEPAGE="http://launchpad.net/granite"
SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tgz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2.32
dev-libs/gobject-introspection
dev-libs/libgee:0[introspection]
>=x11-libs/gtk+-3.3.14:3"
DEPEND="${RDEPEND}
$(vala_depend)
sys-devel/gettext
virtual/pkgconfig"
DOCS=( AUTHORS )
src_prepare() {
vala_src_prepare
sed -i -e "/NAMES/s:valac:${VALAC}:" cmake/FindVala.cmake || die
cmake-utils_src_prepare
}
src_configure() {
mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake-utils_src_configure
}
src_install() {
HTML_DOCS=( doc/. )
cmake-utils_src_install
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|