blob: 7acf357721b81d73af3089a15023ae1e6ce0365c (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit versionator vala gnome2-utils cmake-utils
DESCRIPTION="Animated OpenGL wallpaper"
HOMEPAGE="https://launchpad.net/livewallpaper"
SRC_URI="https://launchpad.net/livewallpaper/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
dev-libs/libpeas
media-libs/glew:*
media-libs/mesa
sys-libs/glibc
sys-power/upower
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
"
DEPEND="
${RDEPEND}
$(vala_depend)
media-gfx/xcftools
virtual/pkgconfig
"
src_prepare() {
sed "s,valac,valac-$(vala_best_api_version),g" -i cmake/FindVala.cmake || die
sed '/^add_subdirectory(debian)$/d' -i CMakeLists.txt || die
cmake-utils_src_prepare
eapply_user
}
pkg_preinst() {
gnome2_schemas_savelist
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}
|